nday
CVE-2026-35582 GHSA-3p24-9x7v-7789

Emissary has an OS Command Injection via Unvalidated IN_FILE_ENDING / OUT_FILE_ENDING in Executrix

NationalSecurityAgency / emissary

Patch on record 216 days after disclosure. Patched: fixed in gov.nsa.emissary:emissary 8.43.0. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typecommand injection accesslocalno user interaction ecosystemMaven
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-3p24-9x7v-7789
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
Maven
GHSA-3p24-9x7v-7789: maven packages gov.nsa.emissary:emissary
stage
PAT
disclosed
disclosure → patch
T+216d
cvss
8.8 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
04-18T01:16Z
PATpatch
11-20T06:02Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 8.8, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 420397,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-35582",
  "occurred_at": "2026-04-18T01:16:27.661Z",
  "observed_at": "2026-11-13T05:39:44.380581Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-04-20T15:48:23.954422Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-04-18T01:16:27.661Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version gov.nsa.emissary:emissary 8.43.0. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-3p24-9x7v-7789 · nday , observed live · raw
{
  "id": 494838,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-3p24-9x7v-7789",
  "occurred_at": null,
  "observed_at": "2026-11-20T06:02:12.557723Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-3p24-9x7v-7789",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 8.8,
        "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Special Elements used in an OS Command",
        "cwe_id": "CWE-78"
      },
      {
        "name": "Improper Encoding or Escaping of Output",
        "cwe_id": "CWE-116"
      }
    ],
    "ghsa_id": "GHSA-3p24-9x7v-7789",
    "packages": [
      {
        "name": "gov.nsa.emissary:emissary",
        "ecosystem": "maven",
        "first_patched_version": "8.43.0",
        "vulnerable_version_range": "<= 8.42.0"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-3p24-9x7v-7789",
      "https://github.com/NationalSecurityAgency/emissary/commit/1faf33f2494c0128f250d7d2e8f2da99bbd32ae8",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-35582",
      "https://github.com/NationalSecurityAgency/emissary/releases/tag/8.43.0",
      "https://github.com/advisories/GHSA-3p24-9x7v-7789"
    ],
    "fix_commit_urls": [
      "https://github.com/NationalSecurityAgency/emissary/commit/1faf33f2494c0128f250d7d2e8f2da99bbd32ae8"
    ],
    "github_reviewed_at": "2026-04-13T16:38:25Z",
    "advisory_updated_at": "2026-11-20T05:17:07Z",
    "source_code_location": "https://github.com/NationalSecurityAgency/emissary",
    "advisory_published_at": "2026-04-13T16:38:25Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.