# CVE-2026-35582: Emissary has an OS Command Injection via Unvalidated IN_FILE_ENDING / OUT_FILE_ENDING in Executrix

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-13T16:38:25.000Z
- Modified: 2026-11-04T22:30:04.056Z
- Also known as: GHSA-3p24-9x7v-7789
- Weaknesses: CWE-78, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- NationalSecurityAgency emissary: < 8.43.0
- gov.nsa.emissary:emissary (Maven): before 8.43.0
- nsa emissary: before 8.43.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-3p24-9x7v-7789> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/NationalSecurityAgency/emissary/commit/1faf33f2494c0128f250d7d2e8f2da99bbd32ae8> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35582> (advisory)
- <https://github.com/NationalSecurityAgency/emissary> (package)
- <https://github.com/NationalSecurityAgency/emissary/releases/tag/8.43.0> (web)

## Sources

- CVE List: [CVE-2026-35582](https://www.cve.org/CVERecord?id=CVE-2026-35582), CVE Terms of Use, modified 2026-04-20
- GitHub Advisory Database: [GHSA-3p24-9x7v-7789](https://github.com/advisories/GHSA-3p24-9x7v-7789), CC-BY-4.0, modified 2026-11-04
- NVD: [CVE-2026-35582](https://nvd.nist.gov/vuln/detail/CVE-2026-35582), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35582 · Whole record: https://cve.day/CVE-2026-35582.json · Rebuilt by cve.day 2026-11-25T22:59:18.989Z
