Loading advisory.
Loading advisory.
New API: IDOR in VideoProxy allows cross-user video content access via missing ownership check
The video proxy endpoint GET /v1/videos/:task_id/content is vulnerable to an Insecure Direct Object Reference (IDOR).
Published 2026-03-23 19:18 UTC · Modified 2026-03-26 21:11 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/QuantumNous/new-api | Go | < 0.11.4-alpha.2 | 0.11.4-alpha.2 | go get github.com/QuantumNous/new-api@v0.11.4-alpha.2 |
The video proxy endpoint GET /v1/videos/:task_id/content is vulnerable to an Insecure Direct Object Reference (IDOR). Any authenticated user who knows another user's task_id can retrieve that user's generated video content because the handler queries tasks by task_id alone and does not verify ownership.
Endpoint: GET /v1/videos/:task_id/content
Route middleware: TokenOrUserAuth()
Vulnerable handler: controller.VideoProxy
VideoProxy fetches the task with:
task, exists, err := model.GetByOnlyTaskId(taskID)GetByOnlyTaskId performs a database lookup using only task_id:
err = DB.Where("task_id = ?", taskId).First(&task).ErrorThe authenticated user's ID is available in request context, but VideoProxy does not use it. This allows any authenticated user to request /v1/videos/<foreign_task_id>/content and access another user's video if they know a valid task ID.
Other task-fetch paths already enforce ownership correctly via:
model.GetByTaskId(userId, taskId)An authenticated attacker who knows another user's task_id can:
Download video content belonging to another user
Bypass tenant isolation for generated media assets
Cause the server to fetch upstream video content for a task the attacker does not own
For Gemini tasks, the proxy also uses task.PrivateData.Key when contacting the upstream provider. In addition, full upstream response headers are forwarded back to the requester.
curl -o stolen_video.mp4 \
"https://<instance>/v1/videos/<victim_task_id>/content" \
-H "Authorization: Bearer sk-<attacker_token>"Expected result:
Response returns 200 OK
Response body contains the victim's video content
Replace the task lookup in VideoProxy with an ownership-checked query:
userId := c.GetInt("id")
task, exists, err := model.GetByTaskId(userId, taskID)No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.003 | v2026.06.15 |