Missing Authorization Affecting phpmyfaq/phpmyfaq package, versions <4.1.9>=4.2.0-alpha, <4.2.0-beta


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.28% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PHPMYFAQPHPMYFAQ-21717191
  • published26 Oct 2026
  • disclosed17 Oct 2026
  • creditHieuDC-SAS-NightWolf

Introduced: 17 Oct 2026

NewCVE-2026-111910  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade phpmyfaq/phpmyfaq to version 4.1.9, 4.2.0-beta or higher.

Overview

phpmyfaq/phpmyfaq is a FAQ system for PHP and MySQL, PostgreSQL and other databases

Affected versions of this package are vulnerable to Missing Authorization via the attachment download endpoint (attachment.php) due to a flawed permission check. The condition ($groupPermission || $groupPermission && $userPermission) evaluates to true whenever $groupPermission is truthy, making the $userPermission check irrelevant and allowing any authenticated user to download attachments they are not authorized to access. An attacker with a valid session can retrieve restricted FAQ attachments by requesting the endpoint with a known attachment ID.

Note: This is only exploitable when the records.allowDownloadsForGuests flag is enabled, or when the installation has users who hold the dlattachment permission - conditions common in deployments that actively use attachments.

References

CVSS Base Scores

version 4.0
version 3.1