Description
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 0.12.0-alpha.1, the email and WeChat account binding endpoints GET /api/oauth/email/bind and GET /api/oauth/wechat/bind used GET requests for state-changing account operations, allowing an attacker to trigger a logged-in user's browser to bind an attacker-controlled email address or OAuth identity in deployments where session cookies could be sent on cross-site navigations. This issue is fixed in version 0.12.0-alpha.1.
Published: 2026-07-09
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a classic CSRF flaw (CWE‑352) caused by the use of GET requests for state‑changing account‑binding operations on the endpoints /api/oauth/email/bind and /api/oauth/wechat/bind. An attacker can craft a link or embed a hidden image that, when a victim’s authenticated browser follows it, causes the victim’s account to be bound to an email address or WeChat identity controlled by the attacker. This results in the attacker gaining the ability to authenticate to the victim’s account or to carry out further malicious actions under the victim’s identity if the system allows account recovery via the bound email or WeChat identity.

Affected Systems

The flaw exists in the QuantumNous new‑api product. Any deployment running a version prior to 0.12.0‑alpha.1 is vulnerable. Versions 0.12.0‑alpha.1 and later contain the fix.

Risk and Exploitability

With a CVSS score of 5.3, the flaw is considered medium severity. EPSS is < 1% and the vulnerability is not listed in CISA KEV. The likely attack vector is through a cross‑site request sent from a malicious page to the target’s authenticated session. Successful exploitation requires only that the victim is logged in and that the browser automatically sends the session cookie during the navigation. Once exploited, the attacker can bind an alternate email or WeChat identity to the victim’s account, enabling account takeover or unauthorized access.

Generated by OpenCVE AI on July 29, 2026 at 11:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the QuantumNous new‑api system to version 0.12.0‑alpha.1 or later, which removes the vulnerable GET endpoints and ensures proper state‑changing request handling.
  • If upgrading is not immediately possible, block or redirect the /api/oauth/email/bind and /api/oauth/wechat/bind endpoints so that authenticated browsers cannot execute the GET requests that change state.
  • Apply HTTP security controls such as requiring POST for state‑changing actions, enforcing CSRF tokens, and validating the Origin header to mitigate future CSRF vulnerabilities.

Generated by OpenCVE AI on July 29, 2026 at 11:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-26v7-h57m-gh9m New API is vulnerable to CSRF through user email binding
History

Thu, 09 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Quantumnous
Quantumnous new-api
Vendors & Products Quantumnous
Quantumnous new-api

Thu, 09 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
Description New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 0.12.0-alpha.1, the email and WeChat account binding endpoints GET /api/oauth/email/bind and GET /api/oauth/wechat/bind used GET requests for state-changing account operations, allowing an attacker to trigger a logged-in user's browser to bind an attacker-controlled email address or OAuth identity in deployments where session cookies could be sent on cross-site navigations. This issue is fixed in version 0.12.0-alpha.1.
Title New API CSRF in email and WeChat account binding endpoints
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'}


Subscriptions

Quantumnous New-api
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-10T14:44:38.863Z

Reserved: 2026-05-05T19:52:59.147Z

Link: CVE-2026-44342

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:45:03Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)