---
id: "CVE-2026-111910"
kind: "vulnerability"
aliases: ["CVE-2026-111910"]
title: "phpMyFAQ: attachment download skips permission checks on restricted FAQs"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["package", "php", "phpmyfaq", "self-hosted"]
not_affected_if: ["guest-downloads-off-and-no-dlattachment-users", "no-attachments", "no-restricted-faqs"]
published_at: "2026-10-17T19:16:33+00:00"
first_seen_at: "2026-10-23T21:57:14+00:00"
updated_at: "2026-10-25T03:36:19+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111910", "first_seen_at": "2026-10-23T21:57:14+00:00"}]
---

# phpMyFAQ: attachment download skips permission checks on restricted FAQs

phpMyFAQ before 4.1.9 and 4.2.0-beta lets users download attachments from FAQs they should not see, because attachment.php skips per-record permission checks. An attacker with the dlattachment right, or a guest when guest downloads are enabled, can request attachment IDs and read confidential files.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version with `phpMyFAQ` admin panel or the `version` value in the installed files; flag anything below `4.1.9` or in the `4.2.0-alpha` line before `4.2.0-beta`.
- Look for restricted FAQs that have attachments, and check whether `allowDownloadsForGuests` is enabled in the configuration.

## Fix

- Upgrade phpMyFAQ to `4.1.9` or later on the 4.1 line, or to `4.2.0-beta` or later on the 4.2 line.
- Until upgraded, set `allowDownloadsForGuests` to disabled and review who holds the dlattachment right.

## Timeline

- 2026-10-23T21:57:14+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-111910

## From the sources

phpMyFAQ before 4.1.9 and 4.2.0-alpha before 4.2.0-beta contains an authorization bypass vulnerability in attachment.php that allows attackers to download attachments of restricted FAQs by bypassing per-record permission checks. Low-privileged users with the dlattachment right, or anonymous users when allowDownloadsForGuests is enabled, can request attachment IDs to retrieve confidential files from restricted FAQs.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
