LiveActive security incident?Get immediate response
CVE Record

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.

HighCVSS 8.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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.
Prepared
Confidence
high
Sources
5

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.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-338: 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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-40975 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

2CVSS vectors
5Timeline events
2ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

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.

ScoreVersionSeverityVectorExploitImpactSource
8.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N3.94.2redhat-SADP
4.8CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N2.22.5vmware

Vulnerability scoring details

Base CVSS 3.1 score

8.2High
CVSS 3.1 vector shape for CVE-2026-40975Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPSpring Boot: Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
other:Red Hat severity ratingcvssV3_1
  • 2026-04-28T00:01:58.716Z: Reported to Red Hat.
  • 2026-04-27T23:32:58.596Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
SpringSpring Boot4.0.0, 3.5.0, 3.4.0, 3.3.0, 2.7.0unaffected
Weakness

CWE details

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.

CWE-338 · source CWE mapping

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.