Description
Pheditor is a single-file editor and file manager written in PHP. From version 2.0.1 to before version 2.0.6, Pheditor ships with a hardcoded default password admin (SHA-512 hash stored at pheditor.php:11). There is no mechanism to force a password change on first login. Any deployment using the default credentials grants an attacker full access to the file editor, file upload, and terminal features, enabling arbitrary file read/write and remote code execution. This issue has been patched in version 2.0.6.
Published: 2026-07-27
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a hard‑coded default password of "admin" stored as a SHA‑512 hash in pheditor.php at line 11. Because no enforcement exists for a password change on first use, any site running an unpatched version exposes an obvious credential to authenticate as an administrator. Upon successful login, an attacker gains unrestricted access to all editor features—including file upload, editing, and the embedded terminal. This permits arbitrary file read/write operations and remote execution of PHP code, effectively compromising the entire application and the underlying system. The issue was resolved in version 2.0.6, which removes the hard‑coded password.

Affected Systems

The affected product is Pheditor by pheditor. Versions from 2.0.1 up to, but not including, 2.0.6 contain the hard‑coded password. The issue was patched in 2.0.6; earlier versions remain vulnerable.

Risk and Exploitability

With a CVSS score of 9.8 the vulnerability is classified as critical. The EPSS score is < 1%, indicating a very low but non‑zero probability of exploitation. The simplicity of guessing the default password combined with the lack of additional authentication controls makes exploitation highly likely if the web interface is reachable from attacker hosts. The vulnerability is not listed in CISA’s KEV catalog.

Generated by OpenCVE AI on August 3, 2026 at 17:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Pheditor to version 2.0.6 or later, which removes the hard‑coded password.
  • Immediately configure a strong, unique administrator password and disable the default credentials unless a secure alternative is in place.
  • Restrict access to the Pheditor web interface to trusted networks, enforce HTTPS, and consider disabling the embedded terminal feature if it is not required.

Generated by OpenCVE AI on August 3, 2026 at 17:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p4h7-p9rj-2pq2 Pheditor: Hardcoded default password 'admin' with no forced change enables full application compromise
History

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Pheditor
Pheditor pheditor
Vendors & Products Pheditor
Pheditor pheditor

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Description Pheditor is a single-file editor and file manager written in PHP. From version 2.0.1 to before version 2.0.6, Pheditor ships with a hardcoded default password admin (SHA-512 hash stored at pheditor.php:11). There is no mechanism to force a password change on first login. Any deployment using the default credentials grants an attacker full access to the file editor, file upload, and terminal features, enabling arbitrary file read/write and remote code execution. This issue has been patched in version 2.0.6.
Title Pheditor: Hardcoded default password 'admin' with no forced change enables full application compromise
Weaknesses CWE-798
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Pheditor Pheditor
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-27T18:59:35.588Z

Reserved: 2026-06-16T23:18:03.169Z

Link: CVE-2026-55579

cve-icon Vulnrichment

Updated: 2026-07-27T18:59:32.104Z

cve-icon NVD

Status : Deferred

Published: 2026-07-27T18:16:56.880

Modified: 2026-07-27T20:32:11.620

Link: CVE-2026-55579

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T17:15:12Z

Weaknesses
  • CWE-798

    Use of Hard-coded Credentials