Catégories
CVE-2026-33655 high CVSS 7.7

SSRF (Falsification de requête côté serveur) dans github.com/QuantumNous/new-api (CVE-2026-33655)

Résumé

SSRF dans github.com/QuantumNous/new-api (CVE-2026-33655). Des informations confidentielles peuvent être exposées. Exploitable via ApplyIPFilterForDomain. Atténuation : mise à jour vers 0.12.0-alpha.1 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

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 `Apply…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Résumé généré automatiquement

Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.

Une vulnérabilité référencée CVE-2026-33655 a été découverte dans github.com/QuantumNous/new-api.
Des attaquants peuvent cibler un point d'entrée spécifique comme ApplyIPFilterForDomain à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 7.7/10.
Action : mettez à jour github.com/QuantumNous/new-api vers 0.12.0-alpha.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/QuantumNous/new-api CVE-2026-33655 » sur le site de l'éditeur.

CVE-2026-33655 (github.com/QuantumNous/new-api) — CWE-918 / CVSS v3 7.7
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : ApplyIPFilterForDomain
Correctif : 0.12.0-alpha.1 — appliquer immédiatement
Contournement : 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
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.

❓ Quel est le problème

Une SSRF (CWE-918) affecte github.com/QuantumNous/new-api. Les attaquants atteignent le code vulnérable via ApplyIPFilterForDomain.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de github.com/QuantumNous/new-api. Surface d'attaque : ApplyIPFilterForDomain.

🔥 Gravité

Gravité : Élevée (CVSS 7.7/10). Des informations confidentielles peuvent être exposées.

🔧 Comment corriger

Mettre à jour vers 0.12.0-alpha.1.

🛡️ Contournement

Contournement : 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

🔍 Détection

Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    grep -r 'github.com/QuantumNous/new-api' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/QuantumNous/new-api を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaround mitigate
    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

    パッチが適用されるまでの応急処置として、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 を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade github.com/QuantumNous/new-api to 0.12.0-alpha.1

    ステージング環境で 0.12.0-alpha.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

go github.com/QuantumNous/new-api
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.0-alpha.1"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus