Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.8
Emissary allows attackers to run OS commands via unvalidated file settings
GHSA-3p24-9x7v-7789
CVE-2026-35582
Summary
Emissary's Executrix feature allows a malicious user with configuration access to inject and run arbitrary operating system commands. This happens when the user sets the IN_FILE_ENDING or OUT_FILE_ENDING settings to a special character sequence that can be interpreted by the operating system. To protect against this, you should validate and sanitize any user input that is used to construct file paths or commands.
What to do
- Update nsa gov.nsa.emissary:emissary to version 8.43.0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| maven | nsa | gov.nsa.emissary:emissary |
<= 8.42.0 Fix: upgrade to 8.43.0
|
Original title
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 ...
Original description
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.
ghsa CVSS3.1
8.8
Vulnerability type
CWE-78
OS Command Injection
CWE-116
Published: 18 Apr 2026 · Updated: 18 Apr 2026 · First seen: 13 Apr 2026