# CVE-2025-55668: Apache Tomcat session fixation in rewrite valve

Source: https://junglewise.ai/threats/cve-2025-55668-apache-tomcat-session-fixation-in-rewrite-valve  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-08-13. Updated: 2026-07-01  
License: CC BY 4.0 with a link back

CVE-2025-55668 · Severity: medium · CVSS 6.5 · Published 2025-08-13

Apache Tomcat is a widely used web server and application container for Java-based websites. A security flaw in its URL rewriting component could allow an attacker to hijack a user's session. If successful, this could lead to unauthorized access to sensitive user data or account takeover.

Technologies: [Apache Tomcat](https://junglewise.ai/threats/technologies/tomcat), [org.apache.tomcat:tomcat-catalina (Maven)](https://junglewise.ai/threats/technologies/org-apache-tomcat-tomcat-catalina), [org.apache.tomcat.embed:tomcat-embed-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-tomcat-embed-tomcat-embed-core). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-55668 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-55668 being exploited in the wild.

**How severe is CVE-2025-55668?** Medium severity, with a CVSS score of 6.5, published 13 August 2025.

**Which products and versions are affected?** Apache Tomcat 9.0.0.M1 to 9.0.105, 10.1.0-M1 to 10.1.41, 11.0.0-M1 to 11.0.7; org.apache.tomcat:tomcat-catalina (Maven) ECOSYSTEM:introduced=11.0.0-M1,fixed=11.0.8; org.apache.tomcat.embed:tomcat-embed-core (Maven) ECOSYSTEM:introduced=11.0.0-M1,fixed=11.0.8.

**Is there a fix for CVE-2025-55668?** Yes. org.apache.tomcat:tomcat-catalina (Maven): upgrade to 11.0.8 or later; org.apache.tomcat.embed:tomcat-embed-core (Maven): upgrade to 11.0.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-55668 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-55668?** Check whether you run Apache Tomcat, org.apache.tomcat:tomcat-catalina (Maven) or org.apache.tomcat.embed:tomcat-embed-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.tomcat:tomcat-catalina (Maven): upgrade to 11.0.8 or later

  ```sh
  # set org.apache.tomcat:tomcat-catalina to 11.0.8 in your pom.xml or build.gradle
  ```

- org.apache.tomcat.embed:tomcat-embed-core (Maven): upgrade to 11.0.8 or later

  ```sh
  # set org.apache.tomcat.embed:tomcat-embed-core to 11.0.8 in your pom.xml or build.gradle
  ```


## Technical details

A session fixation vulnerability (CWE-384) exists in Apache Tomcat's rewrite valve component. The flaw allows an attacker to establish a known session identifier for a user, which Tomcat fails to properly invalidate or rotate during authentication or session establishment. This network-based attack requires minimal user interaction and can result in the compromise of session confidentiality. The issue is resolved in versions 9.0.106, 10.1.42, and 11.0.8.

## Affected products

- Apache Tomcat 9.0.0.M1 to 9.0.105, 10.1.0-M1 to 10.1.41, 11.0.0-M1 to 11.0.7

## Identifiers

- CVE-2025-55668
- GHSA-23hv-mwm6-g8jf

## Timeline

- 2025-08-13: disclosed
- 2025-08-13: advisory

## References

- [https://api.github.com/users/yusuke-koyoshi](https://api.github.com/users/yusuke-koyoshi)
- [https://github.com/yusuke-koyoshi](https://github.com/yusuke-koyoshi)
- [https://api.github.com/users/yusuke-koyoshi/gists%7B/gist_id%7D](https://api.github.com/users/yusuke-koyoshi/gists%7B/gist_id%7D)
- [https://api.github.com/users/yusuke-koyoshi/repos](https://api.github.com/users/yusuke-koyoshi/repos)
- [https://avatars.githubusercontent.com/u/92022336?v=4](https://avatars.githubusercontent.com/u/92022336?v=4)
- [https://api.github.com/users/yusuke-koyoshi/events%7B/privacy%7D](https://api.github.com/users/yusuke-koyoshi/events%7B/privacy%7D)

## Related threats

- [Apache Tomcat Jakarta Security credential handler bypass](https://junglewise.ai/threats/cve-2026-111248-the-jakarta-security-identity-store-backed-by-the-tomcat-user)
- [Apache Tomcat incomplete cleanup in TLS 1.3 connections](https://junglewise.ai/threats/cve-2026-93446-incomplete-cleanup-vulnerability-in-apache-tomcat-could-cause-tls)
- [Apache Tomcat HTTP trailer information leak between requests](https://junglewise.ai/threats/cve-2026-88041-incomplete-cleanup-vulnerability-in-apache-tomcat-allowed-an)
- [Apache Tomcat TOCTOU race condition in APR/Native connector](https://junglewise.ai/threats/cve-2026-80353-time-of-check-time-of-use-toctou-race-condition-vulnerability-in)
- [Apache Tomcat Execution After Redirect vulnerability](https://junglewise.ai/threats/cve-2026-74049-execution-after-redirect-ear-vulnerability-in-apache-tomcat-this)
