new-api CVE-2026-44342
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify target's new-api session
-
DeliveryHost malicious page with forged GET bind URL
-
ExploitLure authenticated victim to page
-
InstallBrowser sends session cookie with GET request
-
C2Server binds attacker email to victim account
-
ExecuteAttacker triggers password-reset to own email
-
ImpactFull account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim's browser sends session cookies on cross-site GET navigations - this is prevented by the default SameSite=Strict cookie configuration. The attack is therefore conditioned on: (1) the deployment having weakened or absent SameSite=Strict enforcement, either through explicit operator reconfiguration or through a proxy that rewrites Set-Cookie headers; (2) the victim being actively authenticated (valid session cookie) at the time they visit the attacker-controlled page; and (3) the attacker knowing or guessing a valid bind parameter (attacker-controlled email or OAuth token). What limits exploitation: SameSite=Strict is the default and blocks the attack in all mainstream browsers when unmodified; the attacker cannot recover anything from the response (C:N), only mutate binding state; the endpoint does not require any special privilege on the attacker's side beyond crafting the URL. |
| Impact | The CVSS 3.1 score of 5.3 (AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N) accurately reflects the exploitation difficulty. The AC:H metric is the decisive signal: the attack succeeds only when session cookies transit cross-site navigations, which the default SameSite=Strict configuration prevents in all mainstream modern browsers. This means the vast majority of default deployments are effectively not exploitable without an operator misconfiguration. The I:H rating is correct - successfully binding an attacker-controlled email enables follow-on account takeover via password-reset flows, which elevates the post-exploitation consequence even if initial exploitation is constrained. No EPSS score data was provided; no CISA KEV listing exists; no POC code has been identified. The overall real-world priority is low for organizations running default cookie configurations, but moderate for deployments that have altered SameSite behavior or route traffic through a proxy that strips or rewrites cookie attributes. |
| Exploit ScenarioDerived | An attacker registers a malicious email address with an authentication provider and crafts an HTML page containing an img tag or hidden link whose src resolves to GET /api/oauth/email/bind with the attacker's email as a parameter. When a logged-in new-api user visits this page in a browser where SameSite is not enforced as Strict, the browser silently sends the authenticated session cookie alongside the GET request, binding the attacker's email to the victim account. The attacker then triggers a password-reset flow to the now-bound email address, gaining full account access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 07, 2026
Cross-site request forgery in new-api's OAuth account binding endpoints allows an unauthenticated network attacker to silently rebind a logged-in user's email or WeChat identity to attacker-controlled credentials by luring the victim to a malicious page. Affected are all deployments running versions prior to v0.12.0-alpha.1 where the GET-based bind endpoints are reachable. No public exploit has been identified at time of analysis, and the default SameSite=Strict cookie configuration substantially limits real-world exploitability to environments that have weakened or overridden that default.
RemediationAI
The vendor-released patch is v0.12.0-alpha.1, which converts the email and WeChat binding routes from GET to POST and reads parameters from a JSON request body, eliminating the CSRF attack surface. Operators should upgrade to v0.12.0-alpha.1 or later; the fix commit is e099117c61391abdf888fb75e382a582e550bd0e (https://github.com/QuantumNous/new-api/commit/e099117c61391abdf888fb75e382a582e550bd0e). If an immediate upgrade is not feasible, two compensating controls can reduce risk: first, verify that session cookies retain their default SameSite=Strict attribute and that no reverse proxy or load balancer is stripping or downgrading the attribute - this single control prevents exploitation in all tested modern browsers; second, configure the reverse proxy to block or return 405 for GET requests to /api/oauth/email/bind and /api/oauth/wechat/bind, which removes the attack surface at the network layer without application changes. Note that blocking those GET endpoints may break any existing client integrations that call them directly, so operators should audit API consumers before deploying the proxy rule.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability (CWE-352, Cross-Site Request Forgery) arises from a fundamental HTTP semantics violation: the endpoints GET /api/oauth/email/bind and GET /api/oauth/wechat/bind perform state-changing operations (account identity binding) using an idempotent HTTP method. Because browsers send cookies on same-origin GET navigations and some cross-site navigations, a forged link or image tag is sufficient to trigger the operation without a CSRF token. The affected package, pkg:go/github.com_quantumnous_new-api, is a Go-based API gateway; the vulnerable code paths are router/api-router.go and controller/user.go. CWE-352 root cause: the server relied solely on session cookie presence rather than requiring an unpredictable anti-CSRF token or a non-GET method for mutation.
Know when the next one hits your stack
- 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
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
AC:H reflects the SameSite=Strict default that blocks most CSRF paths; I:H because successful binding enables account takeover via follow-on recovery flows.
Primary rating from Vendor (https://github.com/QuantumNous/new-api).
CVSS VectorVendor: https://github.com/QuantumNous/new-api
DescriptionCVE.org
Summary
The email and WeChat account binding endpoints used GET requests for state-changing account operations. In deployments where session cookies could be sent on cross-site navigations, an attacker could trigger a logged-in user's browser to bind an attacker-controlled email address or OAuth identity.
Affected endpoints included:
GET /api/oauth/email/bindGET /api/oauth/wechat/bind
Impact
A successful attack could change account binding state. For email binding, the attacker could bind an email address they control and then attempt follow-on account recovery flows. The default session cookie configuration uses SameSite=Strict, which mitigates common cross-site navigation attacks in modern browsers, so the issue is rated Medium.
Affected versions
Versions before v0.12.0-alpha.1 are affected.
Patches
This issue is fixed in v0.12.0-alpha.1. The fix changes email and WeChat binding routes from GET to POST and reads parameters from a JSON request body instead of query parameters. The same change set also normalizes password reset responses to avoid disclosing whether an email is registered.
Workarounds
If upgrading immediately is not possible, ensure session cookies are configured with strict SameSite behavior and block GET requests to /api/oauth/email/bind and /api/oauth/wechat/bind at the reverse proxy.
Resources
- Fixed by commit
e099117c61391abdf888fb75e382a582e550bd0e. - Relevant code paths:
router/api-router.goandcontroller/user.go.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Affected Products (CPE)CVE.org
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
GHSA-26v7-h57m-gh9m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB