---
title: "CVE-2026-46364: phpMyFAQ has unauthenticated SQL injection via User-Agent header in BuiltinCaptcha"
url: https://erroneo.us/security/cve/CVE-2026-46364/
description: "CVE-2026-46364 (thorsten/phpmyfaq (Composer (PHP))): phpMyFAQ before 4.1.2 contains an unauthenticated SQL injection vulnerability in…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-15
date_modified: 2026-06-08
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-46364"
kev: false
cvss: 9.3
epss: 0.0212
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-46364: phpMyFAQ has unauthenticated SQL injection via User-Agent header in BuiltinCaptcha

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 2.1% , percentile 82: FIRST’s model estimates a 2.1% chance of exploitation activity in the next 30 days, higher than 82% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes thorsten/phpmyfaq (Composer (PHP)) <= 4.1.1, fixed in 4.1.2 ; phpmyfaq/phpmyfaq (Composer (PHP)) <= 4.1.1, fixed in 4.1.2 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- Composer (PHP) `thorsten/phpmyfaq` <= 4.1.1 → fixed: 4.1.2
- Composer (PHP) `phpmyfaq/phpmyfaq` <= 4.1.1 → fixed: 4.1.2

## Affected products (CVE record)

- thorsten phpmyfaq: < 4.1.2

## Severity

- VulnCheck CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- VulnCheck CVSS 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 CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 2.12% probability of exploitation activity in the next 30 days; percentile 82.

## Sources

- [GHSA Advisory GHSA-289f-fq7w-6q2w](https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-289f-fq7w-6q2w)
- [Vendor advisory (github.com)](https://github.com/thorsten/phpMyFAQ/commit/b9f25109fddb38eee19987183798638d07943f92)
- [GitHub Advisory GHSA-289f-fq7w-6q2w](https://github.com/advisories/GHSA-289f-fq7w-6q2w)
- [CVE.org record CVE-2026-46364](https://www.cve.org/CVERecord?id=CVE-2026-46364)
- [NVD entry CVE-2026-46364](https://nvd.nist.gov/vuln/detail/CVE-2026-46364)
- [VulnCheck Advisory: phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha](https://www.vulncheck.com/advisories/phpmyfaq-sql-injection-via-user-agent-header-in-builtincaptcha)

---
Source page: https://erroneo.us/security/cve/CVE-2026-46364/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
