cve.bz

CVE-2026-121549 jarun nnn: Insecure Temporary File

4.1 mediumEPSS 0.1%

Medium (4.1) in jarun nnn. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

4.1 medium
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

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS
0.1% (unchanged from 0.1% a week ago) estimated probability of exploitation activity in the next 30 days; 1st percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-11-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-377 Insecure Temporary File deprecated by MITRE
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-121549 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-121549?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-121549?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-121549 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jarun nnnthrough 5.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14nnnno fix listedDEBIAN-CVE-2026-121549
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 morennnno fix listedUBUNTU-CVE-2026-121549

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

An insecure temporary file vulnerability was found in nnn's pdfread and nuke plugins, which create temporary files at predictable name- or PID-derived paths in shared directories such as /tmp. A local attacker who can pre-create a symbolic link at such a path can cause the victim's plugin run to truncate and overwrite any file the victim can write. nnn through 5.3 is affected; the fix (upstream commits 0471592/bb2e85e) is not yet in a tagged release.

Red Hat's mitigation

Update to a tagged nnn release containing the fix once available. Until then, avoid the pdfread and nuke plugins, or run nnn with TMPDIR set to a private directory (e.g., via mktemp -d) so the predictable paths cannot be pre-created by other local users.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-121549.

Attack patterns (CAPEC)

  • CAPEC-149 Explore for Predictable Temporary File Names Severity: Medium
  • CAPEC-155 Screen Temporary Files for Sensitive Information Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON