ag-ui-strands is vulnerable to Server-Side Request Forgery (SSRF)
63
Medium Risk
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.
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.
ag-ui-strands is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.1.0 - 0.2.5.
Upgrade the ag-ui-strands library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.