{"id":"CVE-2026-33655","aliases":["CVE-2026-33655","GHSA-6qcr-qxgr-m7fv","GO-2026-5930"],"related":[],"kind":"vulnerability","state":"published","title":"New API: SSRF Protection Bypass via Unresolved Hostname in Notification URLs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe 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.\n\n## Impact\n\nA 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.\n\n## Affected versions\n\nVersions 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.\n\n## Patches\n\nThis 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.\n\nThis 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.\n\n## Workarounds\n\nIf 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.\n\n## Resources\n\n- Fixed by commit `20399d3c8fcb4e3649d53163eb11940fd6763743`.\n- Relevant code paths: `setting/system_setting/fetch_setting.go`, `common/ssrf_protection.go`, `service/webhook.go`, and `service/user_notify.go`.","format":"markdown","source":"ghsa"},{"lang":"en","text":"New API: SSRF Protection Bypass via Unresolved Hostname in Notification URLs in github.com/QuantumNous/new-api","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-07T13:01:12.000Z","modified":"2026-10-25T15:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 0.12.0-alpha.1","status":"affected"}],"vendor":"QuantumNous","product":"new-api","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.0-alpha.1"}],"ecosystem":"Go","package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.0-alpha.1"}],"ecosystem":"Go","package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"go"},{"ranges":[{"status":"affected","fixed":"0.12.0"}],"vendor":"newapi","product":"new_api","cpe":"cpe:2.3:a:newapi:new_api:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-6qcr-qxgr-m7fv","tags":["advisory","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/QuantumNous/new-api/commit/20399d3c8fcb4e3649d53163eb11940fd6763743","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/QuantumNous/new-api/releases/tag/v0.12.0-alpha.1","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/QuantumNous/new-api","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-10T14:16:34.619Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33655","url":"https://www.cve.org/CVERecord?id=CVE-2026-33655","licence":"CVE Terms of Use","modified":"2026-07-10T14:16:49.910Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6qcr-qxgr-m7fv","url":"https://github.com/advisories/GHSA-6qcr-qxgr-m7fv","licence":"CC-BY-4.0","modified":"2026-07-21T19:19:25.028Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5930","url":"https://pkg.go.dev/vuln/GO-2026-5930","licence":"CC-BY-4.0","modified":"2026-07-21T19:15:26.399Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33655","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33655","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.575Z","epss":{"score":0.00442,"percentile":0.30253,"date":"2026-11-30T12:00:22.000Z"}}