Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-66397— phpMyFAQ before 4.1.6 Path Traversal via category image deletion

Quick assessment

Affected
thorsten phpMyFAQ
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

phpMyFAQ 4.1.6 之前版本在更新类别时,未对 existing_image 字段中的路径遍历序列进行验证。攻击者通过利用 Image::delete() 函数中不足的路径清理,可以删除任意文件。具体而言,攻击者可删除 database.php 配置文件,以绕过安装限制并访问公开设置向导,从而创建新的超级管理员账户。

CVSS 8.6 · High EPSS 0.49% · P40

Affected Version Matrix 2

VendorProduct Version RangeStatus
thorsten phpMyFAQ < 4.1.6 affected
4.1.6 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-66397

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
phpMyFAQ before 4.1.6 Path Traversal via category image deletion
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
thorsten phpMyFAQ 0 ~ 4.1.6 -

II. Public POCs for CVE-2026-66397

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 8485 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-66397

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-66397 (2)

Same Patch Batch · thorsten · 2026-07-27 · 3 CVEs total

CVE-2026-66398 9.4 CRITICAL phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API
CVE-2026-66399 6.5 MEDIUM phpMyFAQ before 4.1.6 Privilege Escalation via Group Membership

IV. Related Vulnerabilities

V. Comments for CVE-2026-66397

No comments yet


Leave a comment