{"id":"CVE-2026-49134","state":"PUBLISHED","title":"CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File","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.","publishedAt":"2026-06-01T18:53:18.675Z","updatedAt":"2026-07-14T21:33:17.899Z","severity":{"score":7.5,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["steipete CodexBar"],"affected":[{"vendor":"steipete","product":"CodexBar","packageURL":"pkg:github/steipete/CodexBar","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"0.32.0","versionType":"semver"}],"repo":"https://github.com/steipete/CodexBar"}],"references":["https://github.com/steipete/CodexBar/releases/tag/v0.32.0","https://github.com/steipete/CodexBar/pull/1222","https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8","https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file"],"weaknesses":["CWE-377"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49134.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49134","state":"PUBLISHED","datePublished":"2026-06-01T18:53:18.675Z","dateUpdated":"2026-07-14T21:33:17.899Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-05-27T17:40:12.738Z"},"containers":{"cna":{"title":"CodexBar < 0.32.0 Privilege Escalation via CLI Installer Temp File","descriptions":[{"lang":"en","value":"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":[{"vendor":"steipete","product":"CodexBar","packageURL":"pkg:github/steipete/CodexBar","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"0.32.0","versionType":"semver"}],"repo":"https://github.com/steipete/CodexBar"}],"references":[{"url":"https://github.com/steipete/CodexBar/releases/tag/v0.32.0","tags":["release-notes"]},{"url":"https://github.com/steipete/CodexBar/pull/1222","tags":["issue-tracking"]},{"url":"https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.5,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-377","lang":"en","description":"Insecure Temporary File","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T21:33:17.899Z"},"tags":["x_open-source"],"datePublic":"2026-05-30T00:00:00.000Z","credits":[{"lang":"en","value":"Chia Min Jun Lennon","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/steipete/CodexBar/pull/1222","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-02T12:38:47.403866Z","id":"CVE-2026-49134","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-02T12:39:10.759Z"}}]}}}