CVE Database›Document archive›CVE-2026-40972

CVE-2026-40972

Spring Boot: Spring Boot: Remote code execution via timing attack in DevTools remote secret comparison

Loading…

Severity

Moderate

Red Hat Product Security

7.5

CVSS 3.1

Review impact separately from score.

Published · April 28, 2026

Updated · October 10, 2026

Description

A flaw was found in Spring Boot. An attacker on the same network as the remote application may be able to utilize a timing attack to discover information about a remote secret. In extreme circumstances, this could allow the attacker to determine the secret and upload changed classes, leading to remote code execution in the remote application.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, disable the Spring Boot DevTools remote functionality in production environments. This feature is primarily intended for development and should not be enabled in publicly accessible deployments.

To disable remote DevTools, ensure the spring.devtools.remote.secret property is not configured, or explicitly set spring.devtools.remote.enabled=false in your application's application.properties or application.yml file.

Example for application.properties: spring.devtools.remote.enabled=false

Disabling this feature may impact development workflows that rely on remote DevTools capabilities. A restart of the application is required for the changes to take effect.

CVSS / CWE

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

CWE-208 · Observable Timing Discrepancy