Skip to main content

phpMyFAQ CVE-2026-130350

| EUVDEUVD-2026-126797 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-17 VulnCheck GHSA-22vj-93m4-g8x7
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as delegated group/user admin
  2. Exploit
    POST empty rightIds to group/permissions or user/update-rights
  3. Execution
    Held-rights check loop skipped on empty array
  4. Impact
    Wipe all rights of more-privileged group or administrator

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

Requires an authenticated, non-SuperAdmin ('delegated') administrator account that already holds the delegable group-management (GROUP_EDIT) or user-management (USER_EDIT) rights. The group endpoint (POST /admin/api/group/permissions) additionally requires the instance to run with security.permLevel = medium; the user endpoint (PUT /admin/api/user/update-rights) works under both the basic and medium permission levels. The trigger is submitting an empty rightIds or userRights array, which causes the per-right 'rights you hold' check loop to be skipped entirely. Limiting factors for defenders: it cannot be performed unauthenticated or by an ordinary non-admin user - the attacker must be a trusted lower-tier administrator, so the realistic threat is a malicious or compromised delegated admin rather than an external anonymous attacker; affects phpMyFAQ before 4.1.12 and the 4.2.0-alpha line before 4.2.0-RC.2.

Impact

This is a medium-severity authorization flaw (CVSS 4.0 base 5.1), and the signals are internally consistent rather than conflicting. The vector CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L is network-reachable with low complexity and no user interaction, but PR:H means the attacker must already be an authenticated, delegated (non-SuperAdmin) administrator holding the delegable group- or user-management rights - this is an insider/privilege-boundary issue, not a remote-unauthenticated break. Impact is bounded: no confidentiality loss (VC:N), only limited integrity and availability (VI:L/VA:L), because the attacker can wipe the rights of more-privileged groups/admins (effectively a privilege/denial of administrative function) but cannot read data or gain the rights themselves. No EPSS score was supplied and the CVE is NOT in CISA KEV, so there is no evidence of widespread or automated exploitation; the vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a patch-on-normal-cycle priority. A detailed public PoC reference exists in the GHSA advisory, but the reporter states it was confirmed by two manual code reviews and a source-text script, not executed against a running instance. Net: a genuine, well-documented access-control bug worth patching this month, but gated behind existing delegated-admin privileges, so real-world risk is moderate and primarily an insider or compromised-sub-admin scenario rather than a mass-exploitation threat.

Exploit ScenarioDerived

A delegated administrator who holds only the delegable GROUP_EDIT or USER_EDIT management rights sends POST /admin/api/group/permissions with {"rightIds": []} (or PUT /admin/api/user/update-rights with {"userRights": []}); the handler first calls refuseAll*Rights() to wipe the target, then re-grants from the submitted list, but the 'you may only grant rights you hold' check loops over the empty submitted array and never runs, so every right of a more-privileged group or admin is deleted. A public PoC reference with full reproduction steps exists in the GHSA advisory; it is not verified as a working exploit because dependencies were not installed and the requests were never sent to a live instance (confirmed via code review instead).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Delegated non-SuperAdmin administrators in phpMyFAQ can strip every permission from higher-privileged groups and administrator accounts by submitting an empty rightIds or userRights array to the admin API endpoints group/permissions and user/update-rights. The 'you may only grant rights you hold' validation loops over the submitted list, so an empty list skips the check entirely while the handler still calls refuseAllGroupRights()/refuseAllUserRights() and deletes the target's existing rights. The flaw affects phpMyFAQ up to and including 4.1.11 and the 4.2.0-alpha line before 4.2.0-RC.2, is reachable only by an authenticated administrator holding the delegable GROUP_EDIT right (with security.permLevel = medium) or USER_EDIT right (at any permission level), and is rated CVSS 4.0 base 5.1 (low integrity and availability impact); there is no CISA KEV entry or confirmed active exploitation, and the reproduction procedure published with the advisory was validated by source-code review rather than against a running instance.

RemediationAI

Vendor-released patch: upgrade to phpMyFAQ 4.1.12 or 4.2.0-RC.2, which contain commit 097f27f9667ea3fe4bfbbb7d8e1ba9e2ff2f9e92 adding actingUserHoldsAllRightsOf() checks to updateUserRights() and deleteUser() and assertActorHoldsAllGroupRights() to updatePermissions(); release notes are at https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12 and https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2, with details in https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5p5c-78hg-hwp9. If upgrading must be staged, revoke the delegable GROUP_ADD/GROUP_EDIT/GROUP_DELETE and USER_ADD/USER_EDIT/USER_DELETE rights from non-SuperAdmin accounts until the patch is applied, accepting that delegated group and user administration stops working for those accounts; note that lowering security.permLevel to basic only removes the group endpoint's exposure and leaves the user path exploitable in both modes, so it is not a substitute for the fix. Because the missing check is on removal rather than granting, detection is retrospective: audit faqgroup_right and faquser_right for groups or accounts that have lost all rights, and review administration access logs for POST admin/api/group/permissions or PUT admin/api/user/update-rights requests carrying empty rightIds or userRights arrays, keeping in mind that such reviews only surface abuse after privileges have already been destroyed and require restoration of the affected assignments by a SuperAdmin.

Affected VersionsENISA

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

Affected Packages

euvd phpmyfaq fix: 4.1.12, 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 implements role-based access control through a Permission subsystem built on the MediumPermission repository, which persists group rights in the faqgroup_right table and per-user rights in faquser_right; group rights exist only when security.permLevel is set to medium. The vulnerability is CWE-863 (incorrect authorization) in the administration API controllers phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/GroupController.php (updatePermissions, route POST admin/api/group/permissions, gated only by PermissionType::GROUP_EDIT) and UserController.php (updateUserRights, route PUT admin/api/user/update-rights, gated only by USER_EDIT). Both handlers call refuseAll*Rights() on the target and then re-grant the submitted ids, and both perform their held-rights comparison inside a foreach over the submitted array; with an empty array the loop body never executes, no rejection occurs, and the unconditional wipe against faqgroup_right (plus the group's language restrictions) or faquser_right proceeds. Sibling operations in the same controllers (deleteGroup, updateMembers, updateGroup via denyUnlessGroupRightsHeld, and editUser via actingUserHoldsAllRightsOf) already enforce that a delegated admin cannot destroy privileges they could never grant, so the rights-replacement endpoints are the gap; this is a follow-up to GHSA-crh2-cv2j-cpjh and GHSA-jprf-xpcq-vjwq. The vendor fix in commit 097f27f9667ea3fe4bfbbb7d8e1ba9e2ff2f9e92 adds actingUserHoldsAllRightsOf() checks to updateUserRights() and deleteUser(), calls assertActorHoldsAllGroupRights() from updatePermissions(), and adds an instanceof MediumPermission guard so the check degrades safely when group rights are not in use.

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 5.1 MEDIUM
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
vuln.today AI 3.8 LOW

Exploitation requires a delegated admin holding management rights, so PR:H; network API with no interaction gives AV:N/AC:L/UI:N; no data disclosure (C:N) but rights are wiped, giving limited I:L and A:L.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/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
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an incorrect authorization vulnerability that allows delegated group or user admins to remove rights they do not hold by submitting empty rights lists. Attackers can send an empty rightIds or userRights array to group/permissions or user/update-rights to wipe all rights of more-privileged groups or administrators.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche open-source PHP FAQ application, limited enterprise/production 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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