CVE-2026-57996
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedphpMyFAQ 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencephpMyFAQ before 4.1.5 has a broken access control vulnerability in the user/add API endpoint where the authorization check is missing or insufficient. A delegated administrator with USER_ADD/EDIT/DELETE permissions can craft a POST request to /admin/api/user/add with isSuperAdmin: true to create a SuperAdmin account, bypassing the intended permission model that restricts such elevation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed phpMyFAQ versionLocate the version file or check the admin dashboard for the phpMyFAQ version number (commonly found in a version.php file, README, or footer of the admin panel)Affected if The installed version is before 4.1.5 (any 4.x version below 4.1.5, or any version below 4.1.5)
-
Enumerate user accounts with elevated permissionsQuery the user database table or use the admin interface to list all user accounts and their permission levels, specifically looking for users with USER_ADD, USER_EDIT, or USER_DELETE permissionsAffected if There are delegated (non-SuperAdmin) users with USER_ADD, USER_EDIT, or USER_DELETE permissions enabled
-
Verify if the user/add API endpoint is accessible to delegated adminsReview the access control configuration or test whether a user with only USER_ADD/EDIT/DELETE permissions (but not SuperAdmin status) can access the POST /admin/api/user/add endpointAffected if The API endpoint accepts requests from non-SuperAdmin users without additional authorization checks
-
Audit SuperAdmin account creation logsReview admin activity logs, audit trails, or user creation timestamps to identify any SuperAdmin accounts created by users who did not originally have SuperAdmin privilegesAffected if Any SuperAdmin account was created by a delegated administrator account
A user is affected if they run phpMyFAQ versions before 4.1.5 and have delegated administrator accounts with USER_ADD/EDIT/DELETE permissions enabled in their environment.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to phpMyFAQ 4.1.5 or later. As a workaround, restrict USER_ADD/EDIT/DELETE permissions to only SuperAdmin accounts until the patch can be applied.
phpMyFAQ 4.1.5 or later
- Backup your current phpMyFAQ installation and database before upgrading
- Download phpMyFAQ version 4.1.5 or later from the official source (github.com/phpmyfaq/phpmyfaq)
- Follow the official upgrade instructions to replace the existing installation files
- After upgrading, verify that the /admin/api/user/add endpoint now properly rejects the isSuperAdmin parameter for non-SuperAdmin users
- Confirm that only actual SuperAdmin accounts can create other SuperAdmin accounts
- Test that administrators with USER_ADD/EDIT/DELETE permissions cannot escalate their privileges
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-57996 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-57996 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data