Description
simple-php-router through 5.4.1.7 contains an IP restriction bypass vulnerability in the IpRestrictAccess middleware that allows remote unauthenticated attackers to bypass IP whitelist and blacklist protections. Attackers can spoof X-Forwarded-For, CF-Connecting-IP, or Client-IP headers to impersonate whitelisted addresses or evade blacklists, gaining access to IP-restricted routes.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| pecee | simple-router | <= 5.4.1.7 |
References
- https://github.com/skipperbent/simple-php-router
- https://github.com/skipperbent/simple-php-router/blob/5.4.1.7/src/Pecee/Http/Middleware/IpRestrictAccess.php
- https://github.com/skipperbent/simple-php-router/blob/5.4.1.7/src/Pecee/Http/Request.php
- https://github.com/skipperbent/simple-php-router/issues/727
- https://www.vulncheck.com/advisories/simple-php-router-through-5.4.1.7-ip-restriction-bypass-via-forwarding-headers
Timeline
- Published
- Sep 30, 2026
- Last modified
- Oct 6, 2026
- NVD status
- Deferred