# Apache Tomcat vulnerable to SecurityManager bypass

Advisory record · `GHSA-3mjp-p938-4329`

- **Identifiers:** `GHSA-3mjp-p938-4329` · `CVE-2016-6796`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Published:** 13 May 2022
- **Updated:** 28 Nov 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.

## Affected packages

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

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Tomcat versions 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70, and 6.0.0 to 6.0.45 are affected. A malicious web application deployed on the server can bypass a configured SecurityManager by manipulating the JSP Servlet configuration parameters. Upgrade to 9.0.0.M10, 8.5.5, 8.0.37, 7.0.71, 6.0.46, or a later release.

Written 8 Nov 2026.

## 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.083, 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-3mjp-p938-4329)

## Sources

- [GitHub Advisory Database: GHSA-3mjp-p938-4329](https://github.com/advisories/GHSA-3mjp-p938-4329)
- [OSV: GHSA-3mjp-p938-4329](https://osv.dev/vulnerability/GHSA-3mjp-p938-4329)
- <https://nvd.nist.gov/vuln/detail/CVE-2016-6796>
- <https://github.com/apache/tomcat/commit/f603f2f4595073f9490e01699d2083112a7c09a7>
- <https://github.com/apache/tomcat/commit/f97769f50ee2613e1bf27107a01d48907fd993ac>
- <https://github.com/apache/tomcat/commit/ffa0346fba2946401630291b642f1cff66d6a2be>
- <https://github.com/apache/tomcat80/commit/d98fa92b9dfc90fe1ffdaa3cce1be3be84532260>
- <https://access.redhat.com/errata/RHSA-2017:0455>
- <https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a@%3Cdev.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>

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-3mjp-p938-4329>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3mjp-p938-4329/>. Everything for agents: <https://agentprime.io/llms.txt>.
