CWE-302: Authentication Bypass by Assumed-Immutable Data
38 CVEs have CWE-302 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 73.062%.
The authentication scheme or implementation uses key data elements that are assumed to be immutable, but can be controlled or modified by the attacker.
Child of CWE-1390: Weak Authentication
Mitigations
- Architecture and Design Operation Implementation: Implement proper protection for immutable data (e.g. environment variable, hidden form fields, etc.)
Observed examples
- CVE-2002-0367: DebPloit
- CVE-2004-0261: Web auth
- CVE-2002-1730: Authentication bypass by setting certain cookies to true.
- CVE-2002-1734: Authentication bypass by setting certain cookies to true.
- CVE-2002-2064: Admin access by setting a cookie.
- CVE-2002-2054: Gain privileges by setting cookie.
- CVE-2004-1611: Product trusts authentication information in cookie.
- CVE-2005-1708: Authentication bypass by setting admin-testing variable to true.
- CVE-2005-1787: Bypass auth and gain privileges by setting a variable.
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-302'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-302'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).