{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.5.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "5433ecbb9a572d6c92be9feb33642395fccc782b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5433ecbb9a572d6c92be9feb33642395fccc782b"
            }
          ],
          "repo": "https://github.com/romkatv/gitstatus",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "98bd39fd335e3f9f560e48e5c1957cb2a6a212c4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "98bd39fd335e3f9f560e48e5c1957cb2a6a212c4"
            }
          ],
          "repo": "https://github.com/romkatv/powerlevel10k",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-377"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122137.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "1.20.19"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      }
    ]
  },
  "details": "Powerlevel10k before 1.20.19 contains an insecure temporary directory vulnerability in the bundled gitstatus/install script that reuses attacker-creatable directories when mktemp fails. Local attackers can pre-create the predictable gitstatus-install.tmp directory to replace the extracted gitstatusd binary, which then executes with the victim's privileges.",
  "id": "CVE-2026-122137",
  "modified": "2026-11-14T02:30:52.633974537Z",
  "published": "2026-11-04T20:36:55.143Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122137.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122137"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-insecure-temporary-directory-via-gitstatus-installer"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/romkatv/powerlevel10k/issues/2972"
    },
    {
      "type": "FIX",
      "url": "https://github.com/romkatv/gitstatus/commit/5433ecbb9a572d6c92be9feb33642395fccc782b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/romkatv/powerlevel10k/commit/98bd39fd335e3f9f560e48e5c1957cb2a6a212c4"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/romkatv/gitstatus"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/romkatv/powerlevel10k"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/romkatv/powerlevel10k/blob/v1.20.0/gitstatus/install#L255-L256"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer"
}