# Potential remote code execution in Apache Tomcat

Advisory record · `GHSA-jgwr-3qm3-26f3`

- **Identifiers:** `GHSA-jgwr-3qm3-26f3` · `BIT-tomcat-2021-25329` · `CVE-2021-25329`
- **State:** Confirmed
- **Severity:** CVSS 7.0 High
- **Critical:** No
- **Weakness (CWE):** [CWE-502](https://cwe.mitre.org/data/definitions/502.html)
- **Tags:** [Insecure deserialization](https://agentprime.io/advisories/tag/deserialization.md)
- **Published:** 19 Mar 2021
- **Updated:** 7 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 19 Mar 2021, 20:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.tomcat.embed:tomcat-embed-core` (Maven): affected `>=10.0.0-M1, <10.0.2 || >=9.0.0, <9.0.41 || >=8.0.0, <8.5.61 || >=7.0.0, <7.0.108`; fixed in `10.0.2`, `9.0.41`, `8.5.61`, `7.0.108`

## 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.0 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

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

## Timeline

- 31 Oct 2026, 14:19 UTC: First seen by agentprime
- 31 Oct 2026, 14:19 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-jgwr-3qm3-26f3)

## Sources

- [GitHub Advisory Database: GHSA-jgwr-3qm3-26f3](https://github.com/advisories/GHSA-jgwr-3qm3-26f3)
- [OSV: GHSA-jgwr-3qm3-26f3](https://osv.dev/vulnerability/GHSA-jgwr-3qm3-26f3)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25329>
- <https://github.com/apache/tomcat/commit/6d66e99ef85da93e4d2c2a536ca51aa3418bfaf4>
- <https://www.oracle.com/security-alerts/cpuoct2021.html>
- <https://www.oracle.com/security-alerts/cpujan2022.html>
- <https://www.oracle.com//security-alerts/cpujul2021.html>
- <https://www.debian.org/security/2021/dsa-4891>
- <https://security.netapp.com/advisory/ntap-20210409-0002>
- <https://security.gentoo.org/glsa/202208-34>
- <https://lists.debian.org/debian-lts-announce/2021/03/msg00018.html>
- <https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cusers.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cannounce.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-jgwr-3qm3-26f3>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-jgwr-3qm3-26f3/>. Everything for agents: <https://agentprime.io/llms.txt>.
