SCA: security update for github.com/QuantumNous/new-api (GHSA-f35r-v9x5-r8mc)

medium Tenable Self-Hosted Container Security Plugin ID 439119

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-30886)

Solution

Update the github.com/QuantumNous/new-api library and its related packages to version 0.11.4-alpha.2 or later.

See Also

https://github.com/advisories/GHSA-f35r-v9x5-r8mc

Plugin Details

Severity: Medium

ID: 439119

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 3/24/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:N/A:N

CVSS Score Source: CVE-2026-30886

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/23/2026

Vulnerability Publication Date: 3/23/2026

Reference Information

CVE: CVE-2026-30886

cwe: CWE-639