cve.bz

CVE-2016-6795 apache struts: Path traversal

9.8 criticalEPSS 8.4%Fix available

Critical (9.8) in apache struts. EPSS 8.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.struts:struts2-convention-plugin 2.3.31, 2.5.5.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
8.4% (unchanged from 8.4% a week ago; 8.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-6795 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-6795?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-6795?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-6795 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:struts2.3.20
apache:struts2.3.20.1
apache:struts2.3.20.2
apache:struts2.3.20.3
apache:struts2.3.21
apache:struts2.3.22
apache:struts2.3.23
apache:struts2.3.24
apache:struts2.3.24.1
apache:struts2.3.24.2
apache:struts2.3.24.3
apache:struts2.3.25
apache:struts2.3.26
apache:struts2.3.27
apache:struts2.3.28
apache:struts2.3.28.1
apache:struts2.3.29
apache:struts2.3.30

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-44hv-jjx7-qfjgMavenorg.apache.struts:struts2-convention-plugin>=2.3.0 <2.3.312.3.31
GHSA-44hv-jjx7-qfjgMavenorg.apache.struts:struts2-convention-plugin>=2.5.0 <2.5.52.5.5

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON