CVE-2026-71481

ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent

High published · updated · also known as GHSA-82W8-65QW-GCH6

7.5
CVSS score out of 10 · NVD (github.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
altcha-org/altcha composer >= 2.0.0, < 2.0.32.0.3 GitHub

References