Summary
CVE-2026-126377 is an authentication bypass vulnerability (CWE-287, Improper Authentication) in Vvveb, a PHP-based CMS. The generateCookie() function in system/user/user.php validates MD5 cookie hashes with a loose comparison. This lets an unauthenticated remote attacker forge persistent authentication cookies. The CVSS v4.0 score is 9.2 (Critical).
Technical details
- Root cause:
generateCookie()compares MD5 cookie hashes with a loose comparison operator (==) instead of a strict one. PHP type juggling treats strings that start with0eand contain only digits as the number zero, so "magic hash" values compare as equal. - Trigger conditions: The attacker brute-forces the cookie value until the resulting hash is a magic hash that matches the server’s calculation. The vendor advisory describes the attacker as unauthenticated.
- Attack vector: Network. No user interaction is required. The CVSS vectors rate attack complexity as high.
- Impact: The attacker can forge persistent authentication cookies. This can lead to unauthorized account access and full compromise of confidentiality, integrity and availability.
Affected software
- Vvveb versions before 1.0.9.0 (per the CVE record).
- The vendor advisory (GHSA-p8w8-2rq6-wm2g) lists 1.0.8.6 as affected and 1.0.8.7 as patched. Its version information differs from the CVE record.
Severity
- CVSS v4.0: 9.2 (Critical) –
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 8.1 (High) –
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Vvveb to 1.0.9.0 or later, the first version the CVE record lists as unaffected.
- If you cannot patch immediately: The vendor advisory suggests replacing the loose comparison with
hash_equals(). It also suggests moving from MD5 to SHA256 or a stronger algorithm for HMAC calculations. Consider restricting access to administrative and login paths at the network level, and review sessions and accounts for unexpected activity.

