Home / Apache Software Foundation / Apache Tomcat / CVE-2022-23181
CVE-2022-23181: is it exploited, and which versions of Apache Software Foundation Apache Tomcat are affected and fixed?
CVE-2022-23181 is a time-of-check time-of-use race condition vulnerability in Apache Software Foundation Apache Tomcat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: org.apache.tomcat:tomcat from 10.0.0 before 10.0.16, org.apache.tomcat:tomcat from 9.0.0 before 9.0.58 and org.apache.tomcat:tomcat before 8.5.75 (GitHub advisory GHSA-9f3j-pm6f-9fm5). Fixed in 10.0.16, 9.0.58 and 8.5.75 (GitHub advisory GHSA-9f3j-pm6f-9fm5). Severity: High (7.0, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:51 UTC.
What is CVE-2022-23181?
Local privilege escalation with FileStore
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.
From the CVE record by apache, last updated August 3, 2024, 03:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 |
As the CVE record by apache states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 10.0.0, < 10.0.16 | 10.0.16 | GHSA-9f3j-pm6f-9fm5 |
| Maven | org.apache.tomcat:tomcat | >= 9.0.0, < 9.0.58 | 9.0.58 | GHSA-9f3j-pm6f-9fm5 |
| Maven | org.apache.tomcat:tomcat | < 8.5.75 | 8.5.75 | GHSA-9f3j-pm6f-9fm5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 19, 2022. Summary: Race condition in Apache Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | from 8.5.55 through 8.5.73 | application |
| apache | tomcat | from 9.0.35 through 9.0.56 | application |
| apache | tomcat | from 10.0.1 through 10.0.14 | application |
| apache | tomcat | 10.0.0 | application |
| apache | tomcat | 10.1.0 | application |
| oracle | agile engineering data management | 6.2.1.0 | application |
| oracle | communications cloud native core policy | 1.15.0 | application |
| oracle | financial services crime and compliance management studio | 8.0.8.2.0 | application |
| oracle | financial services crime and compliance management studio | 8.0.8.3.0 | application |
| oracle | managed file transfer | 12.2.1.3.0 | application |
| oracle | managed file transfer | 12.2.1.4.0 | application |
| oracle | mysql enterprise monitor | through 8.0.29 | application |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:29 UTC.
How severe is CVE-2022-23181?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Low 3.7 | CVSS 2.0 | AV:L/AC:H/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-23181 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.70% probability of exploitation activity in the next 30 days, percentile 54.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Where are the vendor advisories and references?
- https://lists.apache.org/thread/l8x62p3k19yfcb208jo4zrb83k5mfwg9
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20220217-0010/
- https://www.oracle.com/security-alerts/cpujul2022.html
- [debian-lts-announce] 20221026 [SECURITY] [DLA 3160-1] tomcat9 security update mailing-list
- DSA-5265 vendor-advisory
When was it published, and where is the official record?
- Reserved
- January 12, 2022
- Published
- January 27, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 03:36 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:29 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Tomcat?
- Apr 9, 2026CVE-2026-34486 Apache Software Foundation Apache Tomcat: sensitive data not encrypted exploited
- Mar 10, 2025CVE-2025-24813 Apache Software Foundation Apache Tomcat: path Equivalence: 'file.name' (Internal Dot) exploited
- Oct 3, 2017CVE-2017-12617 Apache Software Foundation Apache Tomcat: unrestricted file upload exploited
- Sep 19, 2017CVE-2017-12615 Apache Software Foundation Apache Tomcat: unrestricted file upload exploited
- Apr 6, 2017CVE-2016-8735 Apache Software Foundation Apache Tomcat: improper access control exploited
- Nov 19, 2026CVE-2026-121649 Apache Software Foundation Apache Tomcat: use of Cache Containing Sensitive Information
- Nov 19, 2026CVE-2026-133325 Apache Software Foundation Apache Tomcat: key Exchange without Entity Authentication
- Nov 19, 2026CVE-2026-118436 Apache Software Foundation Apache Tomcat: denial of service (resources allocated without limits)
Questions about CVE-2022-23181
Is CVE-2022-23181 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.70% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Tomcat are affected by CVE-2022-23181?
org.apache.tomcat:tomcat from 10.0.0 before 10.0.16, org.apache.tomcat:tomcat from 9.0.0 before 9.0.58 and org.apache.tomcat:tomcat before 8.5.75, per the GitHub advisory GHSA-9f3j-pm6f-9fm5. The tables above give every range the sources list.
Which version fixes CVE-2022-23181?
10.0.16, 9.0.58 and 8.5.75, per the GitHub advisory GHSA-9f3j-pm6f-9fm5. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-23181?
High (7.0, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-23181?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.