Spring Boot
CVE-2026-40975
HIGH
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic random values
|
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 27, 2026
Predictable secret generation in Spring Boot's random value property source allows remote, unauthenticated attackers to obtain potentially sensitive values. Affected versions include Spring Boot 4.0.0 to 4.0.5, 3.5.x, 3.4.x, 3.3.x, and 2.7.x before the respective patch releases. The vulnerability has a CVSS score of 7.5 (High) but no active exploitation has been confirmed, and EPSS suggests a very low likelihood of exploitation.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Know when Spring Boot 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Confidentiality-only impact with no patch-side privilege need, but AC:H because exploitation depends on the app using these placeholders for secrets and on predicting a weak PRNG.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
8DescriptionNVD
Values produced by ${random.value} are not suitable for use as secrets. ${random.uuid} is not affected. ${random.int} and ${random.long} should never be used for secrets as they are numeric values with a predictable range.
Affected: Spring Boot 4.0.0-4.0.5 (fix 4.0.6), 3.5.0-3.5.13 (fix 3.5.14), 3.4.0-3.4.15 (fix 3.4.16), 3.3.0-3.3.18 (fix 3.3.19), 2.7.0-2.7.32 (fix 2.7.33); random value property source / weak PRNG for secrets. Versions that are no longer supported are also affected per vendor advisory.
Blast Radius
ecosystem impact- 16 maven packages depend on org.springframework.boot:spring-boot-cassandra (5 direct, 11 indirect)
Ecosystem-wide dependent count for version 4.0.0.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
Related Vulnerabilities in Spring Boot Configuration Security Issues
View all 5More in Spring Boot
View allMalicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions pri
spring-boot versions prior to version v2.2.11.RELEASE was vulnerable to temporary directory hijacking. Rated high severi
In Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions, an application that is deployed t
Element Plug-in for vCenter Server incorporates SpringBoot Framework. Rated critical severity (CVSS 9.8), this vulnerabi
Unauthorized read access to book records in TaleLin lin-cms-spring-boot 0.2.1 and earlier is possible through the search
Improper authorization in TaleLin lin-cms-spring-boot through 0.2.1 lets unauthenticated remote attackers read book reco
Improper authorization in TaleLin lin-cms-spring-boot 0.2.1 and earlier lets remote unauthenticated attackers read book
Spring Boot's RabbitMQ auto-configuration omits TLS hostname verification when an SSL bundle is configured, enabling a m
This is an authentication bypass vulnerability in Spring Boot applications using Spring Security with Actuator endpoints
Spring Boot Actuator endpoints can be bypassed for authentication when application endpoints are configured under Health
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB