CVE-2022-23181
Local privilege escalation with FileStore
Also known as BIT-tomcat-2022-23181, GHSA-9f3j-pm6f-9fm5
Mitigation
- Upgrade org.apache.tomcat:tomcat to one of 10.0.16, 9.0.58, 8.5.75 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.tomcat:tomcat (>= 10.0.0, < 10.0.16)
- Anyone running Apache Software Foundation Apache Tomcat Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M8; Apache Tomcat 10.0 10.0.0-M5 to 10.0.14; Apache Tomcat 9 9.0.35 to 9.0.56; Apache Tomcat 8 8.5.55 to 8.5.73
Vulnerability facts
- Affected
- org.apache.tomcat:tomcat >= 10.0.0, < 10.0.16
- Fixed in
- 10.0.16, 9.0.58, 8.5.75
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.51% chance of exploitation in 30 days (percentile 37, 2026-11-26)
- CWE
- CWE-367
- Modified
Description
The fix for bug CVE-2020-9484 introduced a time of check, time of use vulnerability into Apache Tomcat 10.1.0-M1 to 10.1.0-M8, 10.0.0-M5 to 10.0.14, 9.0.35 to 9.0.56 and 8.5.55 to 8.5.73 that allowed a local attacker to perform actions with the privileges of the user that the Tomcat process is using. This issue is only exploitable when Tomcat is configured to persist sessions using the FileStore.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat:tomcat | >= 10.0.0, < 10.0.16 | 10.0.16, 9.0.58, 8.5.75 | osv |
| Apache Software Foundation Apache Tomcat | Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M8; Apache Tomcat 10.0 10.0.0-M5 to 10.0.14; Apache Tomcat 9 9.0.35 to 9.0.56; Apache Tomcat 8 8.5.55 to 8.5.73 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-23181. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-23181.md Affected: org.apache.tomcat:tomcat >= 10.0.0, < 10.0.16 Fixed in: 10.0.16, 9.0.58, 8.5.75 Steps: 1. Search this machine and project for org.apache.tomcat:tomcat (Maven), Apache Software Foundation Apache Tomcat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2022-23181 being exploited?
There is no confirmed exploitation: CVE-2022-23181 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-23181?
High: CVSS 7.0 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-23181?
org.apache.tomcat:tomcat >= 10.0.0, < 10.0.16.
Is there a fix for CVE-2022-23181?
Yes. Fixed in 10.0.16, 9.0.58, 8.5.75. Upgrade org.apache.tomcat:tomcat to one of 10.0.16, 9.0.58, 8.5.75 (or later in the same release line).
How do I check if I'm affected by CVE-2022-23181?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.