CVE-2025-59146
JSON

8.5high

New API has Authenticated Server-Side Request Forgery (SSRF) issue

Severity
8.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
QuantumNous new-api< 0.9.0.5CVE List

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Nueva API es una pasarela de modelo de lenguaje grande (LLM) y un sistema de gestión de activos de inteligencia artificial (IA). Existe una vulnerabilidad de falsificación de petición del lado del servidor (SSRF) autenticada en versiones anteriores a la 0.9.0.5. Una característica dentro de la aplicación permite a los usuarios autenticados enviar una URL para que el servidor procese su contenido. La aplicación no valida correctamente esta URL proporcionada por el usuario antes de realizar una petición del lado del servidor. Esta vulnerabilidad no se limita a las URL de imágenes y puede ser activada con cualquier enlace proporcionado al endpoint vulnerable. Dado que el registro de usuarios suele estar habilitado por defecto, cualquier usuario registrado puede explotar esto. Al elaborar una URL maliciosa, un atacante puede obligar al servidor a enviar peticiones a servicios internos o externos arbitrarios. La vulnerabilidad ha sido parcheada en la versión 0.9.0.5. El parche introduce un módulo de protección SSRF completo y configurable por el usuario, que está habilitado por defecto para proteger la seguridad del servidor. Esta nueva característica proporciona a los administradores un control granular sobre las peticiones salientes realizadas por el servidor. Para los usuarios que no pueden actualizar inmediatamente, algunas opciones de mitigación temporal están disponibles. Habilitar el trabajador de procesamiento de imágenes de new-api (new-api-worker) y/o configurar reglas de cortafuegos de egreso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59146 changed 2025-10-09CVE Terms of Use
NVDCVE-2025-59146 changed 2026-10-08Public domain