CVSS 3.1
8.2 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:NHigh (8.2) in broadcom spring web services. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.ws:spring-ws-security 4.1.4, 5.0.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:Norg.springframework.ws:spring-ws-security (Maven): fixed in 5.0.2, 4.1.4Explain CVE-2026-40994 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40994?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40994?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-40994 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Spring Web Services | from 5.0.0 before 5.0.1.1 |
| Spring Web Services | from 4.1.0 before 4.1.3.1 |
| Spring Web Services | from 4.0.0 before 4.0.19 |
| Spring Web Services | from 3.1.0 before 3.1.9 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-gg9r-wr4p-w63h | Maven | org.springframework.ws:spring-ws-security | >=5.0.0 <5.0.2 | 5.0.2 |
| GHSA-gg9r-wr4p-w63h | Maven | org.springframework.ws:spring-ws-security | >=4.1.0 <4.1.4 | 4.1.4 |
| GHSA-gg9r-wr4p-w63h | Maven | org.springframework.ws:spring-ws-security | >=4.0.0 <=4.0.18 | no fix published |
| GHSA-gg9r-wr4p-w63h | Maven | org.springframework.ws:spring-ws-security | >=3.1.0 <=3.1.8 | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS | its | no fix listed | UBUNTU-CVE-2026-40994 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.
Red Hat rates this Important.
A flaw was found in Spring Web Services. The Wss4jSecurityInterceptor class incorrectly initializes its WS-I Basic Security Profile (BSP) compliance flag during inbound validation on RequestData, disabling BSP enforcement by default. A remote, unauthenticated attacker can exploit this behavior by sending non-compliant WS-Security XML SOAP messages to endpoints configured with Wss4jSecurityInterceptor, bypassing strict security profile checks and compromising protocol-level data integrity within the application runtime.
Explicitly enable WS-I Basic Security Profile compliance by invoking setBspCompliant(true) on configured Wss4jSecurityInterceptor bean instances during application initialization. Alternatively, configure custom inbound security handlers to enforce strict BSP validation rules at the application boundary.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7 | spring-ws-security | Not affected |
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-40994.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.