Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

nnn does not sanitize the filename variable. (CVE-2026-65612)

0
Medium
Published: 08/19/2026 (08/19/2026, 15:32:26 UTC)
Source: GCVE Database

Description

The nnn file manager does not sanitize the filename variable, allowing an attacker to craft filenames containing shell syntax that can lead to command injection when previewing files. This vulnerability was confirmed in version 5.2. The attacker can place a maliciously named file on a shared filesystem, removable media, or inside an extracted archive. When a victim opens such a file with the preview-tabbed feature, the injected shell commands execute with the privileges of the nnn process. No official patch or vulnerable version range has been provided by the maintainer.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
Low
Scope
X
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 18:10:01 UTC

Technical Analysis

CVE-2026-65612 describes a command injection vulnerability in the nnn file manager due to improper sanitization of the filename variable. An attacker can craft a filename containing a single quote followed by shell syntax and place it on a shared filesystem, removable media, or inside an archive. When the victim previews this file using the preview-tabbed feature, the filename is embedded unsafely into a shell command, resulting in execution of arbitrary commands with the privileges of the nnn process. The vulnerability was confirmed in version 5.2, but no further version range or patch information is available from the maintainer.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary shell commands with the privileges of the nnn process when a victim previews a maliciously named file. This can lead to unauthorized command execution and potential system compromise depending on the privileges of the nnn process. There is no indication of known exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid opening or previewing files from untrusted sources using the preview-tabbed feature in nnn, especially files from shared filesystems, removable media, or extracted archives with suspicious filenames.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-mxcx-xvcg-f843
Osv Schema Version
1.4.0
Aliases
["CVE-2026-65612"]
Ecosystems
[]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a85ee22acd9273b4969a4b3

Added to database: 08/19/2026, 17:55:46 UTC

Last enriched: 08/19/2026, 18:10:01 UTC

Last updated: 08/19/2026, 18:52:00 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses