{"id":"CVE-2026-40975","details":"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.","aliases":["GHSA-m4x9-hx6x-2c43"],"modified":"2026-07-16T03:30:58.926656895Z","published":"2026-04-27T23:32:58.596Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.6"},{"introduced":"3.5.0"},{"fixed":"3.5.14"},{"introduced":"3.4.0"},{"fixed":"3.4.16"},{"introduced":"3.3.0"},{"fixed":"3.3.19"},{"introduced":"2.7.0"},{"fixed":"2.7.33"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"vmware","cwe_ids":["CWE-330"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40975.json"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40975"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:17668"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:21772"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22619"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25089"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-40975"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40975.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40975"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463331"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-boot","events":[{"introduced":"8c2d6453243f319accaef7a190ff8ddf89f482a2"},{"fixed":"7d7b3ac12735161f9c096ce6cb415bdd9fc4a0f4"},{"introduced":"1c0e08b4c434b0e77a83098267b2a0f5a3fc56d7"},{"fixed":"8821ad2cd381bb4b9615a61479e1de7305a8ba39"}],"database_specific":{"extracted_events":[{"introduced":"3.5.0"},{"fixed":"3.5.14"},{"introduced":"4.0.0"},{"fixed":"4.0.6"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40975.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}