BuzzPHP
LightDarkSystem

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

Critical severity. Published 16 July 2026. Update pheditor/pheditor to 2.0.6 or later: composer update pheditor/pheditor.

Which versions are affected?

PackageAffected versionsFixed in
pheditor/pheditor (opens in a new tab)>= 2.0.1, < 2.0.62.0.6

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show pheditor/pheditor
composer audit

Advisory details

SeverityCriticalCVSS 9.8
Published
Updated
CVECVE-2026-55579 (opens in a new tab)
GHSAGHSA-p4h7-p9rj-2pq2 (opens in a new tab)
WeaknessCWE-798

What the advisory says

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:

Source: GHSA-p4h7-p9rj-2pq2 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories