Packagist (PHP)Worst: High4 advisories

web-token/jwt-library: known vulnerabilities

web-token/jwt-library has 4 reviewed security advisories in the GitHub Advisory Database — 2 high, 2 moderate. The most recent was published 2026-06-18. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the web-token/jwt-library versions running across your servers, containers and images, and ranks what to patch first.

How to fix web-token/jwt-library

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

composer require web-token/jwt-library:^4.1.7 (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 (4)

PHP JWT Library: PBES2-HS*+A*KW unwrap accepts an unbounded p2c iteration count, enabling CPU-amplification denial of service High CWE-400 CWE-770 — Affected: from 4.1.0 up to 4.1.7. Fixed in 4.1.7. Published 2026-06-18. GHSA-3prj-6hqw-cm82
PHP JWT Library: RSA1_5 (RSAES-PKCS1-v1_5) decryption lacks implicit rejection, exposing a Bleichenbacher/Marvin padding oracle Moderate CWE-208 CWE-385 — Affected: from 4.1.0 up to 4.1.7. Fixed in 4.1.7. Published 2026-06-18. GHSA-5739-39v2-5754
PHP JWT Framework: Chacha20Poly1305 key-encryption algorithm discards the Poly1305 authentication tag, performing no authentication on decryption Moderate CWE-347 CWE-353 — Affected: from 4.1.0 up to 4.1.7. Fixed in 4.1.7. Published 2026-06-18. GHSA-6vvh-pxr4-25r7
PHP JWT Framework: JWSVerifier uses algorithm from unprotected header, enabling algorithm confusion attacks High CWE-345 — Affected: from 4.1.0 up to 4.1.7. Fixed in 4.1.7. Published 2026-06-18. GHSA-jc38-x7x8-2xc8

Find web-token/jwt-library 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.