Vulnerability · Published Apr 18, 2026 · Assigned by GitHub_M

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

High 8.8

In plain English

A high-severity OS command injection in emissary from NationalSecurityAgency. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.9%top 41.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12botanno fix listedDEBIAN-CVE-2026-35582
Debian:13botanno fix listedDEBIAN-CVE-2026-35582
Debian:13botan3no fix listedDEBIAN-CVE-2026-35582
Debian:14botan3no fix listedDEBIAN-CVE-2026-35582
Mavengov.nsa.emissary:emissary8.43.0GHSA-3p24-9x7v-7789
Ubuntu:25.10botanno fix listedUBUNTU-CVE-2026-35582
Ubuntu:25.10botan3no fix listedUBUNTU-CVE-2026-35582

Affected products (as reported)

VendorProductVersions
NationalSecurityAgency emissary < 8.43.0

Weakness: CWE-78, CWE-116 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References