Server-side Request Forgery (SSRF) Affecting github.com/quantumnous/new-api/service package, versions <0.9.0-patch.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMQUANTUMNOUSNEWAPISERVICE-13537503
  • published11 Dec 2025
  • disclosed9 Oct 2025
  • creditMada2aa, t0ng7u

Introduced: 9 Oct 2025

CVE-2025-59146  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade github.com/QuantumNous/new-api/service to version 0.9.0-patch.5 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) when processing user-supplied URLs. An attacker can cause the server to send unauthorized requests to arbitrary internal or external services by submitting crafted URLs.

Workaround

This vulnerability can be mitigated by enabling the image processing worker (new-api-worker) and/or configuring egress firewall rules.

References

CVSS Base Scores

version 4.0
version 3.1