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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-48030— Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78)

Quick assessment

Affected
pheditor pheditor
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.

Pheditor 是一个用 PHP 编写的单文件编辑器和文件管理器。在 2.0.1 至 2.0.4(不含)版本中,终端操作处理器存在一个操作系统命令注入漏洞。攻击者可以通过向 POST 参数注入 shell 元字符,使任何已认证的用户执行任意操作系统命令,完全绕过 TERMINAL_COMMANDS 白名单,并以 Web 服务器权限实现完整的远程代码执行(RCE)。该问题已在版本 2.0.4 中得到修复。

CVSS 9.9 · Critical EPSS 7.55% · P94

Public Exploits 1

Affected Version Matrix 1

VendorProduct Version RangeStatus
pheditor pheditor >= 2.0.1, < 2.0.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48030

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
Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78)
Source: CVE Program / CVE List V5
Vulnerability Description
Pheditor is a single-file editor and file manager written in PHP. From version 2.0.1 to before version 2.0.4, an OS Command Injection vulnerability in the terminal action handler allows any authenticated user to execute arbitrary OS commands by injecting shell metacharacters into the 'dir' POST parameter, completely bypassing the TERMINAL_COMMANDS whitelist and achieving full Remote Code Execution with web server privileges. This issue has been patched in version 2.0.4.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
pheditor pheditor >= 2.0.1, < 2.0.4 -

II. Public POCs for CVE-2026-48030

# POC Description Source Link Shenlong Link
1 Pheditor 2.0.1 to - 2.0.4 contains an OS command injection caused by improper sanitization of the 'dir' POST parameter in the terminal action handler, letting authenticated users execute arbitrary OS commands with web server privileges. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-48030.yaml POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 12540 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-48030

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

Vendor Advisories for CVE-2026-48030 (1)

Vendor Pages for CVE-2026-48030 (1)

Same Patch Batch · pheditor · 2026-07-27 · 4 CVEs total

CVE-2026-55579 9.8 CRITICAL Pheditor: Hardcoded default password 'admin' with no forced change enables full applicatio
CVE-2026-54540 8.8 HIGH Authenticated terminal command whitelist bypass in Pheditor
CVE-2026-55578 8.8 HIGH Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator

IV. Related Vulnerabilities

V. Comments for CVE-2026-48030

No comments yet


Leave a comment