Improper Encoding or Escaping of Output Affecting gov.nsa.emissary:emissary package, versions [,8.43.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.86% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-GOVNSAEMISSARY-16422849
  • published5 May 2026
  • disclosed13 Apr 2026
  • creditblueandhack

Introduced: 13 Apr 2026

CVE-2026-35582  (opens in a new tab)
CWE-116  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade gov.nsa.emissary:emissary to version 8.43.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the getCommand process. An attacker can execute arbitrary operating system commands by supplying specially crafted values to the IN_FILE_ENDING or OUT_FILE_ENDING configuration keys, which are concatenated into shell command arguments without validation or escaping. This allows the injection of shell metacharacters that are interpreted by the shell, leading to full compromise of confidentiality, integrity, and availability of the system. This is only exploitable if the attacker has the ability to modify configuration files or set configuration keys.

CVSS Base Scores

version 4.0
version 3.1