# CVE-2026-24421: phpMyFAQ missing authorization exposes /api/setup/backup to any authenticated user

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.74%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-23T20:17:25.000Z
- Modified: 2026-06-17T10:23:02.817Z
- Also known as: GHSA-wm8h-26fv-mg7g
- Weaknesses: CWE-285, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

phpMyFAQ is an open source FAQ web application. Versions 4.0.16 and below have flawed authorization logic which exposes the /api/setup/backup endpoint to any authenticated user despite their permissions. SetupController.php uses userIsAuthenticated() but does not verify that the requester has configuration/admin permissions. Non-admin users can trigger a configuration backup and retrieve its path. The endpoint only checks authentication, not authorization, and returns a link to the generated ZIP. This issue is fixed in version 4.0.17.

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: < 4.0.17
- phpmyfaq/phpmyfaq (Packagist): before 4.0.17
- thorsten/phpmyfaq (Packagist): before 4.0.17
- phpmyfaq phpmyfaq: before 4.0.17

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-wm8h-26fv-mg7g> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24421> (advisory)
- <https://github.com/thorsten/phpMyFAQ> (package)

## Sources

- CVE List: [CVE-2026-24421](https://www.cve.org/CVERecord?id=CVE-2026-24421), CVE Terms of Use, modified 2026-01-26
- GitHub Advisory Database: [GHSA-wm8h-26fv-mg7g](https://github.com/advisories/GHSA-wm8h-26fv-mg7g), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-24421](https://nvd.nist.gov/vuln/detail/CVE-2026-24421), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24421 · Whole record: https://cve.day/CVE-2026-24421.json · Rebuilt by cve.day 2026-11-25T22:59:13.156Z
