Case Sensitivity Bypass Vulnerability in Apache Tomcat (CVE-2025-46701)

tomcat10 Updated 02 Oct 2025

Summary

29/05/2025
N/A
No i
Unrated
Not published

CVE-2025-46701: Improper Handling of Case Sensitivity vulnerability in Apache Tomcat's GCI servlet allows security constraint bypass of security constraints that apply to the pathInfo component of a URI mapped to the CGI servlet. Affects tomcat10 versions >= 16bf392c67833ad549733b58c350ff92b5ee782a, < 15c524d11651708bc046929139e6b633f2a50fb5. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, and Java Expression Language technologies. It is widely used for deploying Java applications and provides a robust environment for running web applications. The GCI servlet in Tomcat is responsible for handling Common Gateway Interface (CGI) requests. This vulnerability arises from improper handling of case sensitivity in the pathInfo component of a URI mapped to the GCI servlet, potentially allowing unauthorized access to restricted resources.

Vulnerability Detail

The vulnerability identified as CVE-2025-46701 is due to improper handling of case sensitivity in Apache Tomcat's GCI servlet. This flaw allows attackers to bypass security constraints that are supposed to protect certain paths, leading to unauthorized access to sensitive information or functionality. The issue affects multiple versions of Tomcat, specifically from 11.0.0-M1 through 11.0.6, 10.1.0-M1 through 10.1.40, and 9.0.0.M1 through 9.0.104. Attackers could exploit this vulnerability by crafting specific requests that manipulate the case of URI components, thereby circumventing security measures.

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, users can implement additional security measures such as configuring access controls at the application level to restrict access to sensitive resources, or by using a reverse proxy that can enforce stricter URI handling.

Conclusion

CVE-2025-46701 is a significant vulnerability affecting multiple versions of Apache Tomcat, allowing for potential security constraint bypasses. Users are strongly encouraged to upgrade to the latest patched versions to mitigate risks. Implementing temporary workarounds can provide additional security until an upgrade can be performed.

See every vulnerability recorded for tomcat10 →

Share this vulnerability

FAQ

CVE-2025-46701 is a vulnerability in Apache Tomcat that allows attackers to bypass security constraints due to improper handling of case sensitivity in URI paths.

The affected versions include Apache Tomcat from 11.0.0-M1 through 11.0.6, 10.1.0-M1 through 10.1.40, and 9.0.0.M1 through 9.0.104.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate upgrading is not possible, consider implementing additional security measures to restrict access to sensitive resources as a temporary workaround.

More information can be found in the official Apache Tomcat release notes and security advisories related to CVE-2025-46701.

Related vulnerabilities

Recent vulnerabilities recorded for tomcat10.

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