CVE-2026-130342
Deferred Deferred - Pending Action

Improper Reference Counting in phpMyFAQ Leading to File Deletion

Vulnerability report for CVE-2026-130342, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-17

Last updated on: 2026-11-17

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-17
Last Modified
2026-11-17
Generated
2026-11-17
AI Q&A
2026-11-17
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 8 associated CPEs
Vendor Product Version / Range
phpmyfaq phpmyfaq to 4.1.12 (exc)
phpmyfaq phpmyfaq to 4.2.0-alpha (exc)
phpmyfaq phpmyfaq to 4.2.0-RC.2 (exc)
thorsten phpmyfaq to 4.1.12 (exc)
thorsten phpmyfaq to 4.2.0-alpha (exc)
thorsten phpmyfaq 4.1.12
thorsten phpmyfaq 4.2.0-RC.2
thorsten phpmyfaq 4.1.11

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in phpMyFAQ versions before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 allows editors in multisite deployments to delete attachment files belonging to other instances. It occurs because the system improperly counts references to shared attachment files, causing deletion of files used by other instances when the reference count drops to zero.

Detection Guidance

Check phpMyFAQ version with: grep -r '"version"' /path/to/phpmyfaq/config. If version is before 4.1.12 or 4.2.0-RC.2, the system is vulnerable. Inspect multisite directory structure for shared attachments under <records.attachmentsPath>/multisite/. Verify if files are stored in instance-specific subdirectories like /multisite/<hostname>/.

Impact Analysis

If you use phpMyFAQ in a multisite setup, an attacker with editor privileges could delete files from other instances, causing data loss and broken downloads. The impact includes loss of critical attachments and potential disruption of other sites sharing the same file storage.

Compliance Impact

This vulnerability could lead to unauthorized data deletion, violating integrity and availability requirements in GDPR and HIPAA. Loss of attachments may result in non-compliance with record-keeping and data protection obligations.

Mitigation Strategies

Upgrade phpMyFAQ to version 4.1.12 or later for the 4.1.x branch, or to 4.2.0-RC.2 or later for the 4.2.x branch. After upgrading, manually move existing attachment files to their respective client directories under a new multisite subdirectory structure.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-130342. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...