Skip to main content

QuantumNous new-api CVE-2026-9306

| EUVDEUVD-2026-31542 LOW
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-05-23 VulDB GHSA-cgrh-9fc9-55f9
2.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed new-api instance
  2. Delivery
    Analyze Midjourney relay endpoint structure
  3. Exploit
    Obtain or predict valid MJId values
  4. Execution
    Craft request bypassing authorization checks
  5. Impact
    Retrieve unauthorized Midjourney images

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires the target new-api deployment to have Midjourney image relay functionality enabled and exposed (relay-router.go endpoints active). The high attack complexity (AC:H) rating indicates specific non-trivial conditions: likely requires knowledge of valid Midjourney image identifiers (MJId values), understanding of the API's image retrieval parameter structure, or exploitation of race conditions/timing windows in the authorization check logic. No authentication required (PR:N) means any network-accessible attacker can attempt exploitation. No user interaction needed (UI:N). The CWE-639 classification (authorization bypass through user-controlled key) suggests attackers must manipulate image identifier parameters in a specific way that bypasses authorization checks. Limiting factors include the high complexity barrier (not point-and-click exploitation despite POC availability) and impact limited to confidentiality breach of Midjourney images rather than broader system access. Organizations not using Midjourney integration features are not affected even if running vulnerable versions.

Impact

Real-world risk assessment presents conflicting signals requiring careful interpretation. The CVSS 3.1 base score of 3.7 (Low severity) reflects high attack complexity (AC:H), no privileges required (PR:N), network accessibility (AV:N), and confidentiality impact only (C:L/I:N/A:N). The Exploitability metric (E:P) confirms proof-of-concept code exists. However, the 'difficult exploitability' descriptor and AC:H rating suggest successful exploitation requires specific timing, race conditions, or non-trivial manipulation techniques. The confidentiality impact is limited to low, indicating potential exposure of Midjourney-generated images rather than system compromise. Critical risk factors include: publicly available exploit code (GitHub Gist), unauthenticated remote vector, and vendor non-responsiveness indicating no official patch timeline. Mitigating factors: high attack complexity suggests this is not mass-exploitable, and impact is limited to information disclosure without integrity or availability effects. Organizations using new-api specifically for Midjourney image relay should prioritize this; others may deprioritize given the narrow functional scope and low CVSS. EPSS score not provided prevents quantitative exploitation likelihood assessment. No CISA KEV listing confirms this is not observed in widespread active exploitation.

Exploit ScenarioDerived

An external attacker identifies a QuantumNous new-api instance exposing Midjourney image relay endpoints. Using the publicly available proof-of-concept from GitHub (https://gist.github.com/YLChen-007/13974ead25fc6dac42fd7bac62fbb2df), the attacker crafts HTTP requests that manipulate the GetByOnlyMJId function parameter to retrieve Midjourney-generated images without authorization. Despite high attack complexity suggesting timing dependencies or specific parameter combinations, the attacker iterates through potential image identifiers or exploits predictable ID patterns to access confidential image content generated by legitimate users, potentially exposing proprietary designs, internal communications visualized through AI, or other sensitive visual data.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 23, 2026

Authorization bypass in QuantumNous new-api versions up to 0.12.1 allows remote attackers to access Midjourney image relay endpoints without proper authentication. The vulnerability resides in RelayMidjourneyImage and GetByOnlyMJId functions within relay-router.go. Despite high attack complexity (CVSS AC:H) and CVSS score of only 3.7, a publicly available proof-of-concept exploit exists (disclosed via GitHub Gist), reducing the technical barrier. The vendor did not respond to early disclosure attempts. EPSS data not provided, but the combination of public exploit and unauthenticated network access (PR:N) warrants attention for organizations using this API gateway for Midjourney integration.

RemediationAI

No vendor-released patch identified at time of analysis - QuantumNous did not respond to early disclosure attempts, and no fix version beyond 0.12.1 is confirmed in available data. Organizations should implement compensating controls while monitoring for upstream patches: First, if Midjourney image relay functionality is not business-critical, disable the affected endpoints entirely by removing or commenting out the RelayMidjourneyImage and GetByOnlyMJId route handlers in relay-router.go (requires source modification and recompilation; eliminates vulnerability but loses Midjourney integration). Second, implement authentication proxy or API gateway in front of new-api to enforce authentication before requests reach vulnerable endpoints (adds latency and infrastructure complexity; requires maintaining separate auth layer). Third, restrict network access to the Midjourney relay endpoints using firewall rules or reverse proxy ACLs to trusted IP ranges only (reduces attack surface but does not eliminate risk from internal or VPN-connected attackers). Fourth, implement request rate limiting and logging for Midjourney endpoint access to detect exploitation attempts (detection-only; does not prevent exploitation but enables incident response). Monitor QuantumNous GitHub repository and VulDB entry https://vuldb.com/vuln/365253 for patch announcements. Consider migrating to alternative API gateway solutions if vendor remains unresponsive.

Affected VersionsENISA

new-api 0.12.0
new-api 0.12.1

Affected Packages

euvd new_api no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability affects the Midjourney image relay functionality in new-api, a Go-based API gateway/relay service developed by QuantumNous. The flaw manifests in relay-router.go, specifically in functions handling Midjourney image operations (RelayMidjourneyImage and GetByOnlyMJId). According to the CWE-639 classification, this represents an authorization bypass through user-controlled key, meaning attackers can manipulate request parameters to access resources without proper authorization checks. The CPE identifier (cpe:2.3:a:quantumnous:new-api) confirms this affects the core new-api application. Given the Midjourney integration context, this likely involves API endpoints that proxy or cache image generation requests to Midjourney's service, where improper validation of image identifiers or session tokens allows unauthorized retrieval.

Know when New Api gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.9 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 26, 2026 - 19:52 NVD
3.7 (LOW) 2.9 (LOW)

DescriptionCVE.org

A security vulnerability has been detected in QuantumNous new-api up to 0.12.1. This affects the function RelayMidjourneyImage/GetByOnlyMJId of the file router/relay-router.go of the component Midjourney Image Relay Endpoint. Such manipulation leads to authorization bypass. The attack can be launched remotely. The attack requires a high level of complexity. The exploitability is reported as difficult. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy