CVE-2016-6796: Apache Tomcat SecurityManager Bypass via JSP Servlet Configuration
- Vendors
- Debian ProjectRed HatNetAppOracle CorporationApache Software FoundationCanonical
CVE-2016-6796 is a SecurityManager bypass vulnerability in Apache Tomcat's handling of JSP Servlet configuration parameters. A malicious web application running within Tomcat can manipulate these parameters to circumvent restrictions imposed by a configured Java SecurityManager. Affected versions are 9.0.0.M1–9.0.0.M9, 8.5.0–8.5.4, 8.0.0.RC1–8.0.36, 7.0.0–7.0.70, and 6.0.0–6.0.45.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation defeats the Java SecurityManager boundary intended to constrain an untrusted web application, allowing it to perform operations that its security policy would otherwise prohibit. The resulting access depends on the surrounding runtime and operating-system permissions; this vulnerability alone does not establish operating-system privilege escalation.
Mitigation
If you can’t patch tonight, do this now.
Until patched, prevent untrusted web applications from being deployed or executed and restrict deployment and application-configuration privileges to trusted administrators. Isolate applications with different trust levels in separate processes or containers and apply least-privilege operating-system permissions to limit the consequences of a SecurityManager bypass. These measures reduce exposure but do not correct the flaw.
Remediation
Patch, then assume compromise.
Upgrade to a fixed Apache Tomcat release. Fixed releases include 9.0.0.M10, 8.5.5, 8.0.37, 7.0.72, and 6.0.47; preferably migrate to an actively supported release. For vendor-packaged deployments, install the applicable vendor security update rather than relying solely on the upstream version number, because fixes may be backported. Red Hat fixes include JBoss EAP 6.4.16, JBoss Web Server 3.1.0, and the RHEL 7 Tomcat update supplied through RHSA-2017:2247. Back up installations, applications, and configuration before updating.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2016-6796 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2016-6796 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2016-6796?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2016-6796.
- Is there a patch for CVE-2016-6796?
- Upgrade to a fixed Apache Tomcat release. Fixed releases include 9.0.0.M10, 8.5.5, 8.0.37, 7.0.72, and 6.0.47; preferably migrate to an actively supported release.
- What products are affected by CVE-2016-6796?
- Apache Software Foundation Tomcat, Debian Project Debian Linux, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux Server, and 10 more.
- How severe is CVE-2016-6796?
- CVE-2016-6796 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 8.3% (95th percentile) as of Oct 16, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.