CVE-2026-103592
6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| pecee | simple-router | 0 <= 5.4.1.7 | affected |
Weaknesses
- CWE-348: Use of Less Trusted Source
References
- https://github.com/skipperbent/simple-php-router/issues/727
- 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
- https://www.vulncheck.com/advisories/simple-php-router-through-5.4.1.7-ip-restriction-bypass-via-forwarding-headers
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.