phpSysInfo has an IP allowlist (PSI_ALLOWED) bypass via spoofed X-Forwarded-For / Client-IP headers
High severity. Published 28 August 2026. Update phpsysinfo/phpsysinfo to 3.4.6 or later: composer update phpsysinfo/phpsysinfo.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| phpsysinfo/phpsysinfo (opens in a new tab) | <= 3.4.5 | 3.4.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 phpsysinfo/phpsysinfo
composer auditAdvisory details
| Severity | HighCVSS 7.5 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-55584 (opens in a new tab) |
| GHSA | GHSA-786w-p5pm-cvgh (opens in a new tab) |
| Weakness | CWE-290 |
What the advisory says
Summary phpSysInfo's PSIALLOWED IP allowlist can be trivially bypassed by any unauthenticated remote attacker. The access-control check in readconfig.php derives the client IP from the attacker-controlled X-Forwarded-For and Client-IP HTTP headers before falling back to REMOTEADDR. An attacker can send X-Forwarded-For: to impersonate a trusted address and gain full access to all exposed system information, defeating the only IP-based access restriction the application provides.
Affected component - File: readconfig.php - Versions: all versions up to and including 3.4.x (current main)
Description When PSIALLOWED is configured, readconfig.php enforces an IP allowlist.
Source: GHSA-786w-p5pm-cvgh (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .