<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cpe:2.3:a:portkey_ai:ai_gateway:*:*:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3aportkey_aiai_gateway/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 14 Oct 2026 16:40:43 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3aportkey_aiai_gateway/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>SSRF in Portkey AI Gateway</title><link>https://feed.craftedsignal.io/briefs/2026-10-portkey-ai-ssrf/</link><pubDate>Wed, 14 Oct 2026 16:40:43 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-portkey-ai-ssrf/</guid><description>Portkey AI Gateway versions 1.14.0 through 1.15.2 are vulnerable to unauthenticated SSRF via the x-portkey-custom-host header, allowing attackers to access internal loopback and Docker host services.</description><content:encoded><![CDATA[<p>Portkey AI Gateway versions 1.14.0 through 1.15.2 contain a server-side request forgery (SSRF) vulnerability due to improper host validation logic within the <code>isValidCustomHost</code> function. When the <code>TRUSTED_CUSTOM_HOSTS</code> configuration variable is left unset, the application incorrectly trusts localhost-style hostnames. An unauthenticated attacker can exploit this flaw by sending a crafted HTTP request to a <code>/v1</code> endpoint, specifically utilizing the <code>x-portkey-custom-host</code> header. By targeting loopback addresses or internal Docker host services through this header, an attacker can coerce the gateway to perform unauthorized requests on their behalf and return the resulting data from internal services back to the attacker. This vulnerability poses a significant risk to the confidentiality and integrity of internal infrastructure that is otherwise not exposed to the public internet.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an unauthenticated attacker to interact with internal services that are only accessible from the loopback interface or within the Docker environment where the AI Gateway is hosted. This can lead to unauthorized information disclosure, interaction with internal management APIs, or potential secondary exploitation of internal microservices that assume all incoming requests are originating from trusted internal sources.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Portkey AI Gateway to a version beyond 1.15.2 immediately.</li>
<li>If upgrading is not immediately possible, explicitly configure the <code>TRUSTED_CUSTOM_HOSTS</code> environment variable to restrict the gateway to a strict allowlist of known-safe, non-internal hostnames.</li>
<li>Audit access logs for requests containing the <code>x-portkey-custom-host</code> header to identify potential exploitation attempts directed at internal loopback (127.0.0.1) or private Docker host IP addresses.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>web-vulnerability</category><category>ssrf</category><category>cloud</category></item></channel></rss>