CVE-2026-46364 json
phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha
published 2026-05-06 6 mo ago modified 2026-11-08 26 h ago also EUVD-2026-30601 , GHSA-289f-fq7w-6q2w
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- packagist thorsten/phpmyfaq 4.1.2
- packagist phpmyfaq/phpmyfaq 4.1.2
- thorsten phpmyfaq 4.1.2
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
1.71% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template phpMyFAQ <= 4.1.1 - SQL Injection nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 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 |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | thorsten/phpmyfaq | <4.1.2 |
4.1.2 |
| packagist | phpmyfaq/phpmyfaq | <4.1.2 |
4.1.2 |
Affected products
- thorsten phpmyfaq
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/thorsten/phpMyFAQ/commit/b9f25109fddb38eee19987183798638d07943f92
patch, web
-
github.com
/thorsten/phpMyFAQ/security/advisories/GHSA-289f-fq7w-6q2w
vendor-advisory, web
-
vulncheck.com
/advisories/phpmyfaq-sql-injection-via-user-agent-header-in-builtincaptcha
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-46364
advisory
-
github.com
/thorsten/phpMyFAQ
package
Sources
- CVE List CVE-2026-46364
- GitHub Advisory GHSA-289f-fq7w-6q2w
- NVD CVE-2026-46364
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.