#1153547 nnn: CVE-2026-121548 CVE-2026-121550 CVE-2026-121549

Package:
src:nnn
Source:
src:nnn
Submitter:
Salvatore Bonaccorso
Date:
2026-11-16 17:37:05 UTC
Severity:
normal
Tags:
#1153547#5
Date:
2026-11-09 19:29:44 UTC
From:
To:
Hi,

The following vulnerabilities were published for nnn.

CVE-2026-121548[0]:
| Jarun nnn through 5.3 contains an OS command injection vulnerability
| in plugins/togglex that allows attackers to execute commands via
| crafted filenames. Attackers can place files whose names contain a
| double quote and shell syntax, which xargs -I splices into an sh -c
| script, running commands as the user invoking togglex.


CVE-2026-121550[1]:
| nnn through 5.3 contains an insecure file handling vulnerability
| that allows local attackers to redirect writes because main()
| accepts an existing NNN_FIFO path without verifying it is a FIFO.
| Attackers can pre-create the documented predictable /tmp/nnn.fifo
| path as a symlink or readable regular file, causing victim-writable
| files to be overwritten or leaking the victim's browsed paths.


CVE-2026-121549[2]:
| 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.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-121548
https://www.cve.org/CVERecord?id=CVE-2026-121548
[1] https://security-tracker.debian.org/tracker/CVE-2026-121550
https://www.cve.org/CVERecord?id=CVE-2026-121550
[2] https://security-tracker.debian.org/tracker/CVE-2026-121549
https://www.cve.org/CVERecord?id=CVE-2026-121549
[3] https://github.com/jarun/nnn/commit/04715921aece0257fef7a8558c0783493d98efff
[4] https://github.com/jarun/nnn/issues/2188

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore