{"cve":"CVE-2026-40975","nvd":{"published":"2026-04-28T00:16:24.657","modified":"2026-07-24T21:10:00.143","status":"Modified","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.\n\nAffected: 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-330","CWE-338"],"references":["https://spring.io/security/cve-2026-40975","https://access.redhat.com/errata/RHSA-2026:17668","https://access.redhat.com/errata/RHSA-2026:21772","https://access.redhat.com/errata/RHSA-2026:22619","https://access.redhat.com/errata/RHSA-2026:25089"],"products":["vmware:spring_boot"],"source":"nvd","synced_at":"2026-10-19T22:33:09.003606135+00:00"},"epss":{"cve":"CVE-2026-40975","score":0.00312,"percentile":0.24171,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m4x9-hx6x-2c43","url":"https://osv.dev/vulnerability/GHSA-m4x9-hx6x-2c43","summary":"Spring Boot's random value property source uses a weak PRNG unsuitable for secrets","modified":"2026-05-06T19:11:25.704105Z","packages":[{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":[">=4.0.0 <4.0.6"],"fixed":["4.0.6"]},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":[">=3.5.0 <3.5.14"],"fixed":["3.5.14"]},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":[">=3.4.0 <=3.4.15"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":[">=3.3.0 <=3.3.18"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":["<=2.7.32"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}