# CVE-2026-49134: CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File

- Severity: High 7.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-01T18:53:18.675Z
- Modified: 2026-11-08T14:04:45.440Z
- Weaknesses: CWE-377
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- steipete CodexBar: before 0.32.0

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/steipete/CodexBar/pull/1222> (exploit, issue-tracking, patch)
- <https://github.com/steipete/CodexBar/releases/tag/v0.32.0> (release-notes)
- <https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8> (patch)
- <https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-49134](https://www.cve.org/CVERecord?id=CVE-2026-49134), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-49134](https://nvd.nist.gov/vuln/detail/CVE-2026-49134), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-49134 · Whole record: https://cve.day/CVE-2026-49134.json · Rebuilt by cve.day 2026-11-25T22:59:23.493Z
