ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent
- CVE-2026-71481
- GHSA-82w8-65qw-gch6
- EUVD-2026-129148
Description
ALTCHA PHP is a lightweight PHP library for creating and verifying ALTCHA challenges. From 2.0.0 until 2.0.3, the verifySolution method skips HMAC signature verification when a challenge payload omits the signature field, even when hmacSignatureSecret is configured. An attacker can remove the signature, supply attacker-selected low-difficulty challenge parameters, solve the resulting proof of work, and submit a payload that verifies successfully, bypassing the CAPTCHA control. This issue is fixed in version 2.0.3.
Text from the CVE.org record.
Recommendation
altcha-org/altcha
- If you run 2.0.xupdate to 2.0.3 or laterPatch update: breaking changes are unlikelyaltcha-org/altcha 2.0.3 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
altcha-org altcha-lib-php
Affected versions Fixed in >= 2.0.0, < 2.0.3 none stated altcha-org/altchaPackagist
Affected versions Fixed in from 2.0.0 to before 2.0.3 2.0.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.