7.5high
CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File
- Severity
- 7.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| steipete CodexBar | before 0.32.0 | CVE List |
All scores
| VulnCheck | 7.5high CVSS:4.0 | 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 | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
CodexBar anterior a la versión 0.32.0 contiene una vulnerabilidad de escalada de privilegios en el instalador de CLI que permite a atacantes locales ejecutar comandos arbitrarios como root explotando una condición de carrera en el manejo de archivos temporales. El instalador crea un archivo temporal con mktemp, escribe una carga útil de shell privilegiada en él y lo ejecuta con privilegios de administrador a través de bash, permitiendo que un proceso local del mismo usuario reescriba el cuerpo del instalador antes de que se apruebe la solicitud del administrador, lo que provoca que los comandos controlados por el atacante se ejecuten como root.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49134 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-49134 changed 2026-07-22 | Public domain |