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.11.23.2, updated 2026-11-23; 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

Quick answers

Is GHSA-jc38-x7x8-2xc8 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today.

Which version fixes GHSA-jc38-x7x8-2xc8?

web-token/jwt-bundle: 3.4.10, 4.0.7, 4.1.7; web-token/jwt-experimental: 3.4.10, 4.0.7, 4.1.7; web-token/jwt-framework: 3.4.10, 4.0.7, 4.1.7.

How do I check whether I am affected?

Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,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