Intel

AIKIDO-2026-10583

spring-boot is vulnerable to Insecure Randomness

CVE-2026-40975Published Apr 27, 2026
April 27, 2026

60

CVE Score

Medium

Insecure Randomness

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to the use of a weak pseudo-random number generator in the random value property source, causing ${random.value} to generate values unsuitable for use as secrets. Predictable or low-entropy values may weaken tokens, passwords, or other security-sensitive data derived from these properties.

How do I fix this?

Upgrade the org.springframework.boot:spring-boot library to the patch version.

Who does this affect?

You are affected if using a vulnerable version.

Versions

2.7.0 - 3.5.13

Fixed in 3.5.14

4.0.0 - 4.0.5

Fixed in 4.0.6

Background info

spring-boot is vulnerable to Insecure Randomness in versions 2.7.0 - 3.5.13 and 4.0.0 - 4.0.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea