CVE-2026-121549
4.1medium
nnn through 5.3 Insecure Temporary File Symlink Overwrite via pdfread and nuke Plugins
- Severity
- 4.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jarun nnn | up to 5.3 | CVE List |
All scores
| VulnCheck | 4.1medium CVSS:4.0 | 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 |
| VulnCheck | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://github.com/jarun/nnn/issues/2188 | exploit, issue-tracking | |
| https://github.com/jarun/nnn | product | |
| https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff | patch | |
| https://github.com/jarun/nnn/blob/v5.3/plugins/pdfread#L9-L10 | technical-description | |
| https://github.com/jarun/nnn/blob/v5.3/plugins/nuke#L280 | technical-description | |
| https://www.vulncheck.com/advisories/nnn-through-5.3-insecure-temporary-file-symlink-overwrite-via-pdfread-and-nuke-plugins | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-121549 changed 2026-11-07 | CVE Terms of Use |
| NVD | CVE-2026-121549 changed 2026-11-07 | Public domain |