Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. gov.nsa.emissary/emissary
  4. ›
  5. CVE-2026-35582

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

April 13, 2026 (updated April 24, 2026)

Executrix.getCommand() constructs shell commands by substituting temporary file paths directly into a /bin/sh -c string with no escaping. The IN_FILE_ENDING and OUT_FILE_ENDING configuration keys flow into those paths unmodified. A place author who sets either key to a shell metacharacter sequence achieves arbitrary OS command execution in the JVM’s security context when the place processes any payload. No runtime privileges beyond place configuration authorship are required, and no API or network access is needed.

This is a framework-level defect — Executrix provides no escaping mechanism and no validation on file ending values. Downstream implementors have no safe way to use the API as designed.


References

  • github.com/NationalSecurityAgency/emissary
  • github.com/NationalSecurityAgency/emissary/commit/1faf33f2494c0128f250d7d2e8f2da99bbd32ae8
  • github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-3p24-9x7v-7789
  • github.com/advisories/GHSA-3p24-9x7v-7789
  • nvd.nist.gov/vuln/detail/CVE-2026-35582

Code Behaviors & Features

Detect and mitigate CVE-2026-35582 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.43.0

Fixed versions

  • 8.43.0

Solution

Upgrade to version 8.43.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/gov.nsa.emissary/emissary/CVE-2026-35582.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:59 +0000.