Vulnerability in Steipete Codexbar
CVE-2026-49134
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 19.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Steipete Codexbar — versions 0
Weakness classification (CWE)
References
- CodexBar 0.32.0 Release Notes (release-notes)
- github.com/steipete/CodexBar/pull/1222 (issue-tracking, patch)
- github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8 (patch)
- www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-te… (third-party-advisory)