CVE-2026-130342
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 othe…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data or systems being changed, low risk of outages.
Affected products · Thorsten
| Product | Affected versions |
|---|---|
| phpMyFAQ | before 4.1.12 from 4.2.0-alpha before 4.2.0-RC.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-3r8v-m4f4-g2wj
- https://github.com/thorsten/phpMyFAQ/commit/4f0239a3b63b1a7ef5482d2c71c7e163de7f0bdb
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2
- 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
- https://github.com/advisories/GHSA-xhmv-xh26-ggcp
- https://nvd.nist.gov/vuln/detail/CVE-2026-130342