CVE-2026-40975 Spring Boot's random value property source uses a weak PRNG unsuitable for secrets
HighCVSS 7.5
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.boot/spring-boot-cassandra(Maven) | >= 4.0.0, < 4.0.6 | 4.0.6 |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.0 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.1 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.2 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.3 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.4 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.5 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | >= 3.5.0, < 3.5.14 | 3.5.14 |
| org.springframework.boot/spring-boot-cassandra(Maven) | >= 3.4.0, <= 3.4.15 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | >= 3.3.0, <= 3.3.18 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | <= 2.7.32 | No fix listed |
| Spring Boot | >= 4.0.0, < 4.0.6 | 4.0.6 |
| Spring Boot | >= 3.5.0, < 3.5.14 | 3.5.14 |
| Spring Boot | >= 3.4.0, < 3.4.16 | 3.4.16 |
| Spring Boot | >= 3.3.0, < 3.3.19 | 3.3.19 |
| Spring Boot | >= 2.7.0, < 2.7.33 | 2.7.33 |
| redhat apache camel hawtio | = 4.4 | No fix listed |
| redhat apache camel spring boot | = 4.18 | No fix listed |
| redhat jboss data grid | = 8 | No fix listed |
| redhat openshift devspaces | < 1779528224 | 1779528224 |
| redhat openshift devspaces | < 1779359423 | 1779359423 |
| redhat amq broker | = 7 | No fix listed |
| redhat amq clients | All versions | No fix listed |
| redhat optaplanner | All versions | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | = 9 | No fix listed |
| redhat jboss fuse | All versions | No fix listed |
| redhat jboss enterprise application platform | = 7 | No fix listed |
| redhat jboss enterprise application platform | = 8 | No fix listed |
| redhat jbosseapxp | All versions | No fix listed |
| redhat jboss enterprise bpms platform | = 7 | No fix listed |
| redhat red hat single sign on | = 7 | No fix listed |
| redhat/spring-boot(Red Hat:amq_clients:2026.Q3) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:apache_camel_hawtio:4.4::el9) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:apache_camel_spring_boot:4.18) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:jboss_data_grid:8.6) | All versions | No fix listed |
| redhat/devspaces/openvsx-rhel9:1779528224(Red Hat:openshift_devspaces:3.28::el9) | All versions | No fix listed |
| redhat/devspaces/pluginregistry-rhel9:1779359423(Red Hat:openshift_devspaces:3.28::el9) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:optaplanner:::el6) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| VMware spring boot | < 2.7.33 | 2.7.33 |
| VMware spring boot | >= 3.3.0, < 3.3.19 | 3.3.19 |
| VMware spring boot | >= 3.4.0, < 3.4.16 | 3.4.16 |
| VMware spring boot | >= 3.5.0, < 3.5.14 | 3.5.14 |
| VMware spring boot | >= 4.0.0, < 4.0.6 | 4.0.6 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- spring.io vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2463331 issue-tracking
- security.access.redhat.com
- RHSA-2026:25089 patch vendor-advisory
- RHSA-2026:22619 patch vendor-advisory
- RHSA-2026:21772 patch vendor-advisory
- RHSA-2026:17668 patch vendor-advisory
- github.com
- RHSA-2026:69459 patch vendor-advisory
- www.cve.org