# CVE-2026-24420: phpMyFAQ: Attachment download allowed without dlattachment right (broken access control)

- 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): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-23T20:17:16.000Z
- Modified: 2026-06-17T10:23:02.710Z
- Also known as: GHSA-7p9h-m7m8-vhhv
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

phpMyFAQ is an open source FAQ web application. Versions 4.0.16 and below allow an authenticated user without the dlattachment permission to download FAQ attachments due to a incomprehensive permissions check. The presence of a right key is improperly validated as proof of authorization in attachment.php. Additionally, the group and user permission logic contains a flawed conditional expression that may allow unauthorized access. This issue has been fixed in version

(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-7p9h-m7m8-vhhv> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24420> (advisory)
- <https://github.com/thorsten/phpMyFAQ> (package)

## Sources

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

---

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