---
id: CVE-2026-55245
title: Bifrost is an enterprise AI gateway for routing requests to model providers
summary: >-
  Bifrost is an enterprise AI gateway for routing requests to model providers.
  Prior to 1.5.17, the isPublicIP function in core/providers/utils/fetch.go,
  reached through FetchAndEncodeURL for Bedrock and Vertex image or document
  URLs, clas…
severity: high
cwe:
  - CWE-918
vendor: maximhq
product: github.com/maximhq/bifrost/core
affected:
  - github.com/maximhq/bifrost/core < 1.5.17
patched:
  - github.com/maximhq/bifrost/core 1.5.17
published: '2026-08-28'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:09:13.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55245'
references:
  - url: >-
      https://github.com/maximhq/bifrost/commit/54ec431fc5255ff42c36420d88549477e0b33d89
    label: security-advisories@github.com
  - url: 'https://github.com/maximhq/bifrost/pull/4092'
    label: security-advisories@github.com
  - url: 'https://github.com/maximhq/bifrost/releases/tag/core/v1.5.17'
    label: security-advisories@github.com
  - url: 'https://github.com/maximhq/bifrost/security/advisories/GHSA-w98g-5w9p-p3rc'
    label: security-advisories@github.com
  - url: 'https://github.com/maximhq/bifrost/security/advisories/GHSA-w98g-5w9p-p3rc'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-w98g-5w9p-p3rc'
tags:
  - nvd
  - ghsa
  - go
epss: 0.00611
epssPercentile: 0.46927
aliases:
  - GHSA-w98g-5w9p-p3rc
ecosystem: go
ingestedAt: '2026-08-28T19:24:19.530Z'
---

## Overview

Bifrost is an enterprise AI gateway for routing requests to model providers. Prior to 1.5.17, the isPublicIP function in core/providers/utils/fetch.go, reached through FetchAndEncodeURL for Bedrock and Vertex image or document URLs, classifies Carrier-Grade NAT 100.64.0.0/10, IPv6 6to4 2002::/16, NAT64 64:ff9b::/96 and 64:ff9b:1::/48, and deprecated IPv6 site-local fec0::/10 addresses as public. A remote attacker who controls a multimodal request URL can make the gateway fetch internal services, including a cloud instance metadata endpoint encoded through 6to4 or NAT64. This issue is fixed in version 1.5.17.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-55245)

Affected packages:

- `github.com/maximhq/bifrost/core < 1.5.17`

Patched in:

- `github.com/maximhq/bifrost/core 1.5.17`

Source: https://github.com/advisories/GHSA-w98g-5w9p-p3rc
