---
id: "CVE-2026-130342"
page: "https://infrastack.ai/live/CVE-2026-130342"
kind: "vulnerability"
aliases: ["CVE-2026-130342"]
title: "phpMyFAQ: multisite attachment deletion can wipe other instances' files"
severity: "medium"
cvss: 4.2
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["multisite", "package", "phpmyfaq", "self-hosted"]
not_affected_if: ["fixed-version", "single-instance"]
published_at: "2026-11-17T02:17:15+00:00"
first_seen_at: "2026-11-17T02:40:29+00:00"
updated_at: "2026-11-17T02:42:57+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-130342", "first_seen_at": "2026-11-17T02:40:29+00:00"}]
exploit_sources: []
---

# phpMyFAQ: multisite attachment deletion can wipe other instances' files

Link for people: https://infrastack.ai/live/CVE-2026-130342 (this .md is for agents)

On multisite phpMyFAQ deployments, deleting an attachment can remove a shared file blob that other instances still use. An editor on one instance can thereby destroy another instance's attachment files.

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

## How to check

- Check whether the installation runs in multisite mode with more than one instance sharing one attachment store.
- Check the phpMyFAQ version with the installed release, against `4.1.12` and `4.2.0-RC.2`.

## Fix

- Upgrade phpMyFAQ 4.1.x to `4.1.12` or later.
- Upgrade phpMyFAQ 4.2.0 pre-release builds to `4.2.0-RC.2` or later.

## Timeline

- 2026-11-17T02:40:29+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-130342

## Documents

- [advisory] Vendor advisory: github.com https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-3r8v-m4f4-g2wj
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.12-and-4.2.0-alpha-before-4.2.0-rc.2-cross-tenant-attachment-deletion
- [fix] Patch: github.com https://github.com/thorsten/phpMyFAQ/commit/4f0239a3b63b1a7ef5482d2c71c7e163de7f0bdb
- [fix] Release notes: github.com https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12
- [fix] Release notes: github.com https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2

## From the sources

phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an improper reference counting flaw on multisite deployments, allowing editors to delete other instances' attachment files. Because linkedRecords() counts only the local faqattachment table, deleting an attachment with shared md5 content makes File::delete() unlink the shared blob, destroying another instance's files.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
