CVE-2026-71481
ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | altcha-org/altcha | >= 2.0.0, < 2.0.3 | 2.0.3 |
Affected products · Altcha-org
| Product | Affected versions |
|---|---|
| Altcha-lib-php | from 2.0.0, before 2.0.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/altcha-org/altcha-lib-php/security/advisories/GHSA-82w8-65qw-gch6
- https://github.com/altcha-org/altcha-lib-php/commit/8b02ad2c9b82998613bac4d093517d457061cbbe
- https://github.com/altcha-org/altcha-lib-php/releases/tag/v2.0.3
- https://github.com/advisories/GHSA-82w8-65qw-gch6