In Firebase PHP-JWT before 6.0.0, an algorithm-confusion issue (e.g., RS256 / HS256)…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution, Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-843, CWE-347 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | firebase/php-jwt (Packagist) | before 6.0.0 | 6.0.0 | Patch available | GHSA-8xf4-w7qw-pjjw |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- firebase/php-jwt (Packagist) Vendor— Affected before 6.0.0 Fixed in 6.0.0 Patch available GHSA-8xf4-w7qw-pjjw
Remediation
- Fix · GHSA-8xf4-w7qw-pjjw firebase/php-jwt (Packagist) Fixed in 6.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-46743
- 2026-10-03 Alias added: GHSA-8xf4-w7qw-pjjw
References
More Google Firebase Php-jwt vulnerabilities
- TI-2025-28840 php-jwt v6.11.0 was discovered to contain weak encryption. CVSS 3.1MEDIUM 6.5
Sources
- CVE-2021-46743 · CVE Program
- CVE-2021-46743 · NVD
- FIRST EPSS
- GHSA-8xf4-w7qw-pjjw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences