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 path variable. (CVE-2026-65611)

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 path variable, allowing an attacker to craft directory names containing shell syntax that can be executed during batch copy or move operations. This vulnerability was confirmed in version 5.2. The flaw enables command injection with the privileges of the nnn process when a user enters a malicious directory and uses batch workflows.

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

Affected software

GitHub Actionsmore threats →ai
jarun/nnn
pkg:github/jarun/nnn
Affected versions
=5.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

nnn suffers from a command injection vulnerability (CWE-78) due to improper sanitization of the path variable. An attacker can create a directory with a name containing a single quote followed by shell commands on a shared filesystem, removable media, or extracted archive. When a victim navigates into this directory and performs batch copy or move operations, the crafted directory name is embedded into a shell command, leading to execution of the injected payload with the privileges of the nnn process. The vulnerability was confirmed in version 5.2, but no specific affected version range or patch information is provided by the maintainer.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary shell commands with the privileges of the nnn process, potentially leading to unauthorized actions on the victim's system. The vulnerability requires user interaction (UI:A) and local access to the filesystem where the malicious directory is created. There is no evidence of known exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid entering directories with suspicious names containing shell syntax when using batch copy or move workflows in nnn. Exercise caution when accessing directories from shared filesystems, removable media, or extracted archives.

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-p5rm-3fq7-7mvj
Osv Schema Version
1.4.0
Aliases
["CVE-2026-65611"]
Ecosystems
[]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a85ee22acd9273b4969a4b1

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

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

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

Views: 2

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