Skip to main content

phpMyFAQ CVE-2026-130357

| EUVDEUVD-2026-126790 HIGH
Incorrect Authorization (CWE-863)
2026-11-17 VulnCheck GHSA-r7gh-2w8p-p7q9
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as non-SuperAdmin admin with USER_EDIT
  2. Exploit
    Re-save group right via PUT /admin/api/user/update-rights
  3. Execution
    Category-restricted group right written as global direct right
  4. Impact
    Edit, 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

phpMyFAQ 4.2.0-alpha.2 <4.2.0-RC.2

Affected Packages

euvd phpmyfaq fix: 4.2.0-RC.2

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

Vendor (VulnCheck) PRIMARY 7.0 HIGH
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
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 17, 2026 - 03:16 EUVD
CVE Published
Nov 17, 2026 - 01:40 cve.org
HIGH 7.0

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
open-source self-hosted FAQ application, modest niche deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-59943 CRITICAL POC
9.8 Oct 03

Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una

CVE-2023-5865 CRITICAL POC
9.8 Oct 31

Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8

CVE-2023-1886 CRITICAL POC
9.8 Apr 05

Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity

CVE-2023-1753 CRITICAL POC
9.8 Mar 31

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t

CVE-2022-3754 CRITICAL POC
9.8 Oct 29

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th

CVE-2026-46364 CRITICAL POC
9.3 May 15

Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and

CVE-2017-15730 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS

CVE-2017-15808 HIGH POC
8.8 Oct 23

In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2017-15735 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS

CVE-2017-15734 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8

CVE-2024-28107 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

CVE-2024-27299 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy