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

High severity, published 2026-11-18. Update altcha-org/altcha to 2.0.3 or later: composer update altcha-org/altcha.

Canonical URL: https://buzzphp.com/security/ghsa-82w8-65qw-gch6 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.5) |
| Published | 2026-11-18 |
| Updated | 2026-11-18 |
| CVE | [CVE-2026-71481](https://nvd.nist.gov/vuln/detail/CVE-2026-71481) |
| GHSA | [GHSA-82w8-65qw-gch6](https://github.com/advisories/GHSA-82w8-65qw-gch6) |
| Weakness | CWE-347 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| altcha-org/altcha | >= 2.0.0, < 2.0.3 | 2.0.3 |

## What to do

Update altcha-org/altcha to 2.0.3 or later: composer update altcha-org/altcha.

Check which version you run with `composer show altcha-org/altcha`, and every affected package with `composer audit`.

## About this advisory

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).



## Links

- [GHSA-82w8-65qw-gch6 on GitHub](https://github.com/advisories/GHSA-82w8-65qw-gch6)
- [CVE-2026-71481 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-71481)
- [All Composer security advisories](https://buzzphp.com/security)
