


Perceptive Security
SOC/SIEM Consultancy

CodexBar prior to 0.32.0 contains a privilege escalation vulnerability in the CLI installer that allows local attackers to execute arbitrary commands as root by…
Published:
31 May 2026 at 22:00:00
Alert date:
1 June 2026 at 22:04:03
Source:
nvd.nist.gov
Operating Systems, Security Tools
CVE-2026-49134 affects CodexBar versions prior to 0.32.0, containing a privilege escalation vulnerability in the CLI installer. The vulnerability allows local attackers to execute arbitrary commands as root by exploiting a race condition in temporary file handling. The installer creates a temporary file with mktemp, writes a privileged shell payload, and executes it with administrator privileges via bash. A local process can rewrite the installer body before the administrator prompt is approved, causing attacker-controlled commands to run as root. This represents a significant security risk for systems with CodexBar installed.
Technical details
Mitigation steps:
Affected products:
CodexBar
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-49134
https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8
https://github.com/steipete/CodexBar/pull/1222
https://github.com/steipete/CodexBar/releases/tag/v0.32.0
https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
