CVE-2026-33012: Micronaut HTTP Server Denial of Service Vulnerability in Error Response Caching

Summary

17/03/2026
Yes i
High
7.5

CVE-2026-33012: Micronaut Framework vulnerable to a Denial of Service in HTML error response caching. Affects io.micronaut:micronaut-http-server versions >= 4.7.0, < 4.10.17. Fixed in 4.10.17. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Micronaut Framework is a modern, JVM-based framework designed for building modular, easily testable microservices and serverless applications. It provides features such as dependency injection, AOP, and HTTP server capabilities. The micronaut-http-server package is responsible for handling HTTP requests and responses, making it a critical component for applications built using Micronaut. However, a vulnerability has been identified in versions 4.7.0 to 4.10.7 that could lead to denial of service due to unbounded caching of HTML error responses.

Vulnerability Detail

The vulnerability arises from the DefaultHtmlErrorResponseBodyProvider class in the io.micronaut:micronaut-http-server package, which, from version 4.7.0 to 4.10.7, utilized an unbounded ConcurrentHashMap cache without any eviction policy. This means that if an application throws an exception with a message influenced by an attacker (such as including request query parameters), it could lead to unbounded heap growth, ultimately causing an OutOfMemoryError and resulting in denial of service. The severity of this vulnerability is rated high, with a CVSS score of 7.5.

How To Fix

Minimum fixed version

4.10.17

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider implementing a custom error response handler that limits the size of cached error responses or avoids caching altogether until the package can be updated.

Conclusion

In summary, the Micronaut Framework's micronaut-http-server package has a critical vulnerability that could lead to denial of service due to unbounded caching of HTML error responses. It is essential to update to the patched version to mitigate this risk.

See every vulnerability recorded for io.micronaut:micronaut-http-server →

Share this vulnerability

FAQ

The vulnerability can lead to denial of service due to unbounded heap growth, which may crash the application.

Versions 4.7.0 to 4.10.7 of the micronaut-http-server package are affected by this vulnerability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application's pom.xml using the Vulert playground at Vulert Scanner.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Yes, the vulnerability has been fixed in version 4.10.17 of the micronaut-http-server package.

Related vulnerabilities

Recent vulnerabilities recorded for io.micronaut:micronaut-http-server.

How To Fix

Minimum fixed version

4.10.17

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback