CVE-2026-33655
JSON

7.7high

New API: SSRF Protection Bypass via Unresolved Hostname in Notification URLs

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.44% (higher than 30% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6qcr-qxgr-m7fvGO-2026-5930

Description

New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 0.12.0-alpha.1, the default SSRF protection configuration did not apply IP filtering to hostnames; with ApplyIPFilterForDomain disabled by default, URL validation checked domain allow/block rules but did not resolve a hostname and validate the resolved IP address, allowing authenticated users to configure Webhook, Bark, or Gotify notification URLs that point at an internal or metadata IP address. This issue is fixed in version 0.12.0-alpha.1.

Affected

Product or packageVersionsReported by
QuantumNous new-api< 0.12.0-alpha.1CVE List
github.com/QuantumNous/new-api (Go)before 0.12.0-alpha.1GitHub Advisory Database, Go Vulnerability Database
newapi new_apibefore 0.12.0NVD

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 0.12.0-alpha.1, the default SSRF protection configuration did not apply IP filtering to hostnames; with ApplyIPFilterForDomain disabled by default, URL validation checked domain allow/block rules but did not resolve a hostname and validate the resolved IP address, allowing authenticated users to configure Webhook, Bark, or Gotify notification URLs that point at an internal or metadata IP address. This issue is fixed in version 0.12.0-alpha.1.

GitHub Advisory Database

Summary

The default SSRF protection configuration did not apply IP filtering to hostnames. With ApplyIPFilterForDomain disabled by default, URL validation checked domain allow/block rules but did not resolve a hostname and validate the resolved IP address. Authenticated users could configure notification URLs for Webhook, Bark, or Gotify notifications and point a hostname at an internal or metadata IP address.

Impact

A regular authenticated user could cause the server to send notification requests to internal HTTP services reachable from the deployment network. Depending on the target environment, this could expose sensitive internal data through timing, errors, or response-dependent behavior. The issue is rated High.

Affected versions

Versions before v0.12.0-alpha.1 are affected. The previous affected range of <= v0.11.4-alpha.4 was too narrow because the unsafe default remained present until the v0.12.0-alpha.1 fix.

Patches

This issue is fixed in v0.12.0-alpha.1. The default fetch setting now sets ApplyIPFilterForDomain: true, causing hostname destinations to be resolved and checked against the configured IP filtering rules during URL validation.

This patch addresses the unresolved-hostname bypass for the affected notification URL paths. It does not mark the separate DNS rebinding advisory as fixed, because connection-time IP enforcement is tracked separately.

Workarounds

If upgrading immediately is not possible, explicitly enable ApplyIPFilterForDomain, restrict notification URL domains with an allowlist, disable user-configurable notification URLs where practical, and enforce outbound network filtering at the host or network layer.

Resources

  • Fixed by commit 20399d3c8fcb4e3649d53163eb11940fd6763743.
  • Relevant code paths: setting/system_setting/fetch_setting.go, common/ssrf_protection.go, service/webhook.go, and service/user_notify.go.
Go Vulnerability Database

New API: SSRF Protection Bypass via Unresolved Hostname in Notification URLs in github.com/QuantumNous/new-api

NVD (es)

La nueva API es una pasarela de modelo de lenguaje grande (LLM) y un sistema de gestión de activos de inteligencia artificial (IA). Antes de la versión 0.12.0-alpha.1, la configuración predeterminada de protección contra SSRF no aplicaba el filtrado de IP a los nombres de host; con ApplyIPFilterForDomain deshabilitado por defecto, la validación de URL comprobaba las reglas de permitir/bloquear dominios, pero no resolvía un nombre de host ni validaba la dirección IP resuelta, lo que permitía a los usuarios autenticados configurar URL de notificación de Webhook, Bark o Gotify que apuntaban a una dirección IP interna o de metadatos. Este problema está solucionado en la versión 0.12.0-alpha.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-33655 changed 2026-07-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-6qcr-qxgr-m7fv changed 2026-07-21CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5930 changed 2026-07-21CC-BY-4.0
NVDCVE-2026-33655 changed 2026-10-25Public domain