CVE-2026-140384: phpMyFAQ before 4.1.12 Privilege Escalation via Account Takeover in User Edit API

Published Dec 1, 2026
·
Updated

phpMyFAQ before 4.1.12 contains an improper authorization vulnerability that allows delegated user managers to modify more privileged non-SuperAdmin accounts by changing their recovery email and disabling TOTP. Attackers with USERADD, USEREDIT, and USERDELETE rights can POST to /admin/api/user/edit with overwritetwofactor, then trigger password reset to take over accounts holding rights like CONFIGURATIONEDIT.

Affected Software

1 affected component
PhpMyFaq phpmyfaq<4.1.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.1.12

Event History

Dec 1, 2026
CVE Published
via MITRE·02:29 PM
Data Sourced
via MITRE·02:29 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What level of access does an attacker need to exploit this issue?

The attacker must already be an authenticated delegated user manager with USER_ADD, USER_EDIT, and USER_DELETE rights. No user interaction is required.

2

Which accounts can be targeted?

Delegated user managers can modify non-SuperAdmin accounts that have greater privileges, including accounts with CONFIGURATION_EDIT rights. SuperAdmin accounts are not identified as targetable by the provided information.

3

How does the account takeover occur?

The attacker can use the user-edit API to replace the target's recovery email and disable TOTP using overwrite_twofactor. They can then initiate a password reset through the changed recovery email and take control of the target account.

4

What version resolves the issue?

The issue affects phpMyFAQ versions before 4.1.12. Upgrading to 4.1.12 or later addresses the affected version range.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203