GHSA-6vvh-pxr4-25r7: PHP JWT Framework: Chacha20Poly1305 key-encryption algorithm discards the Poly1305 authentication tag, performing no authentication on decryption

medium Affects web-token/jwt-experimental, web-token/jwt-framework, web-token/jwt-library. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

PHP JWT Framework: Chacha20Poly1305 key-encryption algorithm discards the Poly1305 authentication tag, performing no authentication on decryption

Package
web-token/jwt-experimental Composer
Affected versions
<=4.1.6
Fixed in
no fix recorded
Severity
medium
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

Chacha20Poly1305 key-encryption algorithm discards the Poly1305 authentication tag, performing no authentication on decryption

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
unknown
Exploitation
not on CISA KEV
Source
friendsofphp

References

PHP JWT Framework: Chacha20Poly1305 key-encryption algorithm discards the Poly1305 authentication tag, performing no authentication on decryption

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
medium
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

CWE-347CWE-353
NVD recordweb-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