cve.bz

CVE-2026-87830 apache wss4j: Expression Language Injection

9.1 criticalEPSS 0.2%

Critical (9.1) in apache wss4j. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the StAX streaming WS-SecurityPolicy validator, certain relative or unsupported XPath expressions can be converted into paths that never match the actual XML element path. A remote SOAP peer may therefore send a required element without the expected signature or encryption. Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-09-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-87830 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87830?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87830?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87830 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-87830

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-87830](https://cve.bz/cve/badge/CVE-2026-87830.svg)](https://cve.bz/cve/CVE-2026-87830)

HTML:

<a href="https://cve.bz/cve/CVE-2026-87830"><img src="https://cve.bz/cve/badge/CVE-2026-87830.svg" alt="CVE-2026-87830"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache WSS4Jfrom 4.0.0 before 4.0.2
Apache Software Foundation Apache WSS4Jfrom 3.0.0 before 3.0.6
Apache Software Foundation Apache WSS4Jbefore 2.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14wss4jno fix listedDEBIAN-CVE-2026-87830
Ubuntu16.04:LTS, 20.04:LTS, 24.04:LTS and 2 morewss4jno fix listedUBUNTU-CVE-2026-87830

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity because it allows a remote client to bypass integrity checks on specific SOAP body elements without leading to arbitrary code execution or service unavailability. Within Red Hat JBoss Enterprise Application Platform (EAP), the flaw only manifests when web services actively implement StAX-based streaming WS-SecurityPolicy validation using unsupported or relative XPath expressions. Deployments relying on standard DOM processing models or fully qualified element selectors are not susceptible to this validation failure.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat JBoss Enterprise Application Platform 7wss4j-ws-security-policy-staxUnder investigation
Red Hat JBoss Enterprise Application Platform 8wss4j-ws-security-policy-staxUnder investigation
Red Hat JBoss Enterprise Application Platform Expansion Packwss4j-ws-security-policy-staxUnder investigation

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87830.

References

Check your stackJSON