Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 82%

CVE-2026-40975: CWE-330: Use of Insufficiently Random Values in Spring Spring Boot

0
Medium
VulnerabilityCVE-2026-40975cvecve-2026-40975cwe-330
Published: Mon Apr 27 2026 (04/27/2026, 23:32:58 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring Boot

Description

CVE-2026-40975 is a medium severity vulnerability in Spring Boot where certain random value generators (${random.value}, ${random.int}, ${random.long}) produce insufficiently random values unsuitable for use as secrets. The ${random.uuid} generator is not affected. This weakness can lead to predictable secret values. Multiple Spring Boot versions from 2.7.0 through 4.

CVSS v3.1

Score 4.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

Affected versions
=4.0.0=3.5.0=3.4.0=3.3.0=2.7.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/05/2026, 07:33:32 UTC

Technical Analysis

This vulnerability involves the use of weak pseudorandom number generators in Spring Boot's random value property source. Specifically, the values produced by ${random.value}, ${random.int}, and ${random.long} are insufficiently random and thus unsuitable for generating secrets, potentially compromising confidentiality. The ${random.uuid} generator remains secure. Affected versions include Spring Boot 2.7.0 to 2.7.32, 3.3.0 to 3.3.18, 3.4.0 to 3.4.15, 3.5.0 to 3.5.13, and 4.0.0 to 4.0.5. Vendor advisories indicate fixes were introduced in versions 2.7.33, 3.3.19, 3.4.16, 3.5.14, and 4.0.6. The CVSS v3.1 base score is 4.8, reflecting a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, and limited confidentiality and integrity impacts.

Potential Impact

The vulnerability can lead to the generation of predictable secret values when using certain random generators in Spring Boot, potentially allowing attackers to guess or reproduce secrets. This may result in limited confidentiality and integrity impacts. There are no reported exploits in the wild, and the attack complexity is high, reducing immediate risk. The vulnerability does not affect availability.

Mitigation Recommendations

Upgrading to the fixed versions of Spring Boot is recommended: 2.7.33, 3.3.19, 3.4.16, 3.5.14, or 4.0.6 and later. Avoid using ${random.value}, ${random.int}, and ${random.long} for secret generation. Instead, use ${random.uuid} or other secure random generators. Patch status is not explicitly stated in the vendor advisory field, but fixed versions are identified. Therefore, apply the official fixes by upgrading to the specified versions to mitigate this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-04-16T02:19:04.616Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69f0134ecbff5d861057a5ce

Added to database: 4/28/2026, 1:54:22 AM

Last enriched: 5/5/2026, 7:33:32 AM

Last updated: 6/11/2026, 11:08:36 PM

Views: 148

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses