Description
OpenClaw versions prior to 2026.2.22 contain incomplete IPv4 special-use range validation in the isPrivateIpv4() function, allowing requests to RFC-reserved ranges to bypass SSRF policy checks. Attackers with network reachability to special-use IPv4 ranges can exploit web_fetch functionality to access blocked addresses such as 198.18.0.0/15 and other non-global ranges.
Problem types
CWE-918 Server-Side Request Forgery (SSRF)
Product status
Any version before 2026.2.22
2026.2.22 (semver)
Credits
princeeismond-dot
References
github.com/...enclaw/security/advisories/GHSA-4rqq-w8v4-7p47 (GitHub Security Advisory (GHSA-4rqq-w8v4-7p47))
github.com/...ommit/71bd15bb4294d3d1b54386064d69cd0f5f731bd8 (Patch Commit #1)
github.com/...ommit/44dfbd23df453e51b71ef79a148c28c53e89168c (Patch Commit #2)
github.com/...ommit/333fbb86347998526dd514290adfd5f727caa6d9 (Patch Commit #3)
github.com/...ommit/f14ebd743cfc73f667fae80af70043d0ab1f88bd (Patch Commit #4)
www.vulncheck.com/...pecial-use-range-blocking-in-ssrf-guard (VulnCheck Advisory: OpenClaw < 2026.2.22 - Incomplete IPv4 Special-Use Range Blocking in SSRF Guard)