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

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

Canonical URL: https://buzzphp.com/security/ghsa-f25v-x6vr-962g · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical (CVSS 10) |
| Published | 2026-07-24 |
| Updated | 2026-07-24 |
| GHSA | [GHSA-f25v-x6vr-962g](https://github.com/advisories/GHSA-f25v-x6vr-962g) |
| Weakness | CWE-1392 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| pheditor/pheditor | < 2.0.8 | 2.0.8 |

## What to do

Update pheditor/pheditor to 2.0.8 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

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.

## Links

- [GHSA-f25v-x6vr-962g on GitHub](https://github.com/advisories/GHSA-f25v-x6vr-962g)
- [All Composer security advisories](https://buzzphp.com/security)
