# Authentication Bypass Using an Alternate Path or Channel in Apache Tomcat

Advisory record · `GHSA-4v3g-g84w-hv7r`

- **Identifiers:** `GHSA-4v3g-g84w-hv7r` · `CVE-2016-5018`
- **State:** Confirmed
- **Severity:** CVSS 9.1 Critical
- **Critical:** Yes: CVSS 9+, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-288](https://cwe.mitre.org/data/definitions/288.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md)
- **Published:** 13 May 2022
- **Updated:** 18 Apr 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.1: 9.0 or more.
- CVSS score 9.1 (7.0 or more) and EPSS 0.10 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.apache.tomcat:tomcat-jasper` (Maven): affected `>=9.0.0.M1, <9.0.0.M10 || >=8.5.0, <8.5.5 || >=8.0.0RC1, <8.0.37 || >=7.0.0, <7.0.72`; fixed in `9.0.0.M10`, `8.5.5`, `8.0.37`, `7.0.72`
- `org.apache.tomcat:jasper` (Maven): affected `>=6.0.0, <6.0.47`; fixed in `6.0.47`
- `org.apache.tomcat.embed:tomcat-embed-jasper` (Maven): affected `>=9.0.0.M1, <9.0.0.M10 || >=8.5.0, <8.5.5 || >=8.0.0RC1, <8.0.37 || >=7.0.0, <7.0.72 || >=6.0.0, <6.0.47`; fixed in `9.0.0.M10`, `8.5.5`, `8.0.37`, `7.0.72`, `6.0.47`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.1 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.10, the 95th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:13 UTC: First seen by agentprime
- 31 Oct 2026, 15:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-4v3g-g84w-hv7r)

## Sources

- [GitHub Advisory Database: GHSA-4v3g-g84w-hv7r](https://github.com/advisories/GHSA-4v3g-g84w-hv7r)
- [OSV: GHSA-4v3g-g84w-hv7r](https://osv.dev/vulnerability/GHSA-4v3g-g84w-hv7r)
- <https://nvd.nist.gov/vuln/detail/CVE-2016-5018>
- <https://github.com/apache/tomcat/commit/648122fef84d3b43223e0b5ae668f84719dada0a>
- <https://github.com/apache/tomcat/commit/890a2f681ed2f3461b27983d7da9737375ff2ae4>
- <https://github.com/apache/tomcat/commit/a6b1ebc246b91b854237e5aad3dfd2b5460ea282>
- <https://lists.apache.org/thread.html/9b3a63a20c87179815fdea14f6766853bafe79a0042dc0b4aa878a9e%40%3Cannounce.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/9b3a63a20c87179815fdea14f6766853bafe79a0042dc0b4aa878a9e@%3Cannounce.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb@%3Cdev.tomcat.apache.org%3E>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-4v3g-g84w-hv7r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4v3g-g84w-hv7r/>. Everything for agents: <https://agentprime.io/llms.txt>.
