Intel

AIKIDO-2026-680474

inference is vulnerable to Server-Side Request Forgery (SSRF)

GHSA-hjmm-hr52-vrp2Published Jul 15, 2026
July 15, 2026

86

CVE Score

High

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

The core image-loading path fetches images from caller-supplied URLs and validates only the hostname string, without resolving the host and while following redirects without re-validating each hop. An attacker who can supply an image URL can steer the server into fetching internal resources such as cloud metadata endpoints, loopback services, and private or link-local hosts, either directly, via a hostname that resolves to a private address, via a redirect, or via DNS rebinding. This exposes internal services and cloud credentials through server-side request forgery. The fix adds resolved-IP validation with connection pinning to the validated address and per-hop redirect re-validation.

How do I fix this?

Upgrade the inference library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your deployment loads images from caller-supplied URLs.

Package

Versions

0.8.0 - 1.3.4

Fixed in 1.3.5

Background info

inference is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.8.0 - 1.3.4.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea