{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "5.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "04715921aece0257fef7a8558c0783493d98efff"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "04715921aece0257fef7a8558c0783493d98efff"
            }
          ],
          "repo": "https://github.com/jarun/nnn",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-377"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121549.json"
  },
  "details": "nnn through 5.3 contains an insecure temporary file vulnerability in the pdfread and nuke plugins that allows local attackers to overwrite files by exploiting predictable paths in /tmp. Attackers can pre-create a symlink at the name-derived or PID-derived path so the victim's plugin truncates and overwrites any file the victim can write.",
  "id": "CVE-2026-121549",
  "modified": "2026-11-08T02:30:53.038065921Z",
  "published": "2026-11-03T15:17:08.749Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121549.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121549"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/nnn-through-5.3-insecure-temporary-file-symlink-overwrite-via-pdfread-and-nuke-plugins"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/jarun/nnn/issues/2188"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/jarun/nnn"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/jarun/nnn/blob/v5.3/plugins/nuke#L280"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/jarun/nnn/blob/v5.3/plugins/pdfread#L9-L10"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "nnn through 5.3 Insecure Temporary File Symlink Overwrite via pdfread and nuke Plugins"
}