Intel

AIKIDO-2026-10694

prefect-client is vulnerable to Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 4, 2026

82

High Risk

This Affects:

PYTHONprefect-client
3.0.2 - 3.6.27
Fixed in 3.6.28
Are you affected? Scan for Free

TL;DR

validate_restricted_url resolves a hostname once while downstream HTTP clients reconnect using the original hostname, so attacker-controlled DNS can answer validation with a routable address and the live connection with a private or metadata address when private URLs are forbidden. Webhook and custom webhook notification clients now use transports that re-resolve and pin validated addresses per TCP connect while keeping TLS SNI aligned with the original host. Other fixes stop load_script_as_module from leaving stray entries in sys.modules, prevent check_server_version from overwriting caller Authorization headers when an API key is present, and ensure _UnpicklingFuture completion callbacks surface deserialization errors instead of swallowing them.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

prefect-client is vulnerable to Server-Side Request Forgery (SSRF) in versions 3.0.2 - 3.6.27.

How to fix this

Upgrade the prefect-client library to the patch version.