Intel

AIKIDO-2025-10796

@portkey-ai/gateway is vulnerable to Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF)CVE-2025-66405 Published Nov 12, 2025

60

Medium Risk

This Affects:

JS@portkey-ai/gateway
1.0.0 - 1.13.0
Fixed in 1.14.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to server-side request forgery (SSRF) due to insufficient validation of the x-custom-host header, allowing attackers to redirect requests to arbitrary or internal network hosts. The fix introduces strict host and scheme validation, blocks private IP ranges and unsafe domains, and enforces a trusted host whitelist to prevent unauthorized network access.

Who does this affect?

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

Background info

@portkey-ai/gateway is vulnerable to Server-Side Request Forgery (SSRF) in versions 1.0.0 - 1.13.0.

How to fix this

Upgrade the @portkey-ai/gateway 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