{"schemaVersion":3,"id":"CVE-2026-40975","aliases":["GHSA-m4x9-hx6x-2c43"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-04-27T23:32:58.596Z","modified":"2026-07-15T01:00:19.147Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":5.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00413,"percentile":0.34225,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.101,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00312},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00413,"percentile":0.34225}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00413,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00413,"percentile":0.34225}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-330","name":"Use of Insufficiently Random Values","description":"The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/330.html"},{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","description":"The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/338.html"}],"affected":[{"vendor":"org.springframework.boot","product":"spring-boot-cassandra","name":"org.springframework.boot:spring-boot-cassandra","label":"spring-boot-cassandra","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","purlType":"maven","versions":[{"text":"≥ 4.0.0, < 4.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, < 3.5.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.4.0, ≤ 3.4.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, ≤ 3.3.18","noFixRecorded":false,"fixedIn":null},{"text":"≤ 2.7.32","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":null},{"vendor":"spring","product":"spring boot","name":"Spring Boot","label":"spring boot","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, < 3.5.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.4.0, < 3.4.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.7.0, < 2.7.33","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.0.6 | ≥ 3.5.0, < 3.5.14 | ≥ 3.4.0, < 3.4.16 | ≥ 3.3.0, < 3.3.19 | ≥ 2.7.0, < 2.7.33","eol":null,"hubHref":"/vendor/spring/spring_boot"},{"vendor":"vmware","product":"spring_boot","name":"spring boot","label":"spring_boot","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.7.33","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.4.0, < 3.4.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, < 3.5.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.33 | ≥ 3.3.0, < 3.3.19 | ≥ 3.4.0, < 3.4.16 | ≥ 3.5.0, < 3.5.14 | ≥ 4.0.0, < 4.0.6","eol":null,"hubHref":"/vendor/vmware/spring_boot"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-40975","label":"spring.io/security/cve-2026-40975","hostname":"spring.io","tags":["WEB","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40975","label":"access.redhat.com/security/cve/CVE-2026-40975","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463331","label":"bugzilla.redhat.com/show_bug.cgi?id=2463331","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25089","label":"access.redhat.com/errata/RHSA-2026:25089","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22619","label":"access.redhat.com/errata/RHSA-2026:22619","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21772","label":"access.redhat.com/errata/RHSA-2026:21772","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","label":"access.redhat.com/errata/RHSA-2026:17668","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40975","label":"nvd.nist.gov/vuln/detail/CVE-2026-40975","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/spring-projects/spring-boot","label":"github.com/spring-projects/spring-boot","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-27T23:32:58.596Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:00:19.147Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:44:25.836Z","stale":false,"partial":false}}