CVE-2026-54442: 
Java vulnerability analysis and mitigation

Overview

CVE-2026-54442 is an incomplete fix vulnerability in NationalSecurityAgency/emissary (Maven package gov.nsa.emissary:emissary) that allows Server-Side Request Forgery (SSRF) and open redirect attacks by bypassing the URL validation regex introduced to remediate CVE-2026-35571. The flawed regex ^(https?:/)?/.* added in commit e207841 (released in version 8.39.0) fails to block protocol-relative URLs (//evil.com/...) and single-slash scheme variants (http:/evil.com). All versions prior to 8.51.0 are affected. It carries a CVSS v3.1 score of 4.8 (Moderate), published on October 30, 2026 (GitHub Advisory, Emissary Advisory).

Technical details

The root cause is CWE-918 (Server-Side Request Forgery), stemming from an insufficiently restrictive regular expression used to validate navigation link URLs in NavAction.java. The regex Pattern.compile("^(https?:/)?/.*") has two critical bypass vectors: (1) the optional group (https?:/)? can be omitted entirely, causing the pattern to match //evil.com/... (protocol-relative URLs that browsers resolve using the current page's protocol), and (2) the group matches http:/ or https:/ as valid prefixes, while browsers normalize http:/evil.com to http://evil.com, enabling open redirects. Additionally, triple-slash (///evil.com), CRLF injection in paths, and URL-encoded schemes also bypass the filter. A public PoC Python script demonstrating these bypass vectors is included in the advisory (Emissary Advisory, GitHub Advisory).

Impact

Successful exploitation allows an attacker with administrative access to inject malicious navigation links that redirect authenticated users to attacker-controlled servers (open redirect) or cause the Emissary server to issue requests to internal services (SSRF). The most severe scenario involves using protocol-relative URLs targeting cloud instance metadata endpoints (e.g., //169.254.169.254/latest/meta-data/), which can expose IAM credentials in AWS or GCP environments and enable further lateral movement within cloud infrastructure. Confidentiality and integrity impacts are rated Low, with no availability impact (GitHub Advisory).

Exploitability

A public PoC script is included directly in the GitHub Security Advisory, demonstrating multiple bypass vectors against the patched regex. Exploitation requires High privileges (administrative access to modify navigation configuration) and user interaction (a victim clicking the malicious link), which limits the attack surface. No evidence of in-the-wild exploitation or threat actor attribution has been reported. The CVE was reserved but details were published on October 30, 2026; no CISA KEV listing or EPSS score is currently available (GitHub Advisory, Emissary Advisory).

Exploitation steps

  1. Gain administrative access: Obtain credentials for an Emissary administrator account, either through credential theft, phishing, or reuse of compromised credentials.
  2. Identify the navigation configuration: Access the Emissary web interface and locate the navItems or navButtons configuration where navigation link URLs are defined.
  3. Craft a bypass URL: Construct a URL that passes the flawed regex but redirects to an attacker-controlled host. Examples include:
    • Protocol-relative: //evil.com/steal?c=SESSION
    • Single-slash scheme: http:/evil.com/steal
    • Cloud metadata SSRF: //169.254.169.254/latest/meta-data/iam/security-credentials/
  4. Inject the malicious link: Set a navigation item's link value to the crafted URL via the admin configuration interface.
  5. Wait for victim interaction: An authenticated user clicks the injected navigation link, triggering either an open redirect to the attacker's server (potentially stealing session cookies or credentials) or an SSRF request from the Emissary server to the internal target.
  6. Harvest results: For open redirect, collect session tokens or credentials from the attacker-controlled server logs. For SSRF to cloud metadata, retrieve IAM credentials and use them for further cloud resource access (Emissary Advisory, GitHub Advisory).

Indicators of compromise

  • Logs: Emissary application logs containing WARN entries from NavAction such as Skipping invalid navigation link for suspicious URLs; absence of such warnings for protocol-relative or single-slash URLs that should have been blocked.
  • Network: Outbound HTTP/HTTPS requests from the Emissary server to unexpected external hosts or to 169.254.169.254 (cloud metadata endpoint); HTTP redirects in web proxy logs pointing users from the Emissary UI to external domains.
  • Application Config: Navigation configuration (navItems or navButtons) containing entries with URLs beginning with //, http:/ (single slash), ///, or other non-standard schemes.
  • Web Server Logs: Access logs showing requests to cloud metadata IP 169.254.169.254 originating from the Emissary server process; user sessions followed by redirects to external domains not in the expected allowlist (Emissary Advisory).

Mitigation and workarounds

Upgrade to Emissary version 8.51.0 or later, which contains the complete fix for this vulnerability (GitHub Advisory). As a workaround for deployments that cannot immediately upgrade, audit all navItems and navButtons configuration entries to ensure link values use only http://, https://, or site-relative (/path) URL schemes — explicitly rejecting any value starting with //, http:/ (single slash), or other non-standard prefixes. The recommended long-term remediation is to replace the regex-based validation with proper URL parsing using java.net.URI and scheme/host allowlist validation rather than pattern matching (Emissary Advisory).

Community reactions

The advisory was published by the Emissary maintainers (cfkoehler) on October 30, 2026, and credited researcher decsecre583 for the report. The vulnerability was noted on threat intelligence platforms including VulnDB and Tenable cloud/container security plugins shortly after disclosure. No significant broader media coverage or notable researcher commentary beyond the advisory itself has been identified (Emissary Advisory, Tenable Plugin).

Additional resources


Source: This report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-45049HIGH8.3
  • Java logoJava
  • org.openidentityplatform.openam:openam-federation
NoYesOct 29, 2026
CVE-2026-61586HIGH8.2
  • Java logoJava
  • eu.copernik:copernik-xml-factory
NoYesOct 30, 2026
CVE-2026-46560HIGH7.5
  • Java logoJava
  • org.openidentityplatform.openam:openam-radius
NoYesOct 30, 2026
CVE-2026-63224HIGH7.2
  • Java logoJava
  • io.openremote:openremote-manager
NoYesOct 30, 2026
CVE-2026-54442MEDIUM4.8
  • Java logoJava
  • gov.nsa.emissary:emissary
NoYesOct 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management