If you're running Apache CloudStack 4.20.0.0 through 4.22.1.0, your webhook delivery module can be instructed to make outbound HTTP requests to arbitrary URLs. That's the intended function — but those requests are not validating their targets. That's CVE-2026-59085, and it's SSRF with credential-theft implications, not port-scanning.

The vulnerability lives in the gap between what webhook modules are designed to do (accept admin-controlled URLs and fetch them) and what the code actually enforces (nothing on URL scheme, host, or IP). The affected versions split into two blocks — 4.20.0.0 through 4.20.3.0, and 4.21.0.0 through 4.22.1.0 — with fixes landing at 4.20.3.1 and 4.22.1.1. That split versioning is informative: it suggests either a partial fix in one branch that wasn't propagated, or independent reinvention of the same broken pattern across parallel release trains. Either way, this wasn't a one-off mistake — it's a vulnerability genotype that survived multiple development streams because the underlying assumption (that URL validation is someone else's job) was normalized in the codebase.

The blast radius is your immediate concern. CloudStack orchestrates infrastructure — hypervisors, storage systems, network planes — and operates with credentials that have access to those systems. An SSRF in webhook delivery doesn't just reach your internal network; it reaches the instance metadata service at 169.254.169.254 as CloudStack, carrying whatever IAM role or service principal the agent runs under. That's credential extraction, not reconnaissance. In multi-tenant deployments, the blast radius extends further.

Your remediation steps:

First, upgrade to 4.20.3.1 or 4.22.1.1 immediately — these are the patched versions. Second, treat the version numbers as a starting point for auditing, not a complete enumeration. The vulnerability emerged because the HTTP client was instantiated without URL validation in the webhook module — search your codebase for other HTTP client instantiation points that may have inherited the same assumption. The patch is surgical; the architectural failure likely has siblings in other callback or delivery mechanisms.

Third, implement URL validation as a mandatory enforcement at the HTTP client abstraction layer going forward — allowlist permitted schemes (https only, never http), block known-dangerous IP ranges including metadata service endpoints, and treat any feature that accepts user-controlled URLs as a security-critical boundary by default. This isn't input sanitization. It's a distinct security control that belongs in your HTTP client infrastructure, not in each consuming module.