Live threats

All CVEs / Apache

CVE-2016-6795Apache Struts

Critical 9.8 No auth needed

Priority
75
CVSS 3.0
9.8
EPSS
8.4%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Sep 20, 2017
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Struts.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts:struts2-convention-plugin ≥ 2.3.0 < 2.3.31 2.3.31 —
Maven org.apache.struts:struts2-convention-plugin ≥ 2.5.0 < 2.5.5 2.5.5 —

Per OSV / GitHub Advisories (GHSA-44hv-jjx7-qfjg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts2.3.20
apachestruts2.3.20.1
apachestruts2.3.20.2
apachestruts2.3.20.3
apachestruts2.3.21
apachestruts2.3.22
apachestruts2.3.23
apachestruts2.3.24
apachestruts2.3.24.1
apachestruts2.3.24.2
apachestruts2.3.24.3
apachestruts2.3.25
apachestruts2.3.26
apachestruts2.3.27
apachestruts2.3.28
apachestruts2.3.28.1
apachestruts2.3.29
apachestruts2.3.30

Official sources

References

Links published by the sources. Open them with care.