{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.1.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.1.12"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "196e628289ee1c70da56c1dc1b1b31a703ad025e"
            }
          ],
          "repo": "https://github.com/thorsten/phpmyfaq",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-89fq-vwcf-wg3m"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140384.json"
  },
  "details": "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 USER_ADD, USER_EDIT, and USER_DELETE rights can POST to /admin/api/user/edit with overwrite_twofactor, then trigger password reset to take over accounts holding rights like CONFIGURATION_EDIT.",
  "id": "CVE-2026-140384",
  "modified": "2026-12-02T20:46:04.745688777Z",
  "published": "2026-12-01T14:29:23.738Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140384.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-89fq-vwcf-wg3m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-140384"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.12-privilege-escalation-via-account-takeover-in-user-edit-api"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "phpMyFAQ before 4.1.12 Privilege Escalation via Account Takeover in User Edit API"
}