CVE-2016-6797: Apache Tomcat ResourceLinkFactory Improper JNDI Resource Authorization
- Vendors
- Debian ProjectRed HatNetAppOracle CorporationApache Software FoundationCanonical
Apache Tomcat ResourceLinkFactory did not enforce the restriction that a web application may access only global JNDI resources explicitly exposed to it through a ResourceLink. Consequently, a deployed web application could resolve and access global JNDI resources that had not been linked in that application's configuration. Affected releases are Tomcat 6.0.0 through 6.0.45, 7.0.0 through 7.0.70, 8.0.0.RC1 through 8.0.36, 8.5.0 through 8.5.4, and 9.0.0.M1 through 9.0.0.M9.
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.
A web application can obtain unauthorized access to global JNDI resources outside its intended resource scope. The resulting confidentiality impact depends on the resource type and contents; accessible resources may expose sensitive configuration or service-access material.
Mitigation
If you can’t patch tonight, do this now.
Until an update can be installed, prevent untrusted or insufficiently reviewed applications from being deployed, and restrict who can deploy or modify web applications. Minimize globally defined JNDI resources, limit their privileges and sensitive contents, and isolate applications requiring different resource-access boundaries.
Remediation
Patch, then assume compromise.
Upgrade Apache Tomcat to a fixed release: 6.0.47 or later, 7.0.72 or later, 8.0.37 or later, 8.5.5 or later, or 9.0.0.M10 or later. For vendor-packaged Tomcat deployments, apply the vendor security update that incorporates the fix.
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-6797 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2016-6797 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2016-6797?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2016-6797.
- Is there a patch for CVE-2016-6797?
- Upgrade Apache Tomcat to a fixed release: 6.0.47 or later, 7.0.72 or later, 8.0.37 or later, 8.5.5 or later, or 9.0.0.M10 or later. For vendor-packaged Tomcat deployments, apply the vendor security update that incorporates the fix.
- What products are affected by CVE-2016-6797?
- Apache Software Foundation Tomcat, Debian Project Debian Linux, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux Server, and 9 more.
- How severe is CVE-2016-6797?
- CVE-2016-6797 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 8.1% (95th percentile) as of Oct 16, 2026.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.