CVE-2026-40975
Spring Spring Boot
MEDIUM 4.8
At a glance
- Source
- NVD
- EPSS
- EPSS 0.31 % · percentile 24 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- vmware
- NVD 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. Affected: 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.
Weaknesses (CWE)
- CWE-330 — Use of Insufficiently Random Values
- CWE-338 — Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
- https://spring.io/security/cve-2026-40975
- https://access.redhat.com/security/cve/CVE-2026-40975
- https://bugzilla.redhat.com/show_bug.cgi?id=2463331
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json
- https://access.redhat.com/errata/RHSA-2026:25089
- https://access.redhat.com/errata/RHSA-2026:22619
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/errata/RHSA-2026:17668
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | vmware |
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | redhat-SADP |
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD · security@vmware.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-m4x9-hx6x-2c43 — Spring Boot's random value property source uses a weak PRNG unsuitable for secrets
European references
- ENISA EUVD · EUVD-2026-25939
- GCVE · GCVE-0-2026-40975
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1336 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0788 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0667 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0488 — Multiples vulnérabilités dans Spring Boot · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*< 2.7.33cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*≥ 3.3.0 < 3.3.19cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*≥ 3.4.0 < 3.4.16cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*≥ 3.5.0 < 3.5.14cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*≥ 4.0.0 < 4.0.6
Affected products
| Product | Versions |
|---|---|
| Spring · Spring Boot | affected 4.0.0 < 4.0.6 ; affected 3.5.0 < 3.5.14 ; affected 3.4.0 < 3.4.16 ; affected 3.3.0 < 3.3.19 ; affected 2.7.0 < 2.7.33 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |