KeygraphLabs · CVE MCP

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.

CVSS
9.8
critical, from NVD
EPSS
8.38%
percentile 95.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-20Published
2022-05-14Package advisory GHSA-44hv-jjx7-qfjg
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 8.38%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-44hv-jjx7-qfjgorg.apache.struts:struts2-convention-plugin (Maven)2.3.31
GHSA-44hv-jjx7-qfjgorg.apache.struts:struts2-convention-plugin (Maven)2.5.5

Also known as: GHSA-44hv-jjx7-qfjg

Related

CVEPublishedCVSSSummary
CVE-2026-1349282026-12-03-Apache OFBiz: Path Traversal in Catalog URL Filters Enables Unauthenticated WEB-INF File Disclosure
CVE-2026-1299172026-12-03-Apache OFBiz: Path Traversal in Image Frame Feature Enables File Read and Write Outside the Image Directory
CVE-2026-1289842026-12-036.5Apache Camel: Camel-SFTP passes file names to JSch as glob patterns, so wildcards act on other files in the directory
CVE-2026-861562026-11-244Apache Jena Fuseki: Web requests using SPARQL Update can escape file restrictions for graph data
CVE-2026-1048132026-11-245.4Apache BuildStream: path traversal via unvalidated CAS Directory
CVE-2026-978812026-11-107.5Apache TomEE: Path traversal in embedded HTTP server static resource handling
CVE-2026-868112026-11-107.5Apache TomEE: Path traversal via stateful EJB passivation
CVE-2026-761682026-11-069.8Apache 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.

NVD · CVE.org