CVE-2026-9306: QuantumNous new-api authorization bypass in Midjourney Image Relay Endpoint

CVE-2026-9306 · Severity: low · CVSS 3.7 · Published 2026-05-23

A security vulnerability exists in QuantumNous new-api, a tool used for managing and relaying AI service requests. An unauthenticated attacker can exploit a flaw in the Midjourney image relay component to view images generated by other users. This could lead to the unauthorized disclosure of private user content and intellectual property.

Technologies: QuantumNous New API. Vendors: QuantumNous.

Quick answers

Is CVE-2026-9306 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-9306 being exploited in the wild.
How severe is CVE-2026-9306?
Low severity, with a CVSS score of 3.7, published 23 May 2026.
Which products and versions are affected?
QuantumNous New API up to 0.12.1.
Is there a fix for CVE-2026-9306?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-9306 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-9306?
Check whether you run QuantumNous New API at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An Insecure Direct Object Reference (IDOR) vulnerability exists in the Midjourney Image Relay Endpoint of QuantumNous new-api up to version 0.12.1. The root cause is twofold: first, the route 'GET /mj/image/:id' in 'router/relay-router.go' is registered before authentication middleware is applied; second, the 'GetByOnlyMJId' function in 'model/midjourney.go' retrieves tasks based solely on the 'mj_id' without verifying user ownership. A remote, unauthenticated attacker can exploit this by guessing or obtaining a valid 'mj_id' to bypass authorization and stream another user's generated images directly from the server. While the attack is remote, it is classified as high complexity due to the requirement of identifying specific task IDs.

Affected products

  • QuantumNous new-api up to 0.12.1

Timeline

  • 2026-04-06: disclosed: Initial discovery and Gist publication by researcher YLChen-007.
  • 2026-05-23: advisory: CVE-2026-9306 published.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.