GHSA-jc38-x7x8-2xc8: PHP JWT Framework: JWSVerifier uses algorithm from unprotected header, enabling algorithm confusion attacks

high Affects web-token/jwt-bundle, web-token/jwt-experimental, web-token/jwt-framework, web-token/jwt-library. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

PHP JWT Framework: JWSVerifier uses algorithm from unprotected header, enabling algorithm confusion attacks

Package
web-token/jwt-bundle Composer
Affected versions
<3.4.10 or >=4.0.0 and <4.0.7 or >=4.1.0 and <4.1.7
Fixed in
3.4.10, 4.0.7, 4.1.7
Severity
high
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

PHP JWT Framework: JWSVerifier uses algorithm from unprotected header, enabling algorithm confusion attacks

Package
web-token/jwt-experimental Composer
Affected versions
<3.4.10 or >=4.0.0 and <4.0.7 or >=4.1.0 and <4.1.7
Fixed in
3.4.10, 4.0.7, 4.1.7
Severity
high
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

PHP JWT Framework: JWSVerifier uses algorithm from unprotected header, enabling algorithm confusion attacks

Package
web-token/jwt-framework Composer
Affected versions
<3.4.10 or >=4.0.0 and <4.0.7 or >=4.1.0 and <4.1.7
Fixed in
3.4.10, 4.0.7, 4.1.7
Severity
high
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

PHP JWT Framework: JWSVerifier uses algorithm from unprotected header, enabling algorithm confusion attacks

Package
web-token/jwt-library Composer
Affected versions
<3.4.10 or >=4.0.0 and <4.0.7 or >=4.1.0 and <4.1.7
Fixed in
3.4.10, 4.0.7, 4.1.7
Severity
high
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

CWE-345
NVD recordweb-token/jwt-bundle advisoriesweb-token/jwt-experimental advisoriesweb-token/jwt-framework advisoriesweb-token/jwt-library advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories