Vulnerability · Published Jul 27, 2026 · Assigned by GitHub_M
CVE-2026-55579Pheditor: Hardcoded default password 'admin' with no forced change enables full application compromise
Critical 9.8
In plain English
A critical-severity hard-coded credentials in pheditor from pheditor. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | pheditor/pheditor | 2.0.6 | GHSA-p4h7-p9rj-2pq2 |
Affected products (as reported)
Weakness: CWE-798 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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