NetSight
medium6.5

CVE-2026-30886

New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system.

Impact

New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to version 0.11.4-alpha.2, an Insecure Direct Object Reference (IDOR) vulnerability in the video proxy endpoint (`GET /v1/videos/:task_id/content`) allows any authenticated user to access video content belonging to other users and causes the server to authenticate to upstream AI providers (Google Gemini, OpenAI) using credentials derived from tasks they do not own. The missing authorization check is a single function call — `model.GetByOnlyTaskId(taskID)` queries by `task_id` alone with no `user_id` filter, while every other task-lookup in the codebase enforces ownership via `model.GetByTaskId(userId, taskID)`. Version 0.11.4-alpha.2 contains a patch.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/QuantumNous/new-api< 0.11.4-alpha.20.11.4-alpha.2

Affected products

VendorProductAffected versions
NewapiNew Api
before 0.11.4
Version 0.11.4

Weakness classification

References