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

Medium 6.5 Published Updated

Authenticated users lacking download permissions can access FAQ attachments due to flawed authorization checks in phpMyFAQ.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-24420?

CVE-2026-24420 is a medium-severity missing authorization vulnerability in Phpmyfaq Phpmyfaq, published on 24 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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

Weakness: CWE-284

Which versions are affected by CVE-2026-24420?

4 open source packages ship an affected version, including phpmyfaq/phpmyfaq and thorsten/phpmyfaq. It affects 1 product.

PackageAffectedFixed in
phpmyfaq/phpmyfaq PackagistAll versions4.0.17
phpmyfaq/phpmyfaq PackagistAll versions4.0.17
thorsten/phpmyfaq PackagistAll versions4.0.17
thorsten/phpmyfaq PackagistAll versions4.0.17

Products include Phpmyfaq Phpmyfaq.

How do I fix CVE-2026-24420?

Upgrade phpmyfaq/phpmyfaq to 4.0.17 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-24420 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24420 exists.

All Phpmyfaq Phpmyfaq vulnerabilities

Sources

Also known as GHSA-7p9h-m7m8-vhhv.

Is CVE-2026-24420 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free