CVE-2021-26296 json
Cross-Site Request Forgery (CSRF) vulnerability in Apache MyFaces
published 2021-02-19 5 y ago modified 2026-09-10 1 mo ago also GHSA-gq67-pp9w-43gp , EUVD-2021-1329
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
In the default configuration, Apache MyFaces Core versions 2.2.0 to 2.2.13, 2.3.0 to 2.3.7, 2.3-next-M1 to 2.3-next-M4, and 3.0.0-RC1 use cryptographically weak implicit and explicit cross-site request forgery (CSRF) tokens. Due to that limitation, it is possible (although difficult) for an attacker to calculate a future CSRF token value and to use that value to trick a user into executing unwanted actions on an application.
Patch / fix
- maven org.apache.myfaces.core:myfaces-core-module 2.0.25, 2.1.19, 2.2.14, 2.3.8
- Apache Software Foundation Apache MyFaces Core 2.2.14, 2.3-next-M5, 2.3.8, 3.0.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-26296 updated cvss 7.5
myfaces: Cross-site request forgery vulnerability in Apache MyFaces
-
Red Hat Decision Manager 7 jsf-impl-myfaces jsf-impl-myfacesaffected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 6 myfaces-impl myfaces-implaffected: no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 13 (Queens) opendaylight Red Hat Process Automation 7 jsf-impl-myfaces jsf-impl-myfacesaffected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 7 myfaces-impl myfaces-impl Red Hat JBoss Enterprise Application Platform Expansion Pack myfaces-impl myfaces-implnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.89% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- packetstormsecurity.com http://packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.myfaces.core:myfaces-core-module | <2.0.25 >=2.1.0, <2.1.19 >=2.2.0, <2.2.14 >=2.3.0, <2.3.8 |
2.0.25 2.1.19 2.2.14 2.3.8 |
Affected products
- Apache Software Foundation Apache MyFaces Core
Classification
References
-
github.com
/apache/myfaces/commit/cc6e1cc7b9aa17e52452f7f2657b3af9c421b2b2
web
-
packetstormsecurity.com
/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html
web, exploit, third-party-advisory, vdb-entry
-
lists.apache.org
/thread.html/r2b73e2356c6155e9ec78fdd8f72a4fac12f3e588014f5f535106ed9b%40%3Cannounce.apache.org%3E
web, mailing-list, vendor-advisory
-
seclists.org
/fulldisclosure/2021/Feb/66
mailing-list, web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210528-0007/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-26296
advisory
-
issues.apache.org
/jira/browse/MYFACES-4373
web
-
security.netapp.com
/advisory/ntap-20210528-0007
web
Sources
- CVE List CVE-2021-26296
- GitHub Advisory GHSA-gq67-pp9w-43gp
- NVD CVE-2021-26296
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.