Bug 2521950 - CVE-2026-65612 nnn: nnn: Arbitrary code execution via crafted filename [epel-all]
Summary: CVE-2026-65612 nnn: nnn: Arbitrary code execution via crafted filename [epel-...
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": ["2ae12cc9-a4d2-4c19-b80d-5...
Depends On:
Blocks: CVE-2026-65612
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:00 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 filename variable. An attacker can place a file with a crafted name on a shared filesystem, removable media, or inside an extracted archive whose name contains a single quote followed by shell syntax. If the victim navigates
to that file and opens it with preview-tabbed, the filename 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.