CVE-2025-12543: Undertow HTTP Server Core Host Header Validation Flaw

io.undertow:undertow-core Updated 08 Jan 2026

Summary

07/01/2026
No i
Critical
9.6

CVE-2025-12543: Undertow HTTP server core doesn't properly validate the Host header in incoming HTTP requests. Affects io.undertow:undertow-core versions < 2.4.0.Alpha1. No fix is published. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Undertow is a flexible and performant web server written in Java, often used in conjunction with Java applications such as WildFly and JBoss EAP. It supports both blocking and non-blocking APIs and is designed to handle a large number of concurrent connections efficiently. However, a critical vulnerability has been identified in its handling of the Host header in incoming HTTP requests, which can lead to severe security issues.

Vulnerability Detail

A flaw in the Undertow HTTP server core allows it to improperly validate the Host header in incoming HTTP requests. This vulnerability can be exploited by attackers to send malformed or malicious Host headers, which may lead to cache poisoning, internal network scanning, or session hijacking. The failure to reject such requests poses a significant risk to applications relying on Undertow, making it crucial for users to address this issue promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement a reverse proxy in front of your Undertow server that validates the Host header before forwarding requests. This can help mitigate the risk until a proper fix is applied.

Conclusion

The Undertow HTTP server core vulnerability (CVE-2025-12543) poses a significant risk due to improper validation of the Host header in HTTP requests. Users are strongly advised to update to the patched version to safeguard their applications against potential attacks.

See every vulnerability recorded for io.undertow:undertow-core →

Share this vulnerability

FAQ

The CVSS score for this vulnerability is 9.6, indicating a critical level of severity.

Versions of Undertow core from 0 up to 2.4.0.Alpha1 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 with Vulert's playground at Vulert Scanner.

Exploiting this vulnerability can lead to cache poisoning, internal network scans, and session hijacking, compromising the security of your application.

Yes, a patch is available. Update to version 2.4.1 or later of the Undertow core package to mitigate this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for io.undertow:undertow-core.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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