Skip to main content

New API CVE-2025-59146

HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2025-10-09 security-advisories@github.com
8.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Self-register low-privilege account
  2. Delivery
    Submit crafted URL to processing endpoint
  3. Exploit
    Server fetches unvalidated internal URL
  4. Execution
    Reach metadata/internal services
  5. Impact
    Exfiltrate internal data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated account (CVSS PR:L), but exploitation is practically eased because New API ships with user self-registration enabled by default, so any attacker who can reach the web interface can register and then abuse the URL-submission feature that processes user-supplied links (explicitly not limited to image URLs). The limiting factors are: the endpoint must be network-reachable, an account must exist or be creatable (an admin who disables open registration materially raises the bar to PR:L with no easy self-provisioning), and instances running version 0.9.0.5+ are protected by the default-on SSRF module. Pre-patch instances with open registration and no egress firewall are the highest-risk configuration; impact is greatest where the server sits adjacent to cloud metadata endpoints or internal-only services.

Impact

This is a credible but not emergency-tier priority. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N, score 8.5) indicates a low-privilege, network-reachable, low-complexity flaw with a changed scope - consistent with SSRF where the vulnerable server pivots to attack other systems. The key amplifier here is contextual, not in the vector: the description states user registration is 'often enabled by default,' meaning the PR:L barrier is frequently trivial to satisfy by self-registering, effectively lowering the real-world authentication bar close to unauthenticated. Against that, the EPSS score is low (0.24%, 14th percentile), the CVE is NOT in CISA KEV, and no public exploit code is referenced - only the vendor patch commit. Exploitation status is therefore 'no public exploit identified at time of analysis.' The signals are internally consistent (low EPSS + no KEV + no POC = no evidence of active or widespread exploitation yet), with no contradictions between CVSS and description. Net: a genuinely exploitable SSRF in self-hosted AI infrastructure that commonly runs near cloud metadata endpoints and internal services, warranting prompt patching, but with no current evidence of in-the-wild abuse.

Exploit ScenarioDerived

An attacker self-registers an account on an exposed New API instance (registration is enabled by default) and submits a crafted URL - not limited to images - to the content-processing endpoint. The server fetches the attacker-controlled URL without validation, allowing the attacker to reach internal-only services or cloud instance metadata (e.g., 169.254.169.254) to harvest credentials or map the internal network. No public proof-of-concept is referenced; only the fixing commit is available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 08, 2026

Server-side request forgery in New API versions prior to 0.9.0.5 allows any authenticated user to coerce the server into issuing outbound requests to arbitrary internal or external services through a feature that fetches and processes user-supplied URLs. Because user self-registration is enabled by default, an attacker who can reach the web interface can typically create an account and trigger the endpoint, which is not limited to image URLs and accepts any link. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N, 8.5) reflects high confidentiality impact via access to internal-only services or cloud metadata endpoints; no public exploit code or confirmed active exploitation was identified at time of analysis, and EPSS is low at 0.24% (14th percentile). The issue is fixed in 0.9.0.5.

RemediationAI

Vendor-released patch: 0.9.0.5. Upgrade New API to 0.9.0.5 or later, which introduces a comprehensive, user-configurable SSRF protection module that is enabled by default and provides granular control over outbound requests (private-IP blocking via 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, loopback, link-local and IPv6 equivalents, plus domain and port allow/deny lists). Confirm the protection is active after upgrading and review its domain/IP/port allow-lists so legitimate integrations are not broken; tightening these lists may block expected outbound calls, so validate in a non-production environment first. For users who cannot upgrade immediately, the advisory recommends two temporary mitigations: enable the new-api image processing worker (new-api-worker) so URL fetching is offloaded and constrained, and/or configure egress firewall rules; note that enabling the worker may change the deployment topology and add operational overhead, while egress rules can break legitimate integrations and must be scoped carefully. Additionally, disabling open self-registration raises the effective privilege prerequisite from a freely creatable account to an existing one, materially reducing exposure. Detailed guidance is in the GitHub advisory GHSA-xxv6-m6fx-vfhh (https://github.com/QuantumNous/new-api/security/advisories/GHSA-xxv6-m6fx-vfhh) and the fixing commit https://github.com/QuantumNous/new-api/commit/ef634160986c6f6b087cbfe131074fda862928af.

Affected ProductsAI

New API (QuantumNous/new-api) versions prior to 0.9.0.5 are affected; the vulnerability is patched in 0.9.0.5. The project is the LLM gateway/AI asset management system distributed as a Go application, and no CPE string was supplied in the available intelligence, so affected scope should be determined by deployed version rather than by CPE matching. The official advisory is GHSA-xxv6-m6fx-vfhh at https://github.com/QuantumNous/new-api/security/advisories/GHSA-xxv6-m6fx-vfhh, and the fixing commit is https://github.com/QuantumNous/new-api/commit/ef634160986c6f6b087cbfe131074fda862928af. Administrators should inventory all New API instances and confirm their running version against the 0.9.0.5 baseline; instances with default configuration (open registration) and network exposure are the highest-priority targets for review.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

New API is a Go-based LLM gateway and AI asset management platform, and this is a classic CWE-918 server-side request forgery. The vulnerable code path accepts a user-supplied URL and makes a server-side fetch without validating the destination, so an attacker controls the host, port, and scheme of the request. The upstream fix commit (ef634160986c6f6b087cbfe131074fda862928af) adds common/ip.go and common/ssrf_protection.go, introducing an SSRFProtection struct with configurable allow/deny modes for domains and IPs, an AllowedPorts list supporting single ports and ranges (e.g., "8000-9000"), and a private-IP detector covering 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8, 169.254.0.0/16, multicast and reserved blocks, plus IPv6 loopback, link-local (fe80::/10), and unique-local (fc00::/7) ranges. The default configuration blocks private IPs and uses allow-list filtering, meaning the protection is enabled by default after upgrade. The high confidentiality rating in the assessed vector is consistent with SSRF against adjacent internal services or cloud metadata, while the low integrity rating reflects that the primary impact is unauthorized read/reach rather than data modification.

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

Vendor (github) PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
vuln.today AI 8.5 HIGH

Authenticated (PR:L) but low-barrier via default self-registration; network vector, low complexity; SSRF pivots beyond the app (S:C) exposing internal/metadata data (C:H), with limited integrity and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. An authenticated Server-Side Request Forgery (SSRF) vulnerability exists in versions prior to 0.9.0.5. A feature within the application allows authenticated users to submit a URL for the server to process its content. The application fails to properly validate this user-supplied URL before making a server-side request. This vulnerability is not limited to image URLs and can be triggered with any link provided to the vulnerable endpoint. Since user registration is often enabled by default, any registered user can exploit this. By crafting a malicious URL, an attacker can coerce the server to send requests to arbitrary internal or external services. The vulnerability has been patched in version 0.9.0.5. The patch introduces a comprehensive, user-configurable SSRF protection module, which is enabled by default to protect server security. This new feature provides administrators with granular control over outbound requests made by the server. For users who cannot upgrade immediately, some temporary mitigation options are available. Enable new-api image processing worker (new-api-worker) and/or configure egress firewall rules.

Executive ViewAI

Why It Matters

New API versions prior to 0.9.0.5 contain a server-side request forgery vulnerability that lets an authenticated user-including one who self-registers-force the server to access internal services or cloud metadata, which can expose sensitive credentials and internal-only data. Although no public exploit identified at time of analysis, the default self-registration setting means any attacker who can reach the web interface can likely trigger the flaw. Leadership should treat this as a high-priority exposure because it can lead to credential theft and lateral movement within the environment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche self-hosted open-source LLM gateway, limited enterprise footprint
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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