Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as non-SuperAdmin admin with USER_EDIT
-
ExploitRe-save group right via PUT /admin/api/user/update-rights
-
ExecutionCategory-restricted group right written as global direct right
-
ImpactEdit, publish or delete FAQs in withheld categories
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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 ALL of: (1) security.permLevel set to medium (a documented, non-default option); (2) at least one group with a category-restricted right configured via the group category-restrictions feature; (3) the attacker is an authenticated non-SuperAdmin admin who holds the delegable USER_EDIT right and is a member of such a category-restricted group; and (4) a valid updateUserRights CSRF token (obtainable from the user-edit admin page). The trigger is a PUT /admin/api/user/update-rights call that re-submits the category-scoped group right, which UserController::updateUserRights then writes as a global direct user right because it checks only right possession and language scope, never category scope. Limiting factors: the escalation is confined to rights the attacker already holds in some category - it cannot reach SuperAdmin, configuration, or unheld rights - and default-configuration installs not using medium permission mode with category-restricted groups are not exploitable. |
| Impact | This is a genuine but bounded authorization flaw (CWE-863), not a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:N) scores 7.0 (High) and the signals are internally consistent: network-reachable admin API, low attack complexity, but PR:H because the attacker must already be an authenticated, non-SuperAdmin admin holding the delegable USER_EDIT right plus a valid CSRF token. The vuln.today decision label is 'this_week' rather than act_now/emergency, which fits the picture. The attacker is already authenticated and privileged per the CVSS vector (PR:H), so this is privilege widening by an insider/delegated admin, not remote unauthenticated compromise. No CISA KEV listing and no EPSS score were supplied, so there is no evidence of active exploitation; a public PoC reference exists in the GHSA advisory but it is an in-memory SQLite model running the repository SQL and controller logic, not verified as a working exploit against a booted instance. The impact ceiling is explicitly limited: the attacker can only globalize content rights (FAQ add/edit/publish/delete, category/attachment rights) they already hold in some category - it cannot reach SuperAdmin, configuration, or rights not already held. It also requires the non-default security.permLevel=medium with group category restrictions configured. Net: a real priority for multi-tenant/editorial-delegation phpMyFAQ 4.2 deployments that rely on category scoping, but low real-world risk for the majority of installs that do not use medium permission mode with category-restricted groups. |
| Exploit ScenarioDerived | A delegated 'category editor' admin - trusted to manage FAQs only in, say, the IT category via a category-restricted group right - re-saves their own user rights through the admin update-rights API, which re-grants the group's category-scoped edit_faq right as a global direct user right. They can then edit, unpublish, publish or delete FAQs (and read drafts) in HR or any other category that was deliberately withheld, or grant the same global right to another non-SuperAdmin user. A verified in-memory PoC in the GHSA advisory demonstrates FAQ_EDIT changing from category-5-only to all-categories after one update-rights call; no separate working exploit against a live instance is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
phpMyFAQ 4.2.0-alpha.2 through 4.2.0-RC.1 contains an improper authorization flaw (CWE-863) in the updateUserRights endpoint that lets an authenticated non-SuperAdmin administrator holding the delegable USER_EDIT right convert a category-restricted group right into a global direct user right, then edit, publish, unpublish or delete FAQs in categories that were deliberately withheld. Exploitation is bounded: it requires security.permLevel set to medium (a documented, non-default option), at least one group with a category-restricted right configured, membership in that group, and a valid updateUserRights CSRF token, and it can only widen rights the attacker already holds in some category - it cannot reach SuperAdmin, configuration, or unheld rights. There is no CISA KEV entry and no confirmed working exploit against a live instance; the upstream advisory includes a public PoC reference consisting of an in-memory SQLite model that reproduces the guard and write order, which is not verified as working exploit code against a booted instance. The priority signal is 'this_week': a genuine but bounded authorization issue rather than a top-tier emergency.
RemediationAI
Vendor-released patch: upgrade to phpMyFAQ 4.2.0-RC.2 (https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2), which accompanies advisory GHSA-cg5x-q2hj-hw3j; no patched 4.2.0 final is referenced in the available data, so deploy RC.2 or later. Because the advisory text is truncated, apply the release notes for any additional hardening beyond the code fix. If immediate upgrade is not possible, the compensating controls follow directly from the preconditions: configurations that do not use security.permLevel=medium with group category restrictions configured are not exploitable, so reverting to the default permission level removes exposure but eliminates the granular category delegation the deployment was built around; and limiting the delegable USER_EDIT right to administrators who are not members of category-restricted groups removes the escalation path for an attacker, at the cost of restructuring how editorial delegation is assigned. Note that the escalation only widens rights the attacker already holds in some category and cannot reach SuperAdmin or configuration, and the practical urgency signal is 'this_week' rather than act-now.
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 4.2 introduced granular category-scoped editorial delegation on top of its permission layer. In MediumPermission mode the tables faqgroup_right and faqright/faquser_right carry group and direct user grants, while faqgroup_right_category narrows a group grant to specific categories. Methods such as hasPermission(), getAllowedCategoriesForRight() and checkUserRight() treat a direct user right as inherently global (getAllowedCategoriesForRight() returns null for direct rights), whereas category filtering is applied only on the group path via checkUserGroupRightForCategory(). The flaw lives in phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/UserController.php: updateUserRights validates only that the acting user possesses the submitted right (hasPermission(), which is true for any group grant regardless of its category restriction) and the acting user's language scope - the fix added for GHSA-3666-fmjj-qm5h - then calls refuseAllUserRights() followed by grantUserRight(), writing a global direct right. It never calls getAllowedCategoriesForRight(). The sibling group path, GroupController::updatePermissions (fixed for GHSA-6vf7-mrj2-7c37 in commit 79a842278), captures both language and category scope, so this is an incomplete fix of the same class. The widened right then bypasses category enforcement in AbstractController::userHasPermissionForCategories (AbstractController.php:443), which gates FaqController create/update/status/publish/sticky/delete as well as CategoryController and AttachmentsController filtering. The 4.1.x branch is unaffected because it has no faqgroup_right_category table and no hasPermissionForCategory support; category-scoped enforcement first shipped in 4.2.0-alpha.2 (commit c43e83004).
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:L/VI:H/VA:N/SC:N/SI:N/SA:N
Attacker is a pre-authenticated admin holding USER_EDIT (PR:H), reachable over the network admin API with no user interaction (AV:N/AC:L/UI:N); high integrity impact on withheld-category content, limited confidentiality (draft read), no availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-RC.2 contains an improper authorization vulnerability in updateUserRights that lets USER_EDIT admins drop category restrictions on group rights. Attackers can re-save rights through the user update-rights API to convert category-restricted group rights into global direct rights, then edit, publish or delete FAQs in withheld categories.
Technical POC Analysis
Note on identifiers: the advisory itself is GHSA-cg5x-q2hj-hw3j, scored Moderate 5.5 (AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N) and at publication states "No known CVE" and no CWE assigned, while listing…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-130357 is a high-severity authorization flaw in phpMyFAQ (versions 4.2.0-alpha.2 through 4.2.0-RC.1) that could enable certain delegated administrators to bypass category restrictions and modify or delete content in withheld categories. This impacts the integrity and confidentiality of sensitive FAQ content, potentially exposing internal knowledge or allowing unauthorized changes, but exploitation requires specific non-default configurations and existing privileges, limiting its scope.
No vendor-released patch identified at time of analysis. Interim mitigations: ensure security.permLevel is not set to 'medium' unless required; avoid assigning USER_EDIT rights to non-SuperAdmin users; regularly audit group rights and user permissions to detect anomalies; restrict network access to the phpMyFAQ admin interface.
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-126790
GHSA-r7gh-2w8p-p7q9
NVD
CVE.org
EPSS
Exploit-DB