{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-46743","published":"2022-03-29T07:15:07.017000Z","last_modified":"2026-06-17T04:15:25.123000Z","status":"Modified","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-843"],"cpes":[{"criteria":"cpe:2.3:a:google:firebase_php-jwt:*:*:*:*:*:*:*:*","part":"a","vendor":"google","product":"firebase_php-jwt","version_end_excluding":"6.0.0"}],"cpes_truncated":false,"vendors":["google"],"products":["google/firebase_php-jwt"],"epss":{"score":0.00916,"percentile":0.58412,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8xf4-w7qw-pjjw","ecosystem":"Packagist","name":"firebase/php-jwt","purl":"pkg:composer/firebase/php-jwt","ranges":[{"introduced":"0","fixed":"6.0.0"}],"versions":["1.0.0","2.0.0","v2.1.0","v2.2.0","v3.0.0","v4.0.0","v5.0.0","v5.1.0","v5.2.0","v5.2.1","v5.3.0","v5.4.0","v5.5.0","v5.5.1"],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2021-46743/","html_en":"/en/cve/CVE-2021-46743/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-46743","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-46743"},"untrusted":{"vendor_name":"Google","product_name":"Firebase Php-jwt","desc_en":"In Firebase PHP-JWT before 6.0.0, an algorithm-confusion issue (e.g., RS256 / HS256) exists via the kid (aka Key ID) header, when multiple types of keys are loaded in a key ring. This allows an attacker to forge tokens that validate under the incorrect key. NOTE: this provides a straightforward way to use the PHP-JWT library unsafely, but might not be considered a vulnerability in the library itself.","affected":[],"references":[{"url":"https://github.com/firebase/php-jwt/issues/351","tags":["Exploit","Third Party Advisory"]}]}}