CVE-2026-40975: Values produced by ${random.value} are not suitable for use as secrets.
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.
Security readout for executives and security teams
Plain-English summary
Spring Boot’s ${random.value} can produce values that are too predictable for secrets. If an application used it to create passwords, tokens, or similar secret material, attackers may have a better chance of guessing them. Fixed Spring Boot releases are available for supported branches listed in the advisory.
Executive priority
Treat as high priority where Spring Boot applications generate or embed secrets from configuration. Prioritize internet-facing and authentication-sensitive services first, then complete branch upgrades and secret rotation during normal vulnerability remediation windows.
Technical view
CVE-2026-40975 affects Spring Boot random value property source behavior. ${random.value} uses weak randomness for secret use; ${random.uuid} is not affected. ${random.int} and ${random.long} should not be used for secrets because they are numeric and bounded. CVSS is 8.2 with high confidentiality impact.
Likely exposure
Exposure is likely limited to Spring Boot applications on affected versions that use ${random.value}, ${random.int}, or ${random.long} as secret material. Applications using these properties only for non-secret values have materially lower risk.
Exploitation context
The provided bundle shows KEV is false and does not cite active exploitation. The risk comes from predictable secret generation, not a confirmed public exploit chain. Real-world impact depends on whether generated values protect sensitive access.
Researcher notes
The CVSS vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N. Practical exploitability requires a target secret derived from weak random properties. The source bundle does not provide exploit details or claim active exploitation.
Mitigation direction
Upgrade to Spring Boot 4.0.6, 3.5.14, 3.4.16, 3.3.19, or 2.7.33 as applicable.
Replace ${random.value} secrets with values from a cryptographically secure secret-generation process.
Do not use ${random.int} or ${random.long} for secrets.
Rotate any deployed secrets that may have been generated from affected properties.
Review Red Hat advisories if consuming Spring Boot through Red Hat packages.
Validation and detection
Inventory applications and dependencies for affected Spring Boot version ranges.
Search configuration for ${random.value}, ${random.int}, and ${random.long} in secret-related settings.
Confirm upgraded builds resolve to the fixed Spring Boot branch version.
Review secret provenance and rotate values where origin cannot be trusted.
Document whether ${random.uuid} usage is present; the advisory says it is not affected.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-330: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-330 · source CWE mapping
Use of Insufficiently Random Values
Use of Insufficiently Random Values represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.