← Back to CVE Explorer

CVE-2026-48030

Full vulnerability record from the local CVENow database.

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.

Severity
CRITICAL
CVSS score
9.9 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-27 18:16:55.347000
Last modified
2026-10-24 13:10:00.147000
View original CVE JSON
{
  "id": "CVE-2026-48030",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-27T18:16:55.347",
  "lastModified": "2026-10-24T13:10:00.147",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Pheditor es un editor de un solo archivo y gestor de archivos escrito en PHP. Desde la versión 2.0.1 hasta antes de la versión 2.0.4, una vulnerabilidad de inyección de comandos del sistema operativo en el gestor de acciones de la terminal permite a cualquier usuario autenticado ejecutar comandos arbitrarios del sistema operativo inyectando metacaracteres de shell en el parámetro POST ’dir’, eludiendo completamente la lista blanca TERMINAL_COMMANDS y logrando la ejecución remota de código completa con privilegios de servidor web. Este problema ha sido parcheado en la versión 2.0.4."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "pheditor",
          "product": "pheditor",
          "versions": [
            {
              "version": ">= 2.0.1, < 2.0.4",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
          "baseScore": 9.9,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 3.1,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-27T18:53:32.014022Z",
          "id": "CVE-2026-48030",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-78"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/pheditor/pheditor/releases/tag/2.0.4",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}