CVE-2026-49134
7.1 HIGHCodexBar prior to 0.32.0 contains a privilege escalation vulnerability in the CLI installer that allows local attackers to execute arbitr...
Published: 2026-06-01 · Last updated: 2026-06-02
Severity and scoring
- CVSS
- 7.1 HIGH
- Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- CWE
- 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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-49134
- [Other]https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8
- [Other]https://github.com/steipete/CodexBar/pull/1222
- [Other]https://github.com/steipete/CodexBar/releases/tag/v0.32.0
- [Other]https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file
- [Other]https://github.com/steipete/CodexBar/pull/1222
Related CVEs
Same CWE
- CVE-2026-41001 — Spring Boot's ArtemisEmbeddedConfigurationFactory uses a fixed, static path for the embedded Artemis message broker's data directory when... (5.3 MEDIUM)
- CVE-2026-45384 — bit7z is a cross-platform C++ static library that allows the compression/extraction of archive files (6.1 MEDIUM)
- CVE-2026-49135 — CodexBar prior to 0.32.0 contains an insecure temporary file handling vulnerability that allows local attackers to access sensitive crede... (7.1 HIGH)