CVE-2026-71481: ALTCHA PHP VerifySolution Bypasses HMAC Signature Check Vulnerability
HIGHCVE-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
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).
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.
Upgrade altcha-org/altcha to 2.0.3
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
CVE-2026-71481 Affected ALTCHA PHP Versions
1 component(s)| 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?
Which ALTCHA PHP versions are affected?
What version fixes CVE-2026-71481?
Is altcha-org/altcha affected?
What is the CVSS score of CVE-2026-71481?
What CWE is associated with CVE-2026-71481?
How can I check Packagist dependencies for CVE-2026-71481?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}