Intel

AIKIDO-2026-10999

ai 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 Jun 1, 2026

66

Medium Risk

This Affects:

JSai
0.0.1 - 5.0.148
Fixed in 5.0.149
6.0.0 - 6.0.117
Fixed in 6.0.118
Are you affected? Scan for Free

TL;DR

The download helper in the top-level ai package fetches user-provided URLs without restricting protocol, hostname, or destination IP. The fix calls a new validateDownloadUrl utility that rejects non-HTTP(S) schemes, loopback, link-local, and private IPv4 and IPv6 ranges before the request is issued. The fix also validates the URL after redirects.

Who does this affect?

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

Background info

ai is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.1 - 5.0.148 and 6.0.0 - 6.0.117.

How to fix this

Upgrade the ai library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform