Description
phpMyFAQ before 4.1.6 fails to validate path traversal sequences in the existing_image field during category updates, allowing authenticated attackers to delete arbitrary files by exploiting insufficient sanitization in Image::delete(). Attackers can delete the database.php configuration file to disable the installation gate and access the public setup wizard to create new superadmin accounts.
Published: 2026-07-27
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

phpMyFAQ versions prior to 4.1.6 are vulnerable to a path traversal attack triggered during category image deletion. An authenticated user can supply a path that resolves outside the intended directory, enabling them to delete any file on the system. By targeting the configuration file that controls the installation gate, an attacker can remove it and trigger the public setup wizard, which then allows the creation of new superadmin accounts. The vulnerability is an input validation weakness classified as CWE‑22.

Affected Systems

All installations of phpMyFAQ that are version 4.1.5 or earlier, produced by Thorsten, are affected.

Risk and Exploitability

The flaw carries a CVSS score of 8.6, indicating high severity. The EPSS score of < 1% indicates a very low but nonzero exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires a valid authenticated account, after which arbitrary files can be removed, compromising confidentiality, integrity and availability, and enabling the attacker to gain full administrative control through the setup wizard.

Generated by OpenCVE AI on August 3, 2026 at 17:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade phpMyFAQ to version 4.1.6 or newer to apply the vendor fix.
  • Restrict category image deletion privileges so that only administrators can perform the action.
  • Set strict file system permissions on critical files such as database.php to prevent deletion by the web application.

Generated by OpenCVE AI on August 3, 2026 at 17:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
First Time appeared Phpmyfaq
Phpmyfaq phpmyfaq
CPEs cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*
Vendors & Products Phpmyfaq
Phpmyfaq phpmyfaq

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Thorsten
Thorsten phpmyfaq
Vendors & Products Thorsten
Thorsten phpmyfaq
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 27 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description phpMyFAQ before 4.1.6 fails to validate path traversal sequences in the existing_image field during category updates, allowing authenticated attackers to delete arbitrary files by exploiting insufficient sanitization in Image::delete(). Attackers can delete the database.php configuration file to disable the installation gate and access the public setup wizard to create new superadmin accounts.
Title phpMyFAQ before 4.1.6 Path Traversal via category image deletion
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Phpmyfaq Phpmyfaq
Thorsten Phpmyfaq
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:06:33.479Z

Reserved: 2026-07-26T12:22:34.139Z

Link: CVE-2026-66397

cve-icon Vulnrichment

Updated: 2026-07-27T18:18:10.283Z

cve-icon NVD

Status : Deferred

Published: 2026-07-27T16:18:12.363

Modified: 2026-07-28T20:37:39.353

Link: CVE-2026-66397

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T17:15:12Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')