CVEvulnerability
CVE-2026-49134
7.5 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2026-06-01
- Last modified
- 2026-07-22
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 7.5 HIGH — CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- 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.
Related
Weakness · not in database (1)
References
- https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8 github.com
- https://github.com/steipete/CodexBar/pull/1222 github.com
- https://github.com/steipete/CodexBar/releases/tag/v0.32.0 github.com
- https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file www.vulncheck.com
- https://github.com/steipete/CodexBar/pull/1222 github.com