{"id":"CVE-2026-49134","summary":"CodexBar \u003c 0.32.0 Privilege Escalation via CLI Installer Temp File","details":"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.","modified":"2026-07-16T03:30:52.452857289Z","published":"2026-06-01T18:53:18.675Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49134.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-377"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49134.json"},{"type":"ADVISORY","url":"https://github.com/steipete/CodexBar/releases/tag/v0.32.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49134"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file"},{"type":"REPORT","url":"https://github.com/steipete/CodexBar/pull/1222"},{"type":"FIX","url":"https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8"},{"type":"PACKAGE","url":"https://github.com/steipete/CodexBar"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/steipete/codexbar","events":[{"introduced":"0"},{"fixed":"dbc944d46cd4cf7877d1ca47c44556fe573b46e8"},{"fixed":"1351961f4d6a286df8dc26cb6e021ab40e7b552d"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.32.0"}]}}],"versions":["v0.31.0","v0.30.1","v0.30.0","v0.29.1","v0.29.0","v0.28.0","v0.27.0","v0.26.1","v0.26.0","v0.25.1","v0.25","v0.24","v0.23","v0.22","v0.21","v0.20","v0.20.0-beta.1","v0.19.0","v0.18.0","v0.18.0-beta.3","v0.18.0-beta.2","v0.18.0-beta.1","v0.17.0","v0.16.1","v0.16.0","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.2","v0.11.1","v0.11.0","v0.10.0","v0.9.1","v0.9.0","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.1","v0.6.0","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.2","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49134.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}