Skip to content

CVE-2026-71481 ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent

HighCVSS 7.5 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHP

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
altcha-org/altcha(Packagist) = v2.0.0; = v2.0.1; = v2.0.2; >= 2.0.0, < 2.0.3 2.0.3 Fixed
altcha-org altcha-lib-php = >= 2.0.0, < 2.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
altcha-org/altcha(Packagist) >= 2.0.0, < 2.0.3 2.0.3
altcha-org/altcha(Packagist) = v2.0.0 No fix listed
altcha-org/altcha(Packagist) = v2.0.1 No fix listed
altcha-org/altcha(Packagist) = v2.0.2 No fix listed
altcha-org altcha-lib-php = >= 2.0.0, < 2.0.3 No fix listed

References