BuzzPHP
LightDarkSystem

Pheditor: Authentication Bypass in Forced Password-Change Flow via Unverified Current Password

Critical severity. Published 24 July 2026. Update pheditor/pheditor to 2.0.8 or later: composer update pheditor/pheditor.

Which versions are affected?

PackageAffected versionsFixed in
pheditor/pheditor (opens in a new tab)< 2.0.82.0.8

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 10
Published
Updated
GHSAGHSA-f25v-x6vr-962g (opens in a new tab)
WeaknessCWE-1392

What the advisory says

Summary

The forced password-change flow, triggered when the stored password is still the default (admin), does not verify that the password submitted by the client actually matches the current password. Any non-empty value in pheditorpassword is enough to reach the password-change form, and submitting pheditornewpassword / pheditorconfirmpassword in the same request is enough to set an arbitrary new password and obtain an authenticated session — without ever proving knowledge of the current password.

Root Cause

pheditor.php line 163:

This checks whether the stored PASSWORD constant is still the default value. It does not check whether the submitted pheditorpassword matches it.

Source: GHSA-f25v-x6vr-962g (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