Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as category-restricted admin
-
DeliveryPOST to /admin/api/group/category-restrictions with out-of-scope/empty categoryIds
-
ExploitsaveCategoryRestrictions() skips scope validation
-
ExecutionGroup granted unrestricted category access
-
ImpactPrivilege escalation beyond delegated scope
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated 'category-restricted' (delegated) administrator account - a privileged but scope-limited role that must already exist in the phpMyFAQ instance. The concrete trigger is an HTTP POST to the /admin/api/group/category-restrictions endpoint supplying categoryIds that are outside the attacker's assigned scope or an empty set, which GroupController::saveCategoryRestrictions() fails to validate against the caller's scope. Limiting factors: the target must run an affected build (4.2.0-alpha before 4.2.0-beta, a pre-release train rarely used in production), delegated/category-restricted administration must be configured and in use, and the attacker must already hold valid admin credentials for that restricted role (PR:H). There is no unauthenticated or anonymous path and no user interaction required (UI:N). |
| Impact | This is a privilege-escalation flaw (CWE-269) in phpMyFAQ that requires an already-privileged account. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N) scores 8.5 (High) and the PR:H metric aligns with the description, which states the actor must be a 'delegated' / 'category-restricted administrator' - i.e., exploitation is authenticated with meaningful pre-existing privileges, not anonymous. No EPSS score, CISA KEV listing, or public POC was provided in the input, so exploitation likelihood signals are absent: no public exploit identified at time of analysis. The high CVSS is driven by HIGH confidentiality and integrity impact (an attacker gains unrestricted category access), but the PR:H gate and the fact that the affected code exists only in a pre-release window (4.2.0-alpha before 4.2.0-beta) substantially lower real-world urgency. Net assessment: a legitimate but lower-priority issue - a high nominal score that is tempered by the privileged-attacker requirement and a pre-release-only affected version. Treat as a hardening/patch item rather than an emergency; absent EPSS/KEV data, do not over-prioritize on CVSS alone. |
| Exploit ScenarioDerived | An organization delegates FAQ administration by giving a department lead a category-restricted administrator account scoped to only their own categories. That delegated admin sends a crafted POST to /admin/api/group/category-restrictions containing out-of-scope or empty categoryIds, causing GroupController::saveCategoryRestrictions() to grant a group unrestricted category access beyond the admin's authorized scope. No public exploit code was identified in the provided data, and the attacker must already hold a valid delegated-admin session (PR:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 17, 2026
Privilege escalation in phpMyFAQ 4.2.0-alpha pre-release builds lets a category-restricted delegated administrator escape their assigned scope and grant groups unrestricted category access. The flaw resides in GroupController::saveCategoryRestrictions(), which fails to validate submitted categoryIds against the caller's own scope, so a crafted POST to /admin/api/group/category-restrictions with out-of-scope or empty values elevates the attacker's effective permissions. Exploitation requires valid credentials for a privileged but scope-limited admin role (PR:H), and no public exploit code or confirmed active exploitation has been identified at time of analysis; the affected range is a pre-release train that is unlikely to be widely deployed in production.
RemediationAI
Vendor-released patch: 4.2.0-beta, per the GitHub security advisory GHSA-gv7w-78f6-mcmh (https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gv7w-78f6-mcmh); upgrade from any 4.2.0-alpha build to 4.2.0-beta or later, and because the affected range is a pre-release train, the most reliable mitigation is to avoid running 4.2.0-alpha builds in production at all. If upgrading is not immediately possible, restrict access to the admin API, including /admin/api/group/category-restrictions, to trusted management networks or IP allowlists (this reduces exposure but does not correct the missing scope validation), audit and disable unnecessary category-restricted delegated administrator accounts to reduce the PR:H prerequisite (a trade-off that may affect legitimate delegated workflows), and review existing group-category restriction records for entries created with empty or out-of-scope categoryIds and correct them (this detects and repairs prior abuse but does not prevent recurrence). Additionally, monitor admin API logs for anomalous POST requests to the category-restrictions endpoint, and consult the VulnCheck advisory at https://www.vulncheck.com/advisories/phpmyfaq-4.2.0-alpha-before-4.2.0-beta-privilege-escalation-via-group-category-restrictions-api for further details.
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
phpMyFAQ is a PHP-based FAQ and knowledge-base application that supports delegated administration, where administrators can be restricted to specific categories. The GroupController::saveCategoryRestrictions() routine is intended to persist group-to-category access restrictions, but it does not verify that the categoryIds submitted by the caller fall within that administrator's own assigned scope, nor does it treat an empty set as anything other than unrestricted. This is a classic improper privilege management weakness (CWE-269): a lower-privileged but authenticated administrative role can manipulate an API that operates at a higher privilege level. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N describes a network-reachable admin API requiring high privileges, no user interaction, and no attack complexity, with high confidentiality and integrity impact but no availability impact and no subsequent-system impact; our independent CVSS 3.1 assessment (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N) is consistent and confirms the privilege boundary crossing rather than an unauthenticated compromise. The vulnerability affects the 4.2.0 pre-release line before 4.2.0-beta, as reflected by the wildcard CPE cpe:2.3:a:thorsten:phpmyfaq:*:*:*:*:*:*:*:* and the vendor security advisory.
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:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network API endpoint (AV:N/AC:L) exploitable without user interaction, but requires an existing privileged delegated-admin account (PR:H); confidentiality and integrity impacted via unrestricted category access, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
phpMyFAQ 4.2.0-alpha before 4.2.0-beta contains a privilege escalation vulnerability in GroupController::saveCategoryRestrictions() that lets delegated administrators assign categories outside their own scope. Category-restricted administrators can POST to /admin/api/group/category-restrictions with out-of-scope or empty categoryIds to grant groups unrestricted category access.
Technical POC Analysis
Evidence note: no runnable exploit script is supplied.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
phpMyFAQ 4.2.0-alpha pre-release builds contain a privilege escalation flaw that lets a delegated administrator with a limited category scope grant unrestricted category access to any group, undermining the category-level access controls the product is deployed to enforce. Only organizations running the alpha pre-release train are exposed, and an attacker must already hold a privileged-but-scoped admin account, so the practical risk is confined to teams piloting this code - but for those teams it represents a direct compromise of content confidentiality controls and delegated-admin governance. Leadership should care because the flaw silently widens who can read restricted knowledge base content and leaves little forensic trace by design.
No vendor-released patch identified at time of analysis. Interim mitigations: remove 4.2.0-alpha builds from production and non-production environments holding real data; restrict /admin/api/group/category-restrictions and all admin API paths to trusted administrative networks; review and minimize delegated administrator accounts and their category scopes; audit group category-restriction records for out-of-scope or empty categoryIds and monitor POSTs to the affected endpoint; enforce a WAF or reverse-proxy rule rejecting malformed or out-of-scope categoryIds; migrate to the vendor's latest stable release.
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
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Duplicate-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-103326
GHSA-xr8j-x8f4-2j2f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB