CVE-2026-46364
CriticalphpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha
Published May 15, 2026 · Updated Oct 16, 2026 · Also known as GHSA-289f-fq7w-6q2w
Key Facts
Patch in the next maintenance window- CVE-2026-46364 is a critical-severity vulnerability (CVSS 9.3 v4) affecting phpmyfaq/phpmyfaq (composer), thorsten/phpmyfaq (composer), phpmyfaq.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 2.1% probability of exploitation in the next 30 days.
- Fixed versions are available, including phpmyfaq 4.1.2, phpmyfaq/phpmyfaq 4.1.2, thorsten/phpmyfaq 4.1.2.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
CVSS v4
9.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS (30-day exploit likelihood)
2.1%
Higher than 81.5% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2026-46364 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| phpmyfaq/phpmyfaqcomposer | See advisory | 4.1.2 |
| thorsten/phpmyfaqcomposer | See advisory | 4.1.2 |
| phpmyfaq | See advisory | 4.1.2 |
Patched Releases
phpmyfaq
4.1.2
phpmyfaq/phpmyfaq
4.1.2
thorsten/phpmyfaq
4.1.2
Timeline
Publicly disclosed
May 15, 2026
Last updated
Oct 16, 2026
Weakness Type
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46364.json
- advisoryGHSA Advisory GHSA-289f-fq7w-6q2w
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-46364
- advisoryVulnCheck Advisory: phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha
FAQ
Common Questions.
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.
Affected: phpmyfaq/phpmyfaq (composer); thorsten/phpmyfaq (composer); phpmyfaq. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including phpmyfaq 4.1.2, phpmyfaq/phpmyfaq 4.1.2, thorsten/phpmyfaq 4.1.2.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-46364 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo