ag-ui-strands is vulnerable to Server-Side Request Forgery (SSRF)
63
CVE Score
Medium
Server-Side Request Forgery (SSRF)
The AWS Strands integration's _fetch_url_bytes helper fetches multimodal content URLs with urllib.request.urlopen and no scheme allowlist, no address validation, and no redirect re-validation. A RunAgentInput payload can use a loopback, private, link local, or metadata service address, or a file:// URL, and the response bytes stream back to the caller through the SSE output with no size bound. The fix adds a scheme policy that allows only http and https, rejects loopback, private, link local, reserved, and CGNAT destinations, re-validates redirects, blocks HTTPS to HTTP downgrades, and caps the read size.
Upgrade the ag-ui-strands library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use the AWS Strands integration's multimodal content URL fetching.
0.1.0 - 0.2.5
Fixed in 0.3.0ag-ui-strands is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.1.0 - 0.2.5.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.