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.
Severity (CVSS)
| Base score | 9.8 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-798 — CWE-798: Use of Hard-coded Credentials
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pheditor | pheditor | >= 2.0.1, < 2.0.6 |
References
- https://github.com/pheditor/pheditor/security/advisories/GHSA-p4h7-p9rj-2pq2 (x_refsource_CONFIRM)
- https://github.com/pheditor/pheditor/releases/tag/2.0.6 (x_refsource_MISC)
Generated from the official CVE List on 28 Jul 2026 07:03 UTC.