CVE-2016-6796
Apache Tomcat vulnerable to SecurityManager bypass
Reported by apache · Published August 11, 2017
tomcat is fixed in 9.0.0.M9, 8.5.4, 8.0.36 and 2 more (Maven Central)
A malicious web application running on Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 was able to bypass a configured SecurityManager via manipulation of the configuration parameters for the JSP Servlet.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat | Maven Central | 9.0.0.M9, 8.5.4, 8.0.36, 7.0.70, 6.0.45 |
| tomcat6 | Ubuntu:16.04:LTS | 6.0.45+dfsg-1ubuntu0.1 |
| tomcat7 | Ubuntu:14.04:LTS | 7.0.52-1ubuntu0.8 |
| tomcat | apache | 8.5.4, 8.0.36, 7.0.70, 6.0.45 |
| tomcat8 | Ubuntu:16.04:LTS | 8.0.32-1ubuntu1.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36 |
| Maven | org.apache.tomcat:tomcat | 6.0.0, 7.0.0, 8.0.0.RC1 |
| Apache Software Foundation | Apache Tomcat | 9.0.0.M1, 8.5.0, 8.0.0.RC1 |
Timeline
- Oct 28, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 5, 2026 Security Advisory (11 in total, the first dated here)
- Oct 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-6796
vulnetix vdb fixes CVE-2016-6796
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-6796/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:1548 vendor-advisoryx_refsource_REDHAT
- [announce] 20161027 [SECURITY] CVE-2016-6796 Apache Tomcat Security Manager Bypass mailing-listx_refsource_MLIST
- RHSA-2017:1549 vendor-advisoryx_refsource_REDHAT
- 93944 vdb-entryx_refsource_BID
- RHSA-2017:1552 vendor-advisoryx_refsource_REDHAT
- 1038757 vdb-entryx_refsource_SECTRACK
- 1037141 vdb-entryx_refsource_SECTRACK
- RHSA-2017:2247 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1551 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0457 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0455 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1550 vendor-advisoryx_refsource_REDHAT
- DSA-3720 vendor-advisoryx_refsource_DEBIAN
- RHSA-2017:0456 vendor-advisoryx_refsource_REDHAT
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [23/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [21/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
…and 12 more