CVE-2026-35582

Emissary is a P2P based data-driven workflow engine. In versions 8.42.0 and below, Executrix.getCommand() is vulnerable to OS command injection because it interpolates temporary file paths into a /bin/sh -c shell command string without any escaping or input validation. The IN_FILE_ENDING and OUT_FILE_ENDING configuration keys flow directly into these paths, allowing a place author who can write or modify a .cfg file to inject arbitrary shell metacharacters that execute OS commands in the JVM process's security context. The framework already sanitizes placeName via an allowlist before embedding it in the same shell string, but applies no equivalent sanitization to file ending values. No runtime privileges beyond place configuration authorship, and no API or network access, are required to exploit this vulnerability. This is a framework-level defect with no safe mitigation available to downstream implementors, as Executrix provides neither escaping nor documented preconditions against metacharacters in file ending inputs. This issue has been fixed in version 8.43.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nsa:emissary:*:*:*:*:*:*:*:*

History

24 Apr 2026, 16:48

Type Values Removed Values Added
CPE cpe:2.3:a:nsa:emissary:*:*:*:*:*:*:*:*
First Time Nsa
Nsa emissary
References () https://github.com/NationalSecurityAgency/emissary/commit/1faf33f2494c0128f250d7d2e8f2da99bbd32ae8 - () https://github.com/NationalSecurityAgency/emissary/commit/1faf33f2494c0128f250d7d2e8f2da99bbd32ae8 - Patch
References () https://github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-3p24-9x7v-7789 - () https://github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-3p24-9x7v-7789 - Exploit, Mitigation, Vendor Advisory

18 Apr 2026, 02:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-18 02:16

Updated : 2026-04-24 16:48


NVD link : CVE-2026-35582

Mitre link : CVE-2026-35582

CVE.ORG link : CVE-2026-35582


JSON object : View

Products Affected

nsa

  • emissary
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-116

Improper Encoding or Escaping of Output