8.2
HIGH CVSS 3.1
CVE-2026-40975
Spring Boot Weak PRNG for Secrets
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.

INFO

Published Date :

April 28, 2026, 12:16 a.m.

Last Modified :

July 15, 2026, 2:21 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-40975 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Vmware spring_boot
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 MEDIUM dcf2e128-44bd-42ed-91e8-88f912c1401d
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Solution
Update to a patched version for proper secret management and random value generation.
  • Update Spring Boot to a fixed version.
  • Avoid using numeric or predictable values for secrets.
  • Use a strong cryptographically secure random number generator.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-40975 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-40975 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-40975 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-40975 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    Jul. 15, 2026

    Action Type Old Value New Value
    Changed Affected [{'cpes': ['cpe:/a:redhat:apache_camel_hawtio:4.4::el9'], 'vendor': 'Red Hat', 'product': 'HawtIO HawtIO 4.4.0', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_data_grid:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Data Grid 8.6.1', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:openshift_devspaces:3.28::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat OpenShift Dev Spaces 3.28', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:apache_camel_spring_boot:4.18'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:amq_clients:2023'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Clients', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:optaplanner:::el6'], 'vendor': 'Red Hat', 'product': 'Red Hat build of OptaPlanner 8', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:amq_broker:7'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Broker 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_bpms_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Process Automation 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:red_hat_single_sign_on:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Single Sign-On 7', 'defaultStatus': 'unaffected'}] [{'cpes': ['cpe:/a:redhat:apache_camel_hawtio:4.4::el9'], 'vendor': 'Red Hat', 'product': 'HawtIO HawtIO 4.4.0', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:apache_camel_spring_boot:4.18'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_data_grid:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Data Grid 8.6.1', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_devspaces:3.28::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat OpenShift Dev Spaces 3.28', 'versions': [{'status': 'unaffected', 'version': '1779528224', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'devspaces/openvsx-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:openshift_devspaces:3.28::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat OpenShift Dev Spaces 3.28', 'versions': [{'status': 'unaffected', 'version': '1779359423', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'devspaces/pluginregistry-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:amq_broker:7'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Broker 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:amq_clients:2023'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Clients', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:optaplanner:::el6'], 'vendor': 'Red Hat', 'product': 'Red Hat build of OptaPlanner 8', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'packageName': 'log4j:2/log4j', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'packageName': 'log4j', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_bpms_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Process Automation 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:red_hat_single_sign_on:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Single Sign-On 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}]
  • CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    Jun. 30, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:/a:redhat:apache_camel_hawtio:4.4::el9'], 'vendor': 'Red Hat', 'product': 'HawtIO HawtIO 4.4.0', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_data_grid:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Data Grid 8.6.1', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:openshift_devspaces:3.28::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat OpenShift Dev Spaces 3.28', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:apache_camel_spring_boot:4.18'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:amq_clients:2023'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Clients', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:optaplanner:::el6'], 'vendor': 'Red Hat', 'product': 'Red Hat build of OptaPlanner 8', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:amq_broker:7'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Broker 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_bpms_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Process Automation 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:red_hat_single_sign_on:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Single Sign-On 7', 'defaultStatus': 'unaffected'}]
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
    Added CWE CWE-338
    Added Reference https://access.redhat.com/errata/RHSA-2026:17668
    Added Reference https://access.redhat.com/errata/RHSA-2026:21772
    Added Reference https://access.redhat.com/errata/RHSA-2026:22619
    Added Reference https://access.redhat.com/errata/RHSA-2026:25089
    Added Reference https://access.redhat.com/security/cve/CVE-2026-40975
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2463331
    Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json
  • CVE Modified by [email protected]

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'Spring', 'product': 'Spring Boot', 'versions': [{'status': 'affected', 'version': '4.0.0', 'lessThan': '4.0.6', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.5.0', 'lessThan': '3.5.14', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.4.0', 'lessThan': '3.4.16', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.3.0', 'lessThan': '3.3.19', 'versionType': 'custom'}, {'status': 'affected', 'version': '2.7.0', 'lessThan': '2.7.33', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-40975', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-04-28T13:51:27.326869Z'}
  • Initial Analysis by [email protected]

    Apr. 30, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Added CPE Configuration OR *cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.0.6 *cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* versions from (including) 3.3.0 up to (excluding) 3.3.19 *cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* versions from (including) 3.4.0 up to (excluding) 3.4.16 *cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (excluding) 3.5.14 *cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* versions up to (excluding) 2.7.33
    Added Reference Type VMware: https://spring.io/security/cve-2026-40975 Types: Vendor Advisory
  • New CVE Received by [email protected]

    Apr. 28, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
    Added CWE CWE-330
    Added Reference https://spring.io/security/cve-2026-40975
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.