PoC Monitor
← All CVEs
CVE-2026-48030published 27 Jul 2026 17:53 UTCData: JSON · API

Pheditor

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

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.

First public PoC 60 days beforebefore publication · 28 May 2026
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.9critical · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

pheditor pheditor
  • >= 2.0.1, < 2.0.4

Fixed in 2.0.4

Mitigation

Upgrade pheditor to 2.0.4 or later.

References

Timeline

Days relative to CVE publication
-56-42-28-14t=0First public PoC28 May 2026 · t−60dCVE published27 Jul 2026 · t = 0

First public PoC 60 days before publication; not in CISA KEV. First PoC: muslimbek-0x/CVE-2026-48030 (created 28 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
muslimbek-0x/CVE-2026-48030 28 May 2026 −60 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Pheditor 2.0.1-2.0.3 - OS Command Injection1 Aug 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /pheditor.php

Body markers
pheditor_password= action=terminal token= command=ls dir=/tmp; {var} # in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0
Seen in
1 repo: muslimbek-0x/CVE-2026-48030
Evidence
muslimbek-0x/CVE-2026-48030/poc.py:40-46 muslimbek-0x/CVE-2026-48030/poc.py:53-61

GET /shell.php

Query
c=id
PoC User-Agent
Mozilla/5.0
Seen in
1 repo: muslimbek-0x/CVE-2026-48030
Evidence
muslimbek-0x/CVE-2026-48030/poc.py:104-105

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /pheditor.php
(?i)^/pheditor\.php(?:[?#].*)?$
GET /shell.php
(?i)^/shell\.php\?(?:.*&)?c=id

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /pheditor.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-48030 pheditor pheditor exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/pheditor.php"; http.request_body; content:"pheditor_password="; http.request_body; content:"action=terminal"; http.request_body; content:"token="; http.request_body; content:"command=ls"; http.request_body; content:"dir=/tmp|3b| "; reference:url,poc.griffinguard.io/cve/CVE-2026-48030; classtype:web-application-attack; sid:9648806; rev:1;)
GET /shell.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-48030 pheditor pheditor exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/shell.php"; http.uri; content:"c=id"; reference:url,poc.griffinguard.io/cve/CVE-2026-48030; classtype:web-application-attack; sid:9151105; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /pheditor.php
title: pheditor pheditor exploit attempt (CVE-2026-48030)
id: gg-pocmon-cve-2026-48030-9648806
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-48030. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-48030
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/pheditor.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.48030
GET /shell.php
title: pheditor pheditor exploit attempt (CVE-2026-48030)
id: gg-pocmon-cve-2026-48030-9151105
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-48030. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-48030
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/shell.php'
    cs-uri-query|contains|all:
      - 'c=id'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.48030