CVE-2026-46364 CRITICAL

CVE-2026-46364: phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha

Vendor Thorsten
Product phpmyfaq
Weakness CWE-89 · SQLi
Published May 15, 2026
Last update May 28, 2026

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

Description

phpMyFAQ before 4.1.2 contains an unauthenticated SQL injection vulnerability in BuiltinCaptcha::garbageCollector() and BuiltinCaptcha::saveCaptcha() methods that interpolate unsanitized User-Agent headers into DELETE and INSERT queries. Unauthenticated attackers can exploit the public GET /api/captcha endpoint by crafting malicious User-Agent headers to perform time-based blind SQL injection, extracting sensitive data including user credentials, admin tokens, and SMTP credentials from the database.

Key dates

Disclosure timeline

May 15, 2026 CVE published
May 28, 2026 Record updated