Bug 2521952 - CVE-2026-65611 nnn: nnn: Arbitrary Code Execution via Shell Command Injection in Batch Operations [epel-all]
Summary: CVE-2026-65611 nnn: nnn: Arbitrary Code Execution via Shell Command Injection...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nnn
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["1d762fa8-13e5-480b-a050-9...
Depends On:
Blocks: CVE-2026-65611
TreeView+ depends on / blocked
 
Reported: 2026-08-24 14:07 UTC by Vladimir Vasilev
Modified: 2026-08-24 14:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-08-24 14:07:14 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

nnn does not sanitize the path variable. An attacker can create a directory on a shared filesystem, removable media, or inside an extracted archive whose name contains a single quote followed by shell syntax. If the victim enters that directory in nnn and uses the batch copy or move workflow, the crafted directory name is embedded into the generated shell command and the injected payload executes with the privileges of the nnn process.


Maintainer of this project was notified about this vulnerability. It might has been addressed, but the maintainer did not provide a vulnerable version range. Only version 5.2 was tested and confirmed as vulnerable.


Note You need to log in before you can comment on or make changes to this bug.