All vulnerabilities

Packagist

CVE-2026-71481

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

Severity
High 7.5
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.0.3
Exploit chance
0.3% in the next 30 daysHigher than 20% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Improper verification of a cryptographic signature (CWE-347)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Also known as
GHSA-82w8-65qw-gch6
Sources
OSV.dev and GitHub

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.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
altcha-org/altchaPackagist · osv:Packagist:altcha-org/altcha
  • From 2.0.0 before 2.0.3

About altcha-org/altcha

Monthly downloads (Packagist)
497,497Packagist, 24 Nov 2026
Total downloads (Packagist)
2,258,449Packagist, 24 Nov 2026

This is the only vulnerability in altcha-org/altcha in our list.

References