Portkey AI Gateway 1.14.0 至 1.15.2 存在服务器端请求伪造(SSRF)漏洞。当未设置 TRUSTED_CUSTOM_HOSTS 环境变量时,isValidCustomHost 函数会错误地信任本地回环(localhost)风格的 host 名称,导致未认证的攻击者能够访问本地回环地址以及 Docker 宿主机上的服务。攻击者可通过构造带有恶意 x-portkey-custom-host 头部(例如通过 ollama 提供程序)的 /v1 请求,迫使网关调用内部服务并返回响应内容。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Portkey-AI | gateway | 1.14.0≤ 1.15.2 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| Portkey-AI | gateway | 1.14.0 ~ 1.15.2 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet