{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.32.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dbc944d46cd4cf7877d1ca47c44556fe573b46e8"
            },
            {
              "fixed": "1351961f4d6a286df8dc26cb6e021ab40e7b552d"
            }
          ],
          "repo": "https://github.com/steipete/codexbar",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-377"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49134.json"
  },
  "details": "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.",
  "id": "CVE-2026-49134",
  "modified": "2026-07-15T01:49:21.499350661Z",
  "published": "2026-06-01T18:53:18.675Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49134.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/steipete/CodexBar/releases/tag/v0.32.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49134"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/codexbar-privilege-escalation-via-cli-installer-temp-file"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/steipete/CodexBar/pull/1222"
    },
    {
      "type": "FIX",
      "url": "https://github.com/steipete/CodexBar/commit/dbc944d46cd4cf7877d1ca47c44556fe573b46e8"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/steipete/CodexBar"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CodexBar \u003c 0.32.0 Privilege Escalation via CLI Installer Temp File"
}