{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40975","id":"CVE-2026-40975","title":"Spring Boot's random value property source uses a weak PRNG unsuitable for secrets","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","descriptionLong":"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.","published":"2026-04-27T23:32:58.596Z","updated":"2026-10-28T02:30:43.397024194Z","reserved":"2026-04-16T02:19:04.616Z","status":"Modified","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"vmware"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"vmware"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"vmware.com"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Spring Boot"],"affectedProducts":[{"vendor":"Spring","product":"Spring Boot","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.0.0","lessThan":"4.0.6","versionType":"custom"},{"status":"affected","version":"3.5.0","lessThan":"3.5.14","versionType":"custom"},{"status":"affected","version":"3.4.0","lessThan":"3.4.16","versionType":"custom"},{"status":"affected","version":"3.3.0","lessThan":"3.3.19","versionType":"custom"},{"status":"affected","version":"2.7.0","lessThan":"2.7.33","versionType":"custom"}],"platforms":[]}],"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",">=3.5.0 <3.5.14",">=3.4.0 <=3.4.15",">=3.3.0 <=3.3.18","<=2.7.32"],"fixed":["4.0.6","3.5.14"],"advisory":"GHSA-m4x9-hx6x-2c43"}],"cwes":["CWE-330","CWE-338"],"aliases":["GHSA-m4x9-hx6x-2c43"],"references":[{"url":"https://spring.io/security/cve-2026-40975","tags":["Vendor Advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40975","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463331","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25089","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22619","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21772","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40975.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40975","tags":["advisory"]},{"url":"https://github.com/spring-projects/spring-boot","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00312,"epssPercentile":0.24543,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40975","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40975","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40975","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m4x9-hx6x-2c43","ok":true,"note":"GHSA-m4x9-hx6x-2c43"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40975","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["spring"],"critical":[],"attention":null}