What’s Vulnerable › Vulnerabilities
CVE-2026-49134: CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-01 · updated 2026-07-22
- Weakness: CWE-377
Description
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 exploiting a race condition in temporary file handling. The installer creates a temporary file with mktemp, writes a privileged shell payload into it, and executes it with administrator privileges via bash, allowing a same-user local process to rewrite the installer body before the administrator prompt is approved, causing attacker-controlled commands to run as root.
Affected products
- steipete CodexBar: before 0.32.0 — fixed in 0.32.0
How to fix
Upgrade to a fixed version: steipete CodexBar 0.32.0. Check the vendor advisory for mitigations.
References
- 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
- https://github.com/steipete/CodexBar/pull/1222
Get alerted when CVE-2026-49134 or the next vulnerability affects your stack