# phpSysInfo has an IP allowlist (PSI_ALLOWED) bypass via spoofed X-Forwarded-For / Client-IP headers

High severity, published 2026-08-28. Update phpsysinfo/phpsysinfo to 3.4.6 or later: composer update phpsysinfo/phpsysinfo.

Canonical URL: https://buzzphp.com/security/ghsa-786w-p5pm-cvgh · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.5) |
| Published | 2026-08-28 |
| Updated | 2026-08-28 |
| CVE | [CVE-2026-55584](https://nvd.nist.gov/vuln/detail/CVE-2026-55584) |
| GHSA | [GHSA-786w-p5pm-cvgh](https://github.com/advisories/GHSA-786w-p5pm-cvgh) |
| Weakness | CWE-290 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| phpsysinfo/phpsysinfo | <= 3.4.5 | 3.4.6 |

## What to do

Update phpsysinfo/phpsysinfo to 3.4.6 or later: composer update phpsysinfo/phpsysinfo.

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

## About this advisory

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.

## Links

- [GHSA-786w-p5pm-cvgh on GitHub](https://github.com/advisories/GHSA-786w-p5pm-cvgh)
- [CVE-2026-55584 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-55584)
- [All Composer security advisories](https://buzzphp.com/security)
