CVE-2026-46364
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.
How to fix
- thorsten/phpmyfaq4.1.2 or later
- phpmyfaq/phpmyfaq4.1.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| thorsten/phpmyfaqPackagist | v < 4.1.2 | 4.1.2 |
| phpmyfaq/phpmyfaqPackagist | v < 4.1.2 | 4.1.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.