CVE-2024-52316 in Apache Tomcat and 1 more product
Unchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta Authentication (formerly JASPIC) ServerAuthContext component which may throw an exception during the authentication process without explicitly setting an HTTP status to indicate failure, the authentication may n...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Tomcat | 11.0.0 ≥ 9.0.0, < 9.0.96 ≥ 10.1.0, < 10.1.31 |
| Debian | Debian Linux | 11.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Unchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta Authentication (formerly JASPIC) ServerAuthContext component which may throw an exception during the authentication process without explicitly setting an HTTP status to indicate failure, the authentication may not fail, allowing the user to bypass the authentication process. There are no known Jakarta Authentication components that behave in this way. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M26, from 10.1.0-M1 through 10.1.30, from 9.0.0-M1 through 9.0.95. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other EOL versions may also be affected. Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-52316 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-045495-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-11-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-391: CWE-391
CWE-754: CWE-754
Analysis AI-written, not human-reviewed
Apache Tomcat is vulnerable to an Unchecked Error Condition in custom Jakarta Authentication (JASPIC) ServerAuthContext components, potentially allowing authentication bypass.
An attacker can exploit this vulnerability by triggering an exception during the authentication process. If the exception is not handled properly, the authentication may not fail, allowing unauthorized access.
Questions
What is CVE-2024-52316?
Apache Tomcat is vulnerable to an Unchecked Error Condition in custom Jakarta Authentication (JASPIC) ServerAuthContext components, potentially allowing authentication bypass.
What is the CVSS score for CVE-2024-52316?
CVE-2024-52316 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.2%.
Is CVE-2024-52316 actively exploited?
No confirmed active exploitation of CVE-2024-52316 as of 2026-09-25.
How do I remediate CVE-2024-52316?
Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread/lopzlqh91jj9n334g02om08sbysdb928 PSIRT: [email protected]
What systems are affected by CVE-2024-52316?
CVE-2024-52316 affects Apache Tomcat; Debian Debian Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Tomcat","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.