# Pheditor: Hardcoded default password 'admin' with no forced change enables full application compromise

Critical severity, published 2026-07-16. Update pheditor/pheditor to 2.0.6 or later: composer update pheditor/pheditor.

Canonical URL: https://buzzphp.com/security/ghsa-p4h7-p9rj-2pq2 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical (CVSS 9.8) |
| Published | 2026-07-16 |
| Updated | 2026-07-16 |
| CVE | [CVE-2026-55579](https://nvd.nist.gov/vuln/detail/CVE-2026-55579) |
| GHSA | [GHSA-p4h7-p9rj-2pq2](https://github.com/advisories/GHSA-p4h7-p9rj-2pq2) |
| Weakness | CWE-798 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| pheditor/pheditor | >= 2.0.1, < 2.0.6 | 2.0.6 |

## What to do

Update pheditor/pheditor to 2.0.6 or later: composer update pheditor/pheditor.

Check which version you run with `composer show pheditor/pheditor`, and every affected package with `composer audit`.

## About this advisory

Summary

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.

Details

Tested repository: https://github.com/pheditor/pheditor

Tested commit: e538f05b6faec99e5b23726bc9c17d6b57774297 (current HEAD on main)

Affected version: All versions of Pheditor

The password is hardcoded at pheditor.php:11:

This is the SHA-512 hash of the string admin:



## Links

- [GHSA-p4h7-p9rj-2pq2 on GitHub](https://github.com/advisories/GHSA-p4h7-p9rj-2pq2)
- [CVE-2026-55579 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-55579)
- [All Composer security advisories](https://buzzphp.com/security)
