SecurityContext

CVE-2025-59146: New API - Server-Side Request Forgery

  • Cve: CVE-2025-59146
  • Name: New API - Server-Side Request Forgery
  • Description: 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.
  • Impact: Authenticated attackers can make the server send requests to arbitrary internal or external services, potentially exposing sensitive internal resources or causing unauthorized actions.
  • Remediation: Upgrade to version 0.9.0.5 or later which includes a user-configurable SSRF protection module enabled by default.
  • Vulnerability type: server_side_request_forgery
  • Vulnerability impact: server_side_request_forgery
  • Requirement type: logged_in
  • Requirements: Attacker must be an authenticated user
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
  • Epss score: 0.00245
  • Epss percentile: 0.1562
  • Assignee: [email protected]
  • Published at: 2025-10-09T19:15:43Z
  • Age in days: 411
  • Modified at: 2026-10-08T13:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59146
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-918Server-Side Request Forgery

References

UrlSourceTags
https://github.com/QuantumNous/new-api/commit/ef634160986c6f6b087cbfe131074fda862928afnvd
https://github.com/QuantumNous/new-api/security/advisories/GHSA-xxv6-m6fx-vfhhnvd

Products

ProductAffectedPlatform boundSourcesUrl
newapi:new_api< 0.9.0.5nocna_alias_text/v1/products/newapi/new_api

Projects

RepositoryLink kindsIndexedUrl
QuantumNous/new-apicommit, security_advisoryyes/v1/repositories/QuantumNous/new-api

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts