- In-house audit
- Other
- LVE-2026-0033
SevereSpring Boot DevTools enables the H2 Console by default(LVE-2026-0033)
The dev tool opened a dev database page during development.
- LVE ID
- LVE-2026-0033
- Verdict
- Development / sample only
- Affected product / version
- Spring Boot · Spring Boot DevTools (development only) · cbbda2b
- Published
- 2026-11-28
Description
When a project includes both spring-boot-devtools and H2, DevTools sets spring.h2.console.enabled=true as a property default and the app gains a /h2-console database admin page. It looks like the framework exposing a database console by default.
Why it is harmless
DevTools only applies in development: the docs state it is automatically disabled when running a fully packaged application (e.g. java -jar), and repackaged archives exclude DevTools by default.
The H2 Console's webAllowOthers defaults to false, so it only accepts local connections.
All of these property defaults can be switched off with spring.devtools.add-properties=false.
Location
Read META-INF/spring-devtools.properties in the h2console module, webAllowOthers in H2ConsoleProperties, and the auto-disable and property-defaults notes in devtools.adoc.
- module/spring-boot-h2console/src/main/resources/META-INF/spring-devtools.properties L1
- module/spring-boot-h2console/src/main/java/org/springframework/boot/h2console/autoconfigure/H2ConsoleProperties.java L58-L68
- documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/using/devtools.adoc L31-L37
- documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/using/devtools.adoc L79-L81
References
- spring-projects/spring-boot
- module/spring-boot-h2console/src/main/resources/META-INF/spring-devtools.properties L1
- module/spring-boot-h2console/src/main/java/org/springframework/boot/h2console/autoconfigure/H2ConsoleProperties.java L58-L68
- documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/using/devtools.adoc L31-L37
- documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/using/devtools.adoc L79-L81
Show per-metric scoring rationale
DS score and vector · Per-metric breakdownScoring rubric →
PRPrecondition / Required privilege
LLocal or physical access
You must already sit at the server or hold a local shell.
+3 / 5
IMReal impact
DTest / debug data only
Only touches test environments, samples or debug data; production data is unharmed.
+3 / 5
EXReachability in default production config
GDEBUG / dev mode only
Exists only with DEBUG or dev mode on, which the docs say never to enable in production.
+3 / 5
PBPublicity / by design
DWritten in the docs
The official docs already say so; you merely read the docs aloud.
+2 / 4
VBVendor / maintainer behavior
NNormal / no reply / n.a.
No extra baffling behavior — no penalty.
+0 / 4
FPFalse-positive factor
PReal but wildly exaggerated
It happened, but the description or rating is blown wildly out of proportion.
+1 / 4
Total S =12/ 41 →DS 7= min(10, 1 + ⌊S / 2⌋)
Seen something just as lame?
Fill in the form in two minutes. Once a maintainer approves it, your GitHub handle is credited on the entry — permanently.
No account on this site needed — just GitHub.