Home / Apache / Tomcat / CVE-2012-4431
CVE-2012-4431: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2012-4431 is a cross-site request forgery (CSRF) vulnerability in Apache Tomcat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: org.apache.tomcat:tomcat from 6.0.0 before 6.0.36 and org.apache.tomcat:tomcat from 7.0.0 before 7.0.32 (GitHub advisory GHSA-76vr-72mv-mf3q). Fixed in 6.0.36 and 7.0.32 (GitHub advisory GHSA-76vr-72mv-mf3q). Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-4431?
org/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.
From the CVE record by redhat, last updated October 9, 2026, 19:07 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 6.0.0, < 6.0.36 | 6.0.36 | GHSA-76vr-72mv-mf3q |
| Maven | org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.32 | 7.0.32 | GHSA-76vr-72mv-mf3q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 13, 2022. Summary: Cross-Site Request Forgery in Apache Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | 6.0 | application |
| apache | tomcat | 6.0.0 | application |
| apache | tomcat | 6.0.1 | application |
| apache | tomcat | 6.0.2 | application |
| apache | tomcat | 6.0.3 | application |
| apache | tomcat | 6.0.4 | application |
| apache | tomcat | 6.0.5 | application |
| apache | tomcat | 6.0.6 | application |
| apache | tomcat | 6.0.7 | application |
| apache | tomcat | 6.0.8 | application |
| apache | tomcat | 6.0.9 | application |
| apache | tomcat | 6.0.10 | application |
| apache | tomcat | 6.0.11 | application |
| apache | tomcat | 6.0.12 | application |
| apache | tomcat | 6.0.13 | application |
| apache | tomcat | 6.0.14 | application |
| apache | tomcat | 6.0.15 | application |
| apache | tomcat | 6.0.16 | application |
| apache | tomcat | 6.0.17 | application |
| apache | tomcat | 6.0.18 | application |
| apache | tomcat | 6.0.19 | application |
| apache | tomcat | 6.0.20 | application |
| apache | tomcat | 6.0.24 | application |
| apache | tomcat | 6.0.26 | application |
| apache | tomcat | 6.0.27 | application |
NVD analysis (status Modified), last modified October 9, 2026, 20:17 UTC.
How severe is CVE-2012-4431?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-4431 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 9, 2026)
- EPSS
- 9.15% probability of exploitation activity in the next 30 days, percentile 95.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- oval:org.mitre.oval:def:18541 vdb-entry, signature, x_refsource_OVAL
- SSRT101139 vendor-advisory, x_refsource_HP
- 20121204 CVE-2012-4431 Apache Tomcat Bypass of CSRF prevention filter mailing-list, x_refsource_BUGTRAQ
- openSUSE-SU-2013:0161 vendor-advisory, x_refsource_SUSE
- USN-1685-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2012:1700 vendor-advisory, x_refsource_SUSE
- 56814 vdb-entry, x_refsource_BID
- openSUSE-SU-2013:0192 vendor-advisory, x_refsource_SUSE
- SSRT101182 vendor-advisory, x_refsource_HP
- RHSA-2013:0268 vendor-advisory, x_refsource_REDHAT
- http://tomcat.apache.org/security-7.html x_refsource_CONFIRM
- RHSA-2013:0648 vendor-advisory, x_refsource_REDHAT
- 1027834 vdb-entry, x_refsource_SECTRACK
- RHSA-2013:1437 vendor-advisory, x_refsource_REDHAT
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088 x_refsource_CONFIRM
- RHSA-2013:0647 vendor-advisory, x_refsource_REDHAT
- http://tomcat.apache.org/security-6.html x_refsource_CONFIRM
- 57126 third-party-advisory, x_refsource_SECUNIA
- RHSA-2013:1853 vendor-advisory, x_refsource_REDHAT
- openSUSE-SU-2013:0147 vendor-advisory, x_refsource_SUSE
- http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088 x_refsource_CONFIRM
- RHSA-2013:0267 vendor-advisory, x_refsource_REDHAT
- http://svn.apache.org/viewvc?view=revision&revision=1393088 x_refsource_CONFIRM
- HPSBST02955 vendor-advisory, x_refsource_HP
- openSUSE-SU-2012:1701 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- August 21, 2012
- Published
- December 19, 2012, 11:00 UTC
- CVE record updated
- October 9, 2026, 19:07 UTC by redhat
- NVD
- Modified, last modified October 9, 2026, 20:17 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Tomcat?
- Apr 15, 2019CVE-2019-0232 Apache Tomcat: OS command injection
- Mar 23, 2017CVE-2016-9775 Debian Linux: n/a
- Mar 23, 2017CVE-2016-9774 Debian Linux: link following (a symlink lets an attacker reach other files)
- Oct 13, 2016CVE-2016-6325 Apache Tomcat: n/a
- Oct 13, 2016CVE-2016-5425 Apache Tomcat: insecure default permissions
- Oct 3, 2016CVE-2016-1240 Apache Tomcat: improper input validation
- Jul 19, 2016CVE-2016-5388 Redhat Enterprise Linux Desktop: improper access control
- Jul 4, 2016CVE-2016-3092 Hp Icewall Identity Manager: improper input validation
Questions about CVE-2012-4431
Is CVE-2012-4431 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 9.15% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2012-4431?
org.apache.tomcat:tomcat from 6.0.0 before 6.0.36 and org.apache.tomcat:tomcat from 7.0.0 before 7.0.32, per the GitHub advisory GHSA-76vr-72mv-mf3q. The tables above give every range the sources list.
Which version fixes CVE-2012-4431?
6.0.36 and 7.0.32, per the GitHub advisory GHSA-76vr-72mv-mf3q. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-4431?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-4431?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.