{
  "id": "CVE-2026-46364",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-46364",
  "published_at": "2026-05-15T18:36:42.869Z",
  "title": "phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha",
  "vendor": "thorsten",
  "product": "phpmyfaq",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-06-04T12:16:20Z",
    "first_seen_at": null,
    "days_after_publication": 19.7,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-46364.yaml"
  },
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "thorsten",
        "product": "phpmyfaq",
        "ranges": [
          "\u003c 4.1.2"
        ],
        "fixed_in": [
          "4.1.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade phpmyfaq to 4.1.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-289f-fq7w-6q2w"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/thorsten/phpMyFAQ/commit/b9f25109fddb38eee19987183798638d07943f92"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-46364.yaml",
      "source": "nuclei",
      "title": "nuclei template: phpMyFAQ \u003c= 4.1.1 - SQL Injection",
      "published_at": "2026-06-04T12:16:20Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
