CVE-2026-40975
published 2026-04-28CVE-2026-40975: 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…
PriorityP344high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
0.31%
23.2th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| devspaces | openvsx-rhel9 | — | — |
| devspaces | pluginregistry-rhel9 | — | — |
| spring | spring_boot | >= 2.7.0 < 2.7.33 | 2.7.33 |
| spring | spring_boot | >= 3.3.0 < 3.3.19 | 3.3.19 |
| spring | spring_boot | >= 3.4.0 < 3.4.16 | 3.4.16 |
| spring | spring_boot | >= 3.5.0 < 3.5.14 | 3.5.14 |
| spring | spring_boot | >= 4.0.0 < 4.0.6 | 4.0.6 |
| vmware | spring_boot | < 2.7.33 | 2.7.33 |
| vmware | spring_boot | >= 3.3.0 < 3.3.19 | 3.3.19 |
| vmware | spring_boot | >= 3.4.0 < 3.4.16 | 3.4.16 |
| vmware | spring_boot | >= 3.5.0 < 3.5.14 | 3.5.14 |
| vmware | spring_boot | >= 4.0.0 < 4.0.6 | 4.0.6 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
Spring Boot: Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
vendor_redhat·2026-04-27·CVSS 7.5
CVE-2026-40975 [HIGH] CWE-338 Spring Boot: Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
Spring Boot: Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
A flaw was found in Spring Boot. The `${random.value}` property source utilizes a weak pseudo-random number generator (PRNG), meaning the values it produces are not sufficiently random for use as cryptographic secrets. An attacker could potentially predict these values, which may lead to information disclosure or a security bypass if they are used in sensitive applications.
Mitigation: 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
GHSA
Spring Boot's random value property source uses a weak PRNG unsuitable for secrets
ghsa·2026-04-28
CVE-2026-40975 [MEDIUM] CWE-330 Spring Boot's random value property source uses a weak PRNG unsuitable for secrets
Spring Boot's random value property source uses a weak PRNG unsuitable for 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.
VulDB
Vmware Spring Boot up to 4.0.5 ${random.value} random values
vuldb·2026-04-28·CVSS 4.8
CVE-2026-40975 [MEDIUM] Vmware Spring Boot up to 4.0.5 ${random.value} random values
A vulnerability was found in Vmware Spring Boot up to 2.7.32/3.3.18/3.4.15/3.5.13/4.0.5. It has been classified as problematic. This affects an unknown part. Performing a manipulation of the argument ${random.value} results in insufficiently random values.
This vulnerability is cataloged as CVE-2026-40975. It is possible to initiate the attack remotely. There is no exploit available.
Upgrading the affected component is recommended.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-40975 log4j: Spring Boot: Weak pseudo-random number generation can lead to information disclosure. [fedora-all]
bugzilla·2026-04-29·CVSS 4.8
CVE-2026-40975 [MEDIUM] CVE-2026-40975 log4j: Spring Boot: Weak pseudo-random number generation can lead to information disclosure. [fedora-all]
CVE-2026-40975 log4j: Spring Boot: Weak pseudo-random number generation can lead to information disclosure. [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-40975 maven-shade-plugin: Spring Boot: Weak pseudo-random number generation can lead to information disclosure. [fedora-all]
bugzilla·2026-04-29·CVSS 4.8
CVE-2026-40975 [MEDIUM] CVE-2026-40975 maven-shade-plugin: Spring Boot: Weak pseudo-random number generation can lead to information disclosure. [fedora-all]
CVE-2026-40975 maven-shade-plugin: Spring Boot: Weak pseudo-random number generation can lead to information disclosure. [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-40975 Spring Boot: Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
bugzilla·2026-04-28·CVSS 7.5
CVE-2026-40975 [HIGH] CVE-2026-40975 Spring Boot: Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
CVE-2026-40975 Spring Boot: Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
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.
Discussion:
This issue has been addressed in the following products:
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
Via RHSA-2026:17668 https://access.redhat.
https://spring.io/security/cve-2026-40975https://access.redhat.com/errata/RHSA-2026:17668https://access.redhat.com/errata/RHSA-2026:21772https://access.redhat.com/errata/RHSA-2026:22619https://access.redhat.com/errata/RHSA-2026:25089https://access.redhat.com/security/cve/CVE-2026-40975https://bugzilla.redhat.com/show_bug.cgi?id=2463331https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json
2026-04-28
Published