OS Command Injection in emissary - CVE-2026-35582

 

OS Command Injection in emissary - CVE-2026-35582

Published: April 11, 2026


Vulnerability identifier: #VU125818
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-35582
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: National Security Agency
Affected software:
emissary

Detailed vulnerability description

The vulnerability allows a local user to execute arbitrary os commands.

The vulnerability exists due to improper neutralization of special elements used in an os command in Executrix.getCommand() and TempFileNames when constructing a /bin/sh -c command with unvalidated IN_FILE_ENDING or OUT_FILE_ENDING values. A local user can supply specially crafted file ending values to execute arbitrary os commands.

The issue is triggered when a configured place processes a payload, and it also affects the String[] getCommand() overload used by MultiFileUnixCommandPlace.


How to mitigate CVE-2026-35582

Install security update from vendor's website.

Sources