{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "7ddd1b2715c3844275214347a3572ac1fdd6dc39"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7ddd1b2715c3844275214347a3572ac1fdd6dc39"
            }
          ],
          "repo": "https://github.com/romkatv/powerlevel10k",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122136.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "1.20.19"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "10k"
              },
              {
                "fixed": "1.20.19"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "Powerlevel10k before 1.20.19 contains a symlink following vulnerability in _p9k_dump_instant_prompt that allows local attackers to overwrite victim-writable files via a predictable temporary path. Attackers can pre-plant symlinks at p10k-instant-prompt-output-\u003cuser\u003e-\u003cpid\u003e in TMPDIR, guessing the victim's shell PID, so shell startup truncates and overwrites targeted files.",
  "id": "CVE-2026-122136",
  "modified": "2026-11-11T02:31:10.995468936Z",
  "published": "2026-11-04T20:36:54.467Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122136.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122136"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/powerlevel10k-before-1.20.19-symlink-following-via-instant-prompt-temporary-file"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/romkatv/powerlevel10k/issues/2972"
    },
    {
      "type": "FIX",
      "url": "https://github.com/romkatv/powerlevel10k/commit/7ddd1b2715c3844275214347a3572ac1fdd6dc39"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/romkatv/powerlevel10k"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/romkatv/powerlevel10k/blob/v1.20.0/internal/p10k.zsh#L6445-L6452"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Powerlevel10k before 1.20.19 Symlink Following via Instant Prompt Temporary File"
}