Skip to main content

Spring Web Services CVE-2026-40996

| EUVDEUVD-2026-36206 MEDIUM
Use of a Broken or Risky Cryptographic Algorithm (CWE-327)
2026-06-11 vmware GHSA-p7qj-2q5w-f9r7
4.8
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-exposed Spring-WS SOAP endpoint
  2. Delivery
    Confirm WS-Security encryption is accepted with rsa-1_5 algorithm
  3. Exploit
    Craft adaptive chosen-ciphertext SOAP payloads
  4. Execution
    Submit iterative oracle queries and observe server decryption responses
  5. Persist
    Recover encrypted session key via Bleichenbacher analysis
  6. Impact
    Decrypt previously captured WS-Security-protected SOAP messages

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Approved algorithm selection
Exploitation Conditions

Exploitation requires three simultaneous conditions: (1) the target service must be running an affected Spring Web Services version (3.1.0-3.1.8, 4.0.0-4.0.18, 4.1.0-4.1.3, or 5.0.0-5.0.1) with Wss4jSecurityInterceptor configured for inbound WS-Security decryption; (2) the operator must NOT have explicitly set allowRSA15KeyTransportAlgorithm=false - since true is the default, all unmodified deployments are vulnerable; and (3) the attacker must be able to submit a large volume of crafted WS-Security encrypted SOAP messages to the endpoint and observe decryption-path behavioral differences (error/fault response distinctions or timing). Services that do not use WS-Security encryption (e.g., signature-only or plaintext SOAP) are not affected. Practical exploitation is further limited by AC:H: the Bleichenbacher attack class requires hundreds of thousands of adaptive queries, making detection by anomaly-based monitoring or rate-limiting a realistic barrier. Services protected by network perimeter controls, mTLS, or IP allowlists that restrict who can submit messages also significantly raise the exploitation bar.

Impact

The vendor-supplied CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N, score 4.8 Medium) captures the key trade-offs well. AV:N reflects that SOAP endpoints are typically network-exposed. AC:H is justified by the nature of Bleichenbacher-class attacks, which require thousands to millions of adaptive oracle queries and observable decryption behavior (error messages or timing side-channels) - this is not a script-kiddie exploit. PR:N is consistent with services that accept inbound encrypted messages from unauthenticated or semi-trusted callers, though in practice many enterprise WS-Security deployments additionally enforce message-level authentication, which would further raise the barrier. KEV status is not confirmed and no POC is publicly known, making this a low-urgency but real cryptographic hygiene issue. The primary real-world risk is in internet-exposed or partner-facing SOAP services that process encrypted payloads from a broad, potentially untrusted client population. Internal services behind network controls or mTLS face substantially reduced practical exposure. The low C and I impact scores reflect that a successful attack yields partial session key recovery rather than full system compromise.

Exploit ScenarioDerived

An attacker with network access to a Spring-WS SOAP endpoint that processes WS-Security-encrypted messages sends a series of adaptively crafted SOAP requests, each containing subtly modified RSA PKCS#1 v1.5 ciphertext. By observing whether the server returns a decryption error or a SOAP fault versus processing the message, the attacker builds a padding oracle and iteratively narrows the value of the plaintext session key material - consistent with classical Bleichenbacher or ROBOT attack methodology. After a sufficient number of oracle queries (potentially thousands to millions, depending on key size), the attacker recovers the encrypted symmetric key and can decrypt previously captured WS-Security-protected SOAP messages. No public POC has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 11, 2026

Spring Web Services' Wss4jSecurityInterceptor silently defaults allowRSA15KeyTransportAlgorithm to true, overriding Apache WSS4J's own safer default and permitting inbound WS-Security decryption to accept the weak RSA PKCS#1 v1.5 (rsa-1_5) key transport algorithm. This misconfiguration-by-default affects all four supported release trains (3.1.x, 4.0.x, 4.1.x, 5.0.x) and opens deployed SOAP services to Bleichenbacher-style adaptive chosen-ciphertext attacks against server-side RSA key material unless operators explicitly override the flag. No public exploit has been identified at time of analysis, and the CVSS-assigned high attack complexity (AC:H) reflects the significant number of oracle queries required to mount a practical attack.

RemediationAI

The primary fix is to upgrade to a patched Spring Web Services release as directed by the vendor advisory at https://spring.io/security/cve-2026-40996 - exact fixed version numbers were not present in the provided input data and must be confirmed there before deploying. As an immediate compensating control, operators should explicitly set allowRSA15KeyTransportAlgorithm=false on every Wss4jSecurityInterceptor bean in their application context; this one-line configuration change restores the Apache WSS4J safer default and causes the interceptor to reject any inbound WS-Security message that presents rsa-1_5 key transport, eliminating the vulnerable code path without requiring an upgrade. The trade-off is that clients still using rsa-1_5 encryption will receive decryption failures and must be migrated to RSA-OAEP before the workaround is applied. Rate-limiting or WAF rules on the SOAP endpoint can raise the cost of any attempted Bleichenbacher oracle attack as a defense-in-depth measure but do not remediate the root cause.

Affected VersionsENISA

Spring Web Services 5.0.0 <5.0.2
Spring Web Services 4.1.0 <4.1.4
Spring Web Services 4.0.0 <4.0.19
Spring Web Services 3.1.0 <3.1.9

Affected Packages

maven org.springframework.ws:spring-ws-security fix: 4.1.4, 5.0.2
euvd spring_web_services fix: 3.1.9, 4.0.19, 4.1.4, 5.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Web Services (Spring-WS) is a Java-based, contract-first SOAP framework that delegates WS-Security operations - signing, encryption, decryption - to the Apache WSS4J library via the Wss4jSecurityInterceptor class. WSS4J introduced a deliberate safer default that rejects RSA PKCS#1 v1.5 key transport (XML Encryption algorithm URI http://www.w3.org/2001/04/xmlenc#rsa-1_5) in favor of RSA-OAEP, because rsa-1_5 is known to be susceptible to Bleichenbacher's 1998 padding oracle attack and its modern variants (ROBOT). The defect, classified as CWE-327 (Use of a Broken or Risky Cryptographic Algorithm), is that Wss4jSecurityInterceptor sets allowRSA15KeyTransportAlgorithm=true during construction of the inbound validation RequestData, overriding the library's safe default before WSS4J processes the message. The affected CPE is cpe:2.3:a:spring:spring_web_services across all versions in the listed ranges.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

Network-exposed SOAP endpoint (AV:N); Bleichenbacher oracle attack requires high complexity (AC:H); no authentication required to submit WS-Security messages (PR:N); partial confidentiality and integrity impact from session key recovery; no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Jun 11, 2026 - 08:01 EUVD
CVE Published
Jun 11, 2026 - 05:04 cve.org
MEDIUM 4.8

DescriptionCVE.org

Wss4jSecurityInterceptor defaulted allowRSA15KeyTransportAlgorithm to true, overriding Apache WSS4J's safer default for validation RequestData. Inbound WS-Security decryption could therefore accept RSA PKCS#1 v1.5 (rsa-1_5) encrypted key material unless operators explicitly reconfigured the flag.

Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 maven packages depend on org.springframework.ws:spring-ws-security (2 direct, 0 indirect)

Ecosystem-wide dependent count for version 5.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy