ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent
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 Proof of Work (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).
What to do
Upgrade altcha-org/altcha to version 2.0.3 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | altcha-org/altcha | >= 2.0.0, < 2.0.3 | 2.0.3 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-347- Platform
- Composer
- Package
altcha-org/altcha- Disclosed
- 18.11.2026
- Updated
- 19.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - GHSA-82w8-65qw-gch6 - CC BY 4.0
Vulnerability history: altcha-org/altcha
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 12.2025 11.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2025: 1
- 2026: 1
-
ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.