Emissary has an OS Command Injection via Unvalidated IN_FILE_ENDING / OUT_FILE_ENDING in Executrix
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NationalSecurityAgency | emissary | before 8.43.0 | 8.43.0 | Patch available | CNA |
| — | gov.nsa.emissary:emissary (Maven) | before 8.43.0 | 8.43.0 | Patch available | GHSA-3p24-9x7v-7789 |
- emissary VendorNationalSecurityAgency Affected before 8.43.0 Fixed in 8.43.0 Patch available CNA
- gov.nsa.emissary:emissary (Maven) Vendor— Affected before 8.43.0 Fixed in 8.43.0 Patch available GHSA-3p24-9x7v-7789
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nsa:emissary:*:*:*:*:*:*:*:* | before 8.43.0 | Vulnerable | NationalSecurityAgency |
- cpe:2.3:a:nsa:emissary:*:*:*:*:*:*:*:* Versions before 8.43.0 Vulnerable ·NationalSecurityAgency
Remediation
- Fix · CNA emissary (NationalSecurityAgency) Fixed in 8.43.0
- Fix · GHSA-3p24-9x7v-7789 gov.nsa.emissary:emissary (Maven) Fixed in 8.43.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35582
- 2026-10-03 Alias added: GHSA-3p24-9x7v-7789
- 2026-11-04 1 new reference · GHSA-3p24-9x7v-7789
References
Patch 1
More NationalSecurityAgency Emissary vulnerabilities
- TI-2021-12315 Post-authentication Remote Code Execution (RCE) in emissary:emissary CVSS 3.1CRITICAL 9.1
- TI-2021-12307 Server-Side Request Forgery (SSRF) in emissary:emissary CVSS 3.1CRITICAL 9.9
- TI-2026-27683 Emissary has GitHub Actions Shell Injection via Workflow Inputs CVSS 3.1CRITICAL 9.1
- TI-2021-12047 U.S. CVSS 3.1HIGH 8.8
- TI-2021-12049 The ConsoleAction component of U.S. CVSS 3.1HIGH 8.8
- TI-2021-12048 U.S. CVSS 3.1HIGH 8.1
Sources
- CVE-2026-35582 · CVE Program
- CVE-2026-35582 · NVD
- FIRST EPSS
- GHSA-3p24-9x7v-7789 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences