CVE-2026-46364
phpMyFAQ before 4.1.2 contains an unauthenticated SQL injection …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/thorsten/phpMyFAQ/commit/b9f25109fddb38eee19987183798638d07943f92
- github.com/thorsten/phpMyFAQ/security/advisories/GHSA-289f-fq7w-6q2w
- www.vulncheck.com/advisories/phpmyfaq-sql-injection-via-user-agent-header-in-builtincaptch
- nvd.nist.gov/vuln/detail/CVE-2026-46364
- github.com/advisories/GHSA-289f-fq7w-6q2w
- nvd.nist.gov/vuln/detail/CVE-2026-46364
- cve.org/CVERecord?id=CVE-2026-46364
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.