Description
phpMyFAQ before 4.1.5 contains a privilege escalation vulnerability in the user/add API endpoint that allows non-SuperAdmin administrators to create SuperAdmin accounts. A delegated administrator with USER_ADD/EDIT/DELETE permissions can call POST /admin/api/user/add with isSuperAdmin: true and attacker-chosen credentials to create a SuperAdmin account, then authenticate as that account to achieve full instance takeover.
Published: 2026-07-15
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the user/add API endpoint of phpMyFAQ, allowing an administrator who is not a SuperAdmin to create a SuperAdmin account by setting the isSuperAdmin flag to true during a POST request. This flaw, classified as CWE-269, lets the attacker obtain full control over the instance and all data.

Affected Systems

All phpMyFAQ builds prior to version 4.1.5 are affected. Administrators with USER_ADD, EDIT, or DELETE privileges can exploit the flaw; the product is distributed by the phpMyFAQ project.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and the EPSS score of less than 1% shows a low probability of exploitation. The vulnerability is not listed in CISA KEV. Exploitation requires authenticated API access; the attacker posts to /admin/api/user/add with isSuperAdmin set to true, then logs in as the newly created SuperAdmin to take over the system.

Generated by OpenCVE AI on July 31, 2026 at 04:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade phpMyFAQ to version 4.1.5 or later, which removes the missing access control.
  • Remove USER_ADD, EDIT, and DELETE permissions from all non‑SuperAdmin administrators to prevent account creation.
  • Restrict the user/add endpoint to SuperAdmin users only, either by disabling the endpoint for lower‑privilege accounts or by enforcing server‑side checks.

Generated by OpenCVE AI on July 31, 2026 at 04:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 16 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 12:00:00 +0000

Type Values Removed Values Added
Description phpMyFAQ before 4.1.5 contains a privilege escalation vulnerability in the user/add API endpoint that allows non-SuperAdmin administrators to create SuperAdmin accounts. A delegated administrator with USER_ADD/EDIT/DELETE permissions can call POST /admin/api/user/add with isSuperAdmin: true and attacker-chosen credentials to create a SuperAdmin account, then authenticate as that account to achieve full instance takeover.
Title phpMyFAQ - Privilege Escalation via Missing SuperAdmin Guard in user/add Endpoint
First Time appeared Phpmyfaq
Phpmyfaq phpmyfaq
Weaknesses CWE-269
CPEs cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*
Vendors & Products Phpmyfaq
Phpmyfaq phpmyfaq
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Phpmyfaq Phpmyfaq
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-16T15:16:54.873Z

Reserved: 2026-06-26T17:58:05.796Z

Link: CVE-2026-57996

cve-icon Vulnrichment

Updated: 2026-07-16T15:16:49.920Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T04:15:04Z

Weaknesses
  • CWE-269

    Improper Privilege Management