Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as category-restricted editor
-
DeliveryCraft faq/update request with arbitrary solutionId
-
ExploitServer uses value as search index document ID
-
ExecutionOverwrite, delete, or plant search documents
-
ImpactCorrupt search results across other categories
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires an authenticated editor account (PR:H) in phpMyFAQ - specifically the scenario targets a category-restricted editor who is only authorized to manage certain categories. The deployment MUST be configured to use Elasticsearch or OpenSearch as the search backend; installations relying on the default database search are not exploitable via this flaw. The concrete trigger is supplying an arbitrary integer solutionId in a request to the /admin/api/faq/update endpoint, which the vulnerable code passes to Filter::filterVar and then uses directly as the search index document ID. Limiting factors that reduce real-world risk: valid editor credentials are mandatory, no privilege or data outside the search index is affected (no confidentiality impact, no DB-level write beyond search documents), and the ES/OpenSearch requirement excludes default-configured instances. |
| Impact | This is a moderate, bounded risk rather than an urgent emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L) and score of 5.1 are internally consistent with the description: network-reachable but requiring high privileges (PR:H - a valid, authenticated editor account), with no confidentiality impact and only low integrity and availability impact limited to the search index. No EPSS score was supplied and the vulnerability is NOT in CISA KEV, so there is no evidence of active exploitation. No PoC or working exploit reference is present in the inputs (the references are vendor patch commits and a VulnCheck advisory, not exploit code), so this is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month,' aligning with a patch-when-reasonable posture rather than act_now/emergency. The key limiting factor that keeps real-world risk low: exploitation requires both an authenticated editor account AND a deployment that uses Elasticsearch or OpenSearch as the search backend - installations using the default database search are not affected. The signals do not conflict; they consistently point to an insider/privilege-abuse integrity issue affecting search result trustworthiness, not a mass-exploitable RCE. |
| Exploit ScenarioDerived | A category-restricted editor - intended to manage only FAQs within their assigned categories - sends a crafted request to /admin/api/faq/update supplying an arbitrary solutionId, which is used directly as the Elasticsearch/OpenSearch document ID. Because the server trusts the client-supplied value, the editor can overwrite another category's FAQ search document, remove published FAQs from search results, or plant entries that remain searchable even after being unpublished. No public exploit code was identified, but the fix commit and advisory describe the mechanism precisely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
Authenticated editors in phpMyFAQ can tamper with the Elasticsearch/OpenSearch search index by supplying an arbitrary solutionId to the /admin/api/faq/update endpoint, which the vulnerable code passes to Filter::filterVar as an integer and then uses directly as the search index document ID. The flaw affects releases before 4.1.12 and 4.2.0-alpha.2 through 4.2.0-RC.1, but only on installations configured to use Elasticsearch or OpenSearch as the search backend; deployments using the default database search are not exploitable through this vector. A category-restricted editor can therefore remove published FAQs from search results, overwrite other FAQs' search documents, or plant entries that stay searchable after the underlying FAQ is unpublished, with no confidentiality impact and no database writes outside the search index; no public exploit code was identified at time of analysis and the issue is not in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to phpMyFAQ 4.1.12 for the 4.1.x branch, or to 4.2.0-RC.2 for the 4.2.0 pre-release line; both releases are published at https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12 and https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2. The underlying fixes are commits 2a62324de93736d193058d2b4b95de4f57922b1b (controller now ignores the client-supplied solutionId and derives it from the stored FAQ record or getNextSolutionId()) and 44fbf492437ea87dca01acb904616656502ff251, with the vulnerable pre-fix logic visible at https://github.com/thorsten/phpMyFAQ/blob/4.2.0-RC.1/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php#L405. No workaround is documented in the supplied references; the exposure is scoped to deployments whose search backend is Elasticsearch or OpenSearch, so such installations should prioritize the upgrade, while instances using the default database search are not affected by this vector. Because exploitation requires valid editor-level credentials (PR:H in the assessed vector), auditing and narrowing editor accounts and their category assignments reduces the pool of potential abusers until the patch is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key). In the administration API controller (phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php), the update action read the client-supplied solutionId from the JSON request body, validated it only with Filter::filterVar(..., FILTER_VALIDATE_INT) - confirming it was an integer, not that the caller was authorized to act on it - and then reused that value as the Elasticsearch/OpenSearch document identifier when re-indexing the FAQ. Because solutionId is an externally controlled key that maps directly to a search index document, an editor scoped to particular categories could address documents belonging to FAQs outside their authorization. The upstream fix removes the client-supplied value entirely: the controller now derives the identifier server-side via $faq->getSolutionIdByFaqId((int) $faqId) ?? $faq->getNextSolutionId(), backed by a new Faq::getSolutionIdByFaqId() method that reads solution_id from the faqdata table for the given FAQ, returning null when no translation row exists. The accompanying tests assert that the stored solution ID is returned, that it is shared across translations (language is ignored), and that unknown FAQ IDs yield null. The vulnerability's scope is bounded by the search backend: because the injected key only addresses search index documents, the impact is limited to integrity and availability of indexed search data (VI:L/VA:L), with no confidentiality impact and no cross-scope effects.
Know when Phpmyfaq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Network-reachable admin API abusable by any authenticated editor (PR:L for a standard content-editor role), no user interaction; impact limited to low integrity and availability of search index documents, no confidentiality loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
phpMyFAQ before 4.1.12 and 4.2.0-alpha.2 before 4.2.0-RC.2 contains an authorization bypass vulnerability that allows authenticated editors to manipulate search index documents by supplying an arbitrary solutionId to the /admin/api/faq/update endpoint. On Elasticsearch or OpenSearch deployments, category-restricted editors can remove published FAQs from search, overwrite other FAQs' search documents, or plant entries that remain searchable after unpublishing.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in phpMyFAQ Authorization Bypass and Info Disclosure
View all 27Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una
Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8
Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th
Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS
In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
EUVD-2026-126821
GHSA-7jvq-w6ph-p3jq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB