HIGH · CVSS 3.1 7.5 EPSS 0.3% · 18th percentile CWE-347

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

Published 2026-11-18 · Updated 2026-11-18 · Also known as GHSA-82w8-65qw-gch6

Summary

The ALTCHA PHP library incorrectly skips HMAC signature verification when the signature field is missing from the challenge payload. Developers using this library must upgrade to version 2.0.3 or later to restore proper tamper detection.

Who is affected

Affected deployments are those that have configured hmacSignatureSecret, which is the recommended production setting. An attacker can bypass the CAPTCHA entirely by stripping the signature from the challenge, allowing them to self-issue and solve trivial challenges that the system will incorrectly accept as valid.

Exploitability

The vulnerability has a high severity CVSS 3.1 base score of 7.5, indicating it is easily exploitable over the network with low complexity and no required privileges. EPSS data is not yet available and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Packagist altcha-org/altcha >= 2.0.0, < 2.0.3 2.0.3 composer require "altcha-org/altcha:>=2.0.3"

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone

FAQ

Does this affect all ALTCHA users?

The flaw specifically impacts deployments that have configured an hmacSignatureSecret.

Is this vulnerability being actively exploited?

There is no current evidence of active exploitation as the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

What is the consequence of this vulnerability?

Attackers can completely bypass CAPTCHA protections, potentially leading to automated spam or abuse of protected endpoints.

Original advisory description
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). Fix: The check was split so that a missing signature is explicitly rejected when a secret is configured.

References

Source records: GHSA-82w8-65qw-gch6 (OSV.dev) · EPSS by FIRST, 2026-11-21.