CVE-2016-6795 · apache
CVE-2016-6795
In the Convention plugin in Apache Struts 2.3.x before 2.3.31, and 2.5.x before 2.5.5, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side.
Published 2017-09-20, last changed 2026-06-17. Weakness: CWE-22.
How to fix
Upgrade to a fixed version: org.apache.struts:struts2-convention-plugin 2.3.31, 2.5.5 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in apache/struts by 8e67b9144a, c1869f4989. Functions changed by the fix: findResult. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2017-09-20 | Published |
| 2022-05-14 | Package advisory GHSA-44hv-jjx7-qfjg |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 8.38% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-44hv-jjx7-qfjg | org.apache.struts:struts2-convention-plugin (Maven) | 2.3.31 |
| GHSA-44hv-jjx7-qfjg | org.apache.struts:struts2-convention-plugin (Maven) | 2.5.5 |
Also known as: GHSA-44hv-jjx7-qfjg
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-134928 | 2026-12-03 | - | Apache OFBiz: Path Traversal in Catalog URL Filters Enables Unauthenticated WEB-INF File Disclosure |
| CVE-2026-129917 | 2026-12-03 | - | Apache OFBiz: Path Traversal in Image Frame Feature Enables File Read and Write Outside the Image Directory |
| CVE-2026-128984 | 2026-12-03 | 6.5 | Apache Camel: Camel-SFTP passes file names to JSch as glob patterns, so wildcards act on other files in the directory |
| CVE-2026-86156 | 2026-11-24 | 4 | Apache Jena Fuseki: Web requests using SPARQL Update can escape file restrictions for graph data |
| CVE-2026-104813 | 2026-11-24 | 5.4 | Apache BuildStream: path traversal via unvalidated CAS Directory |
| CVE-2026-97881 | 2026-11-10 | 7.5 | Apache TomEE: Path traversal in embedded HTTP server static resource handling |
| CVE-2026-86811 | 2026-11-10 | 7.5 | Apache TomEE: Path traversal via stateful EJB passivation |
| CVE-2026-76168 | 2026-11-06 | 9.8 | Apache James: ManageSieve file implementation cross-user path traversal |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-6795, or call /api/v1/vulnerabilities/CVE-2016-6795. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.