CVE-2026-66397: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in thorsten phpMyFAQ
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.
AI Analysis
Technical Summary
phpMyFAQ versions prior to 4.1.6 do not properly sanitize the existing_image field during category updates, enabling authenticated users to perform path traversal attacks. This vulnerability allows deletion of arbitrary files via the Image::delete() function. Specifically, attackers can remove the database.php configuration file, which disables the installation gate and grants access to the setup wizard for creating superadmin accounts. The CVSS 4.0 score is 8.6, indicating a high-severity vulnerability with network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation permits authenticated attackers to delete critical files, including the database.php configuration file. This leads to disabling the installation gate and unauthorized access to the setup wizard, enabling creation of new superadmin accounts. The compromise of superadmin accounts can result in full control over the phpMyFAQ installation, severely impacting confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to authenticated users and monitor for suspicious activity related to category updates and file deletions. Avoid using vulnerable versions in production environments.
CVE-2026-66397: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in thorsten phpMyFAQ
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.
CVSS v4.0
Score 8.6high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
phpMyFAQ versions prior to 4.1.6 do not properly sanitize the existing_image field during category updates, enabling authenticated users to perform path traversal attacks. This vulnerability allows deletion of arbitrary files via the Image::delete() function. Specifically, attackers can remove the database.php configuration file, which disables the installation gate and grants access to the setup wizard for creating superadmin accounts. The CVSS 4.0 score is 8.6, indicating a high-severity vulnerability with network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation permits authenticated attackers to delete critical files, including the database.php configuration file. This leads to disabling the installation gate and unauthorized access to the setup wizard, enabling creation of new superadmin accounts. The compromise of superadmin accounts can result in full control over the phpMyFAQ installation, severely impacting confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to authenticated users and monitor for suspicious activity related to category updates and file deletions. Avoid using vulnerable versions in production environments.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-26T12:22:34.139Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6786039c2644c7f861a523
Added to database: 07/27/2026, 16:23:31 UTC
Last enriched: 07/30/2026, 00:51:59 UTC
Last updated: 09/10/2026, 19:36:55 UTC
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.