PT-2026-78364 · Nnn · Nnn
CVSS v4.0
5.1
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L |
Name of the Vulnerable Software and Affected Versions
nnn version 5.2
Description
The software fails to sanitize the
filename variable. An attacker can place a file with a crafted name on a shared filesystem, removable media, or within an extracted archive. If the filename contains a single quote followed by shell syntax and a victim opens it using preview-tabbed, the filename is embedded into a generated shell command, allowing the injected payload to execute with the privileges of the nnn process.Recommendations
As a temporary workaround, avoid opening files from untrusted sources using preview-tabbed in nnn version 5.2. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nnn