# CVE-2026-35582: Emissary has an OS Command Injection via Unvalidated IN\_FILE\_ENDING / OUT\_FILE\_ENDING in Executrix

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.11% (percentile 66, 2026-11-26)
- **CWE:** CWE-78, CWE-116
- **Aliases:** GHSA-3p24-9x7v-7789
- **Published:** 2026-04-13T16:38:25.000Z
- **Modified:** 2026-11-04T22:30:04.056Z

## Who should check

- Projects that depend on Maven package gov.nsa.emissary:emissary (\< 8.43.0)
- Anyone running NationalSecurityAgency emissary \< 8.43.0

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

## Affected and fixed versions

- Maven `gov.nsa.emissary:emissary`: affected \< 8.43.0; fixed 8.43.0 (osv)
- NationalSecurityAgency emissary: \< 8.43.0 (cvelist)

## Mitigation

- Upgrade gov.nsa.emissary:emissary to 8.43.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-35582. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-35582.md
Affected: gov.nsa.emissary:emissary < 8.43.0
Fixed in: 8.43.0

Steps:
1. Search this machine and project for gov.nsa.emissary:emissary (Maven), NationalSecurityAgency emissary: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-35582 being exploited?

There is no confirmed exploitation: CVE-2026-35582 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.11% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-35582?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-35582?

gov.nsa.emissary:emissary \< 8.43.0.

### Is there a fix for CVE-2026-35582?

Yes. Fixed in 8.43.0. Upgrade gov.nsa.emissary:emissary to 8.43.0 or later.

### How do I check if I'm affected by CVE-2026-35582?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-3p24-9x7v-7789>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-35582>
- patch: <https://github.com/NationalSecurityAgency/emissary/commit/1faf33f2494c0128f250d7d2e8f2da99bbd32ae8>
- other: <https://github.com/NationalSecurityAgency/emissary>
- other: <https://github.com/NationalSecurityAgency/emissary/releases/tag/8.43.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-35582>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3p24-9x7v-7789> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-35582> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-35582>
