Packagist (PHP)Worst: Critical3 advisories

firebase/php-jwt: known vulnerabilities

firebase/php-jwt has 3 reviewed security advisories in the GitHub Advisory Database — 2 critical, 1 low. The most recent was published 2025-07-31. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the firebase/php-jwt versions running across your servers, containers and images, and ranks what to patch first.

How to fix firebase/php-jwt

Upgrade firebase/php-jwt to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require firebase/php-jwt:^7.0.0 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

firebase/php-jwt: "None" Algorithm treated as valid on tokens Critical — Affected: before 2.0.0. Fixed in 2.0.0. Published 2024-05-15. GHSA-h533-5v22-8vcp
Firebase PHP-JWT key/algorithm type confusion Critical 9.1 CWE-347 CWE-843 — Affected: before 6.0.0. Fixed in 6.0.0. Published 2022-03-29. GHSA-8xf4-w7qw-pjjw · CVE-2021-46743

Find firebase/php-jwt across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.