LiveActive security incident?Get immediate response
CVE Record

CVE-2026-48030: 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.

CriticalCVSS 9.9Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

An authenticated Pheditor user can bypass command restrictions and run arbitrary operating-system commands with the web server’s privileges. This could expose files, alter hosted content, disrupt service, or enable broader compromise. Versions 2.0.1 through 2.0.3 are affected; version 2.0.4 contains the patch.

Executive priority

Treat this as an immediate remediation priority for every affected deployment. Although authentication is required, a low-privileged or compromised account could gain command execution with web server privileges. Upgrade promptly and investigate exposed systems for suspicious activity; current sources do not confirm exploitation in the wild.

Technical view

The terminal action handler passes the unsanitized dir POST parameter into an operating-system command. Shell metacharacters can bypass the TERMINAL_COMMANDS whitelist, producing remote command execution. The issue is CWE-78 with CVSS 3.1 score 9.9 because exploitation is network-accessible, low-complexity, requires low privileges, and can severely affect confidentiality, integrity, and availability.

Likely exposure

Exposure is limited to Pheditor versions 2.0.1 through 2.0.3 where an attacker has authenticated access to the terminal handler. Internet-accessible deployments, weak account controls, or compromised user credentials increase practical risk. The source bundle does not identify affected deployment counts or default exposure.

Exploitation context

The vulnerability requires an authenticated Pheditor account but needs no victim interaction. Successful exploitation executes commands under the web server account and bypasses the configured terminal-command whitelist. The supplied sources do not establish active exploitation, public weaponization, or CISA KEV inclusion.

Researcher notes

The affected boundary is stated as versions 2.0.1 to before 2.0.4. The security consequence is command injection through the dir parameter in the terminal action handler, not merely whitelist bypass. No CPEs, deployment prevalence, forensic indicators, or verified exploitation evidence are supplied.

Mitigation direction

  • Upgrade Pheditor to version 2.0.4 or later.
  • Restrict Pheditor access until upgrading, especially for internet-facing deployments.
  • Review and revoke unnecessary Pheditor accounts and sessions.
  • Follow the vendor advisory for any additional hardening guidance.

Validation and detection

  • Inventory Pheditor deployments and identify installed versions.
  • Confirm no deployment remains on versions 2.0.1 through 2.0.3.
  • Verify access to Pheditor requires authorized authentication and appropriate network restrictions.
  • Review web, authentication, and operating-system logs for unexpected terminal-handler activity.
  • Confirm the upgraded deployment reports version 2.0.4 or later.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-48030 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
3Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.9CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H3.16GitHub_M

Vulnerability scoring details

Base CVSS 3.1 score

9.9Critical
CVSS 3.1 vector shape for CVE-2026-48030Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
pheditorpheditor>= 2.0.1, < 2.0.4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.