← All Advisories

Hard-coded HMAC key in badge QR generation allows attacker with API access to forge physical access codes

Last refreshed2026-09-30

Status: NEW  |  Advisory ID: CVE-2026-12587

Key Details

CVECVE-2026-12587
CVSS Score / Version8.6 (High) / CVSS v4.0
Updated2026-08-28
Classified asCWE-798 (Use of Hard-coded Credentials)

What to Know

The vulnerability allows the unauthorised generation of physical access QR codes due to the use of hard-coded credentials within the application. The generation mechanism uses the 'badge_number' parameter as the HMAC private key, the value of which remains static and is accessible via the API using the endpoint '/club/_id_club_/member/_id_member_/resamania_qr_info'. An attacker with access to this value and to the application’s cryptographic logic, which can be extracted by reverse engineering the APK as there is no code obfuscation, could generate valid QR codes indefinitely, even after the user has changed their password or logged out. (NVD)

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-12587
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-12587