{"id":"CVE-2026-40975","aliases":["CVE-2026-40975","GHSA-m4x9-hx6x-2c43"],"related":[],"kind":"vulnerability","state":"published","title":"Spring Boot's random value property source uses a weak PRNG unsuitable for secrets","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Valores producidos por ${random.value} no son adecuados para su uso como secretos. ${random.uuid} no se ve afectado. ${random.int} y ${random.long} nunca deben usarse para secretos ya que son valores numéricos con un rango predecible.\n\nAfectado: Spring Boot 4.0.0-4.0.5 (corrección 4.0.6), 3.5.0-3.5.13 (corrección 3.5.14), 3.4.0-3.4.15 (corrección 3.4.16), 3.3.0-3.3.18 (corrección 3.3.19), 2.7.0-2.7.32 (corrección 2.7.33); fuente de propiedades de valor aleatorio / PRNG débil para secretos. Las versiones que ya no son compatibles también se ven afectadas según el aviso del proveedor.","source":"nvd"}],"published":"2026-04-27T23:32:58.596Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"}],"cwes":["CWE-330","CWE-338"],"affected":[{"ranges":[{"type":"custom","introduced":"4.0.0","fixed":"4.0.6","status":"affected"},{"type":"custom","introduced":"3.5.0","fixed":"3.5.14","status":"affected"},{"type":"custom","introduced":"3.4.0","fixed":"3.4.16","status":"affected"},{"type":"custom","introduced":"3.3.0","fixed":"3.3.19","status":"affected"},{"type":"custom","introduced":"2.7.0","fixed":"2.7.33","status":"affected"}],"vendor":"Spring","product":"Spring Boot","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"HawtIO HawtIO 4.4.0","package":"spring-boot","cpe":"cpe:/a:redhat:apache_camel_hawtio:4.4::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14","package":"spring-boot","cpe":"cpe:/a:redhat:apache_camel_spring_boot:4.18","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Data Grid 8.6.1","package":"spring-boot","cpe":"cpe:/a:redhat:jboss_data_grid:8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1779528224","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces 3.28","package":"devspaces/openvsx-rhel9","cpe":"cpe:/a:redhat:openshift_devspaces:3.28::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1779359423","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces 3.28","package":"devspaces/pluginregistry-rhel9","cpe":"cpe:/a:redhat:openshift_devspaces:3.28::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat AMQ Broker 7","package":"spring-boot","cpe":"cpe:/a:redhat:amq_broker:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat AMQ Clients","package":"spring-boot","cpe":"cpe:/a:redhat:amq_clients:2023","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of OptaPlanner 8","package":"spring-boot","cpe":"cpe:/a:redhat:optaplanner:::el6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"log4j:2/log4j","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"log4j","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Fuse 7","package":"spring-boot","cpe":"cpe:/a:redhat:jboss_fuse:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 7","package":"spring-boot","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","package":"spring-boot","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","package":"spring-boot","cpe":"cpe:/a:redhat:jbosseapxp","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Process Automation 7","package":"spring-boot","cpe":"cpe:/a:redhat:jboss_enterprise_bpms_platform:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","package":"spring-boot","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.6"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.5.0","status":"affected","fixed":"3.5.14"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.4.0","status":"affected","lastAffected":"3.4.15"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.3.0","status":"affected","lastAffected":"3.3.18"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.7.32"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.7.33"},{"status":"affected","introduced":"3.3.0","fixed":"3.3.19"},{"status":"affected","introduced":"3.4.0","fixed":"3.4.16"},{"status":"affected","introduced":"3.5.0","fixed":"3.5.14"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.6"}],"vendor":"vmware","product":"spring_boot","cpe":"cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://spring.io/security/cve-2026-40975","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40975","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463331","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25089","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22619","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21772","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40975","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-boot","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-28T13:51:27.326Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40975","url":"https://www.cve.org/CVERecord?id=CVE-2026-40975","licence":"CVE Terms of Use","modified":"2026-07-15T01:00:19.147Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m4x9-hx6x-2c43","url":"https://github.com/advisories/GHSA-m4x9-hx6x-2c43","licence":"CC-BY-4.0","modified":"2026-05-06T19:11:25.704Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40975","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40975","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:19.811Z","epss":{"score":0.00325,"percentile":0.2754,"date":"2026-12-01T12:00:22.000Z"}}