Skip to main content
EPSS 0.3%top 75%

CVE-2026-66397: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in thorsten phpMyFAQ

0
High
VulnerabilityCVE-2026-66397cvecve-2026-66397
Published: 07/27/2026 (07/27/2026, 15:43:47 UTC)
Source: CVE Database V5
Vendor/Project: thorsten
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 00:51:59 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses