{"id":"CVE-2026-49134","aliases":["CVE-2026-49134"],"related":[],"kind":"vulnerability","state":"published","title":"CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-01T18:53:18.675Z","modified":"2026-11-08T14:04:45.440Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-377"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.32.0","status":"affected"}],"vendor":"steipete","product":"CodexBar","repo":"https://github.com/steipete/CodexBar","source":"cvelist"}],"references":[{"url":"https://github.com/steipete/CodexBar/releases/tag/v0.32.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/steipete/CodexBar/pull/1222","tags":["exploit","issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Chia Min Jun Lennon"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-06-02T12:38:47.403Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49134","url":"https://www.cve.org/CVERecord?id=CVE-2026-49134","licence":"CVE Terms of Use","modified":"2026-11-08T14:04:45.440Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49134","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49134","licence":"Public domain","modified":"2026-07-22T08:10:00.117Z"}],"updatedAt":"2026-11-25T22:59:23.493Z","epss":{"score":0.0027,"percentile":0.20494,"date":"2026-12-01T12:00:22.000Z"}}