Vulnerabilityin Spring Boot.
No public exploit found; not on exploited lists.
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 to 4.0.5 (fix 4.0.6), 3.5.0 to 3.5.13 (fix 3.5.14), 3.4.0 to 3.4.15 (fix 3.4.16), 3.3.0 to 3.3.18 (fix 3.3.19), 2.7.0 to 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.
- Upgrade Spring Boot to 2.7.33, 3.3.19, 3.4.16, 3.5.14, 4.0.6 or later, whichever matches your release line.
- Upgrade org.springframework.boot:spring-boot-cassandra (Maven) to 3.5.14, 4.0.6 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Apr 2026CVE ID reserved by vmware.
- 27 Apr 2026Published in the CVE List.
- 15 Jul 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Boot vulnerabilities
Same weakness: Insufficiently random values
- spring.io
- access.redhat.com vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com issue-tracking, x_refsource_REDHAT
- security.access.redhat.com x_sadp-csaf-vex
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
Patchminder. CVE-2026-40975: Vulnerability in Spring Boot. https://patchminder.com/cve/cve-2026-40975/ (accessed 5 December 2026).