Skip to main content

Spring Security CVE-2026-47842

| EUVDEUVD-2026-66677 MEDIUM
Inadequate Encryption Strength (CWE-326)
2026-08-26 vmware GHSA-7274-w8xr-fr2w
6.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Identify Spring Boot application using vulnerable AesBytesEncryptor constructor
  2. Delivery
    Authenticate with low-privilege credentials
  3. Exploit
    Submit multiple chosen plaintexts for encryption
  4. Execution
    Collect ciphertexts all produced under all-zero null IV
  5. Persist
    Detect identical-plaintext to identical-ciphertext correlations
  6. Impact
    Recover plaintext of other encrypted values via pattern lookup

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Encryption strength requirements
Exploitation Conditions

Exploitation requires the target application to instantiate AesBytesEncryptor using the two-argument constructor (e.g., new AesBytesEncryptor(password, salt)) or to explicitly pass a null IV generator with CBC mode - this is an API misuse pattern, not a default Spring Security configuration. The attacker must have the ability to submit multiple chosen plaintexts to the vulnerable encryptor or observe multiple ciphertexts of known or predictable plaintext values; PR:L in the CVSS vector confirms low-privilege authenticated access is required. Exploitation is strictly scoped to code paths using the vulnerable constructor pattern; Spring Security's authentication mechanisms, authorization filters, and all other components are unaffected. Applications using the three-argument constructor with a valid IV generator, or using GCM mode, are not vulnerable.

Impact

The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) captures the network-accessible, low-privilege exploitation path and high confidentiality impact, but the AC:L rating likely understates practical attack effort: recovering plaintext via null-IV CBC analysis requires an attacker to collect multiple ciphertexts and apply chosen-plaintext techniques, imposing meaningful work beyond a single network request. Exploitation is conditional on the vulnerable API usage pattern - only applications that instantiate AesBytesEncryptor via the two-argument constructor or with a null IV generator and CBC mode are affected, not all Spring Security deployments. No EPSS score was provided in the intelligence data, no CISA KEV listing exists, and no public exploit code has been identified at time of analysis, placing this in the category of a realistic cryptographic weakness without confirmed active exploitation. Real-world risk is highly data-dependent: where AesBytesEncryptor protects session tokens, PII, credentials, or database field encryption, the high confidentiality impact should be treated as a genuine remediation priority regardless of the medium composite score. CVSS integrity and availability metrics are both N, consistent with a pure cryptographic disclosure class with no write or operational impact.

Exploit ScenarioDerived

An attacker with low-privilege authenticated access to a Spring Boot application submits a series of chosen plaintexts - such as predictable form values or known input strings - that the application encrypts through the vulnerable AesBytesEncryptor instance using CBC and a null IV. Because identical plaintexts always produce identical ciphertexts under this configuration, the attacker identifies ciphertext patterns, constructs a lookup table, and recovers the plaintext of other users' encrypted tokens or database field values without needing the encryption key. No public exploit code has been identified at time of analysis, but the attack requires only standard cryptographic tooling and sufficient ciphertext collection.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 26, 2026

AES/CBC encryption in Spring Security's AesBytesEncryptor silently degrades to a null (all-zero) initialization vector when applications use the two-argument constructor or pass a null IV generator with CBC mode selected, completely undermining the semantic security of any data encrypted through this code path. Affected versions span Spring Security 5.7.0 through 7.1.0, covering multiple active release lines used extensively in Java and Spring Boot enterprise applications. No public exploit code has been identified at time of analysis, but the CVSS confidentiality impact is rated High and exploitation requires only low-privilege access to any application instantiating the vulnerable encryptor pattern.

RemediationAI

The primary fix is upgrading to a patched Spring Security release; however, exact remediated version numbers are not specified in the provided intelligence data and must be confirmed directly from the vendor advisory at https://spring.io/security/cve-2026-47842. As an immediate compensating control, audit all usages of AesBytesEncryptor and replace any two-argument constructor calls with the three-argument form providing a cryptographically secure IV generator such as KeyGenerators.secureRandom(16). Migrating from CBC to GCM mode is a stronger long-term alternative that provides authenticated encryption and built-in IV management, but requires careful migration of existing ciphertext since formats are incompatible. Critically, remediating the code pattern does not retroactively secure already-encrypted data: any data previously encrypted under a null IV should be considered potentially exposed, decrypted with the existing key, and re-encrypted with proper IV handling after upgrading.

Affected VersionsENISA

Spring Security 6.4.0 ≤6.4.18
Spring Security 7.1.0
Spring Security 5.8.0 ≤5.8.27
Spring Security 7.0.0 ≤7.0.6
Spring Security 5.7.0 ≤5.7.25
Spring Security 6.5.0 ≤6.5.11

Affected Packages

euvd spring_security no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Spring Security's AesBytesEncryptor provides a convenience API for symmetric AES encryption within Java Spring applications. AES in CBC (Cipher Block Chaining) mode chains ciphertext blocks using an XOR with the preceding block, seeded at the start by an initialization vector (IV). A unique, cryptographically random IV per encryption operation is a mandatory requirement for CBC semantic security: without it, identical plaintexts produce identical ciphertexts, enabling dictionary attacks, block-pattern analysis, and chosen-plaintext attacks capable of recovering protected data. The vulnerability manifests when developers use the two-argument AesBytesEncryptor constructor (omitting an IV generator parameter) or explicitly pass a null IV generator - both code paths result in a fixed all-zero 128-bit IV for every encryption call. The CPE cpe:2.3:a:spring:spring_security:*:*:*:*:*:*:*:* identifies the affected product as VMware/Broadcom's Spring Security library across the listed release lines. No CWE is formally assigned in the provided data, but this maps to CWE-329 (Not Using a Random IV with CBC Mode) and CWE-330 (Use of Insufficiently Random Values), a classical IV-reuse cryptographic failure.

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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.3 MEDIUM

AC:H reflects practical requirement to collect multiple ciphertexts and perform chosen-plaintext analysis; PR:L per described application interaction; C:H appropriate, I:N and A:N confirmed - no write or availability impact.

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

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

DescriptionCVE.org

Applications using AesBytesEncryptor with the two-argument constructor or when passing a null IV generator and CBC as the encryption mode encrypt data with AES/CBC using a null (all-zero) initialization vector. Spring Security 7.1.0 Spring Security 7.0.0 - 7.0.6 Spring Security 6.5.0 - 6.5.11 Spring Security 6.4.0 - 6.4.18 Spring Security 5.8.0 - 5.8.27 Spring Security 5.7.0 - 5.7.25

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
core security framework for Java/Spring Boot enterprise applications
Social Media
1
Sightings
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.1%
Patch available No
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
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

Vendor StatusVendor

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