CVE-2026-40975

Summary

CVECVE-2026-40975
StatePUBLISHED
Assignervmware
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-28 00:16:24 UTC
Updated2026-06-30 03:19:21 UTC
DescriptionValues 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

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

EPSS: 0.000280000 probability, percentile 0.077440000 (date 2026-04-28)

Problem Types: CWE-330 | CWE-338 | CWE-330 CWE-330: Use of Insufficiently Random Values | CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
3.1ADPCVSS8.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
3.1[email protected]Secondary4.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary8.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
3.1CNACVSS4.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Vmware Spring Boot All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Spring Spring Boot affected 4.0.0 4.0.6 custom Not specified
CNA Spring Spring Boot affected 3.5.0 3.5.14 custom Not specified
CNA Spring Spring Boot affected 3.4.0 3.4.16 custom Not specified
CNA Spring Spring Boot affected 3.3.0 3.3.19 custom Not specified
CNA Spring Spring Boot affected 2.7.0 2.7.33 custom Not specified
ADP Red Hat HawtIO HawtIO 4.4.0 Not specified Not specified
ADP Red Hat Red Hat Data Grid 8.6.1 Not specified Not specified
ADP Red Hat Red Hat OpenShift Dev Spaces 3.28 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4.18.1 For Spring Boot 3.5.14 Not specified Not specified
ADP Red Hat Red Hat AMQ Clients Not specified Not specified
ADP Red Hat Red Hat Build Of OptaPlanner 8 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat Process Automation 7 Not specified Not specified
ADP Red Hat Red Hat Single Sign-On 7 Not specified Not specified

References

ReferenceSourceLinkTags
spring.io/security/cve-2026-40975 [email protected] spring.io Vendor Advisory
access.redhat.com/errata/RHSA-2026:17668 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
access.redhat.com/errata/RHSA-2026:25089 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:21772 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-40975 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:22619 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-04-28T00:01:58.716ZReported to Red Hat.
ADP2026-04-27T23:32:58.596ZMade public.

Solutions

ADP: RHSA-2026:25089: HawtIO HawtIO 4.4.0

ADP: RHSA-2026:22619: Red Hat Data Grid 8.6.1

ADP: RHSA-2026:21772: Red Hat OpenShift Dev Spaces 3.28

ADP: RHSA-2026:17668: Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14

Workarounds

ADP: Applications utilizing Spring Boot should avoid using the `${random.value}` property for generating cryptographic secrets or other security-sensitive data. Developers should review their application configurations and code to ensure that only cryptographically strong random number generators are used for such purposes. For UUID generation, `${random.uuid}` is not affected and can be used.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report