BuzzPHP
LightDarkSystem

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

High severity. Published 18 November 2026. Update altcha-org/altcha to 2.0.3 or later: composer update altcha-org/altcha.

Which versions are affected?

PackageAffected versionsFixed in
altcha-org/altcha (opens in a new tab)>= 2.0.0, < 2.0.32.0.3

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show altcha-org/altcha
composer audit

Advisory details

SeverityHighCVSS 7.5
Published
Updated
CVECVE-2026-71481 (opens in a new tab)
GHSAGHSA-82w8-65qw-gch6 (opens in a new tab)
WeaknessCWE-347

What the advisory says

In altcha-org/altcha v2, the verifySolution method skips HMAC signature verification when the signature field is absent from the challenge payload, even when hmacSignatureSecret is configured.

An attacker who strips the signature key from the challenge JSON passes the condition as false, bypassing tamper-detection entirely. The PoW solution check then runs against unverified parameters — allowing an attacker to self-issue a low-difficulty challenge, solve it trivially, and submit a payload that verifies as true.

Impact: Complete CAPTCHA bypass on any deployment that sets hmacSignatureSecret (the recommended production configuration).

Source: GHSA-82w8-65qw-gch6 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

All Composer security advisories