CVE-2026-71481: ALTCHA PHP VerifySolution Bypasses HMAC Signature Check Vulnerability

HIGH
Advisory Identifier: GHSA-82w8-65qw-gch6
CVSS 7.5
CWE-347
Published
Advisory Summary

CVE-2026-71481 is a HIGH (CVSS 7.5) verifysolution bypasses hmac signature check vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting ALTCHA PHP libraries in the Packagist ecosystem. The issue involves verifysolution bypasses hmac signature check when challenge signature is absent. Remediation is available by upgrading affected packages to version 2.0.3.

CVE-2026-71481 at a Glance

CVE Identifier CVE-2026-71481
GHSA Identifier GHSA-82w8-65qw-gch6
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-347: Improper Verification of Cryptographic Signature
Affected Product ALTCHA PHP
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-71481

To remediate this vulnerability, upgrade all affected ALTCHA PHP dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

altcha-org/altcha fixed: 2.0.3
Upgrade altcha-org/altcha to 2.0.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for altcha-org/altcha

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-71481, inspect your project dependencies for ALTCHA PHP:

inspect dependencies for altcha-org/altcha

Analyze the terminal output to locate any version of ALTCHA PHP in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In ALTCHA PHP, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-71481 Affected ALTCHA PHP Versions

1 component(s)
Fixed Versions:
2.0.3
Product / Package Ecosystem Affected Versions Fixed Version
altcha-org/altcha
Packagist
≥ 2.0.0
< 2.0.3
2.0.3

References

Frequently Asked Questions

What is CVE-2026-71481?
CVE-2026-71481 is a security vulnerability in ALTCHA PHP involving verifySolution bypasses HMAC signature check when challenge signature is absent under CWE-347: Improper Verification of Cryptographic Signature.
Which ALTCHA PHP versions are affected?
Affected versions include releases prior to 2.0.3 across affected packages: altcha-org/altcha.
What version fixes CVE-2026-71481?
Upgrading to 2.0.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is altcha-org/altcha affected?
Yes, altcha-org/altcha is affected in releases prior to 2.0.3. Upgrade your dependency to 2.0.3 or later.
What is the CVSS score of CVE-2026-71481?
CVE-2026-71481 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2026-71481?
CVE-2026-71481 is classified under CWE-347: Improper Verification of Cryptographic Signature (The product does not verify, or incorrectly verifies, the cryptographic signature for data.).
How can I check Packagist dependencies for CVE-2026-71481?
Run the dependency tree command: 'inspect dependencies for altcha-org/altcha'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-82w8-65qw-gch6",
  "modified" : "2026-11-18T20:48:18Z",
  "published" : "2026-11-18T20:48:18Z",
  "aliases" : [ "CVE-2026-71481" ],
  "summary" : "ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent",
  "details" : "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.\n\nAn 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.\n\nImpact:\nComplete CAPTCHA bypass on any deployment that sets hmacSignatureSecret (the recommended production configuration).\n\nFix:\nThe check was split so that a missing signature is explicitly rejected when a secret is configured.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "altcha-org/altcha"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/altcha-org/altcha-lib-php/security/advisories/GHSA-82w8-65qw-gch6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/altcha-org/altcha-lib-php/commit/8b02ad2c9b82998613bac4d093517d457061cbbe"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/altcha-org/altcha-lib-php"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/altcha-org/altcha-lib-php/releases/tag/v2.0.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-347" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-18T20:48:18Z",
    "nvd_published_at" : null
  }
}