CVE-2026-89238

Apache WSS4J: WSS4J EncryptedHeader child confusion causing wrong protected-header selection

Published Sep 30, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
WSS4J EncryptedHeader child confusion could promote an attacker-controlled plaintext element as the decrypted header, leading to incorrect confidentiality coverage and possible policy bypass.
Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.

Analysis

AI-generated

Technical impact

Apache WSS4J is susceptible to a child confusion flaw that allows an attacker to subvert the decryption process: a plaintext element supplied by the attacker can be promoted as the decrypted SOAP header. This incorrect header selection undermines confidentiality coverage and may enable a policy bypass, effectively weakening the security guarantees of encrypted messages.

Affected Systems

All versions of Apache WSS4J older than 4.0.2, 3.0.6, or 2.4.4 are affected. The flaw manifests in the handling of EncryptedHeader child elements within the library’s XML security processing.

Risk and Exploitability

The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating limited publicly known exploitation data. Nevertheless, because the flaw operates during SOAP message decryption, remote attackers with network access to services that use WSS4J can supply crafted encrypted messages to trigger the issue. The CVSS score of 9.1 indicates severe risk, but the potential for confidentiality loss and policy bypass suggests a substantial risk should the vulnerability be exploited.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a patch or upgrade Apache WSS4J to v4.0.2, v3.0.6, or v2.4.4 to address the child confusion issue.
  • Verify that all encrypted SOAP headers are processed using the upgraded library to prevent promotion of attacker‑controlled plaintext elements.
  • Review custom header handling and enforce strict validation to guard against future confidentiality downgrade attacks.

Generated by OpenCVE AI on October 1, 2026 at 00:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:wss4j:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-20
CWE-285
Type Values Removed Values Added
Weaknesses CWE-345
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache wss4j
Vendors & Products Apache
Apache wss4j
Type Values Removed Values Added
Weaknesses CWE-20
CWE-285
Type Values Removed Values Added
Description WSS4J EncryptedHeader child confusion could promote an attacker-controlled plaintext element as the decrypted header, leading to incorrect confidentiality coverage and possible policy bypass. Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.
Title Apache WSS4J: WSS4J EncryptedHeader child confusion causing wrong protected-header selection
References
Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 30, 2026, 7:50 PM
Reserved
Sep 11, 2026, 10:07 AM
Status
Analyzed
Published
Sep 30, 2026, 1:17 PM
Modified
Oct 6, 2026, 5:26 PM