A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-59146

CVE-2025-59146: New API Gateway SSRF Vulnerability

CVE-2025-59146 is an authenticated Server-Side Request Forgery vulnerability in New API, an LLM gateway and AI asset management system. Attackers can exploit this to make unauthorized server requests. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: June 2, 2026

CVE-2025-59146 Overview

CVE-2025-59146 is an authenticated Server-Side Request Forgery (SSRF) vulnerability in New API, a large language model (LLM) gateway and AI asset management system. The flaw affects all versions prior to 0.9.0.5. An application endpoint accepts a user-supplied URL and fetches its content without validating the destination. Any authenticated user can exploit the issue, and because user registration is often enabled by default, the attack surface includes self-registered accounts. The vulnerability is categorized under CWE-918: Server-Side Request Forgery.

Critical Impact

Authenticated attackers can coerce the New API server into issuing arbitrary HTTP requests to internal services, cloud metadata endpoints, or external systems, enabling internal network reconnaissance and exposure of sensitive infrastructure data.

Affected Products

  • QuantumNous New API versions prior to 0.9.0.5
  • Self-hosted New API LLM gateway deployments
  • New API instances with default user registration enabled

Discovery Timeline

  • 2025-10-09 - CVE-2025-59146 published to the National Vulnerability Database
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-59146

Vulnerability Analysis

New API exposes a feature that allows authenticated users to submit a URL for server-side retrieval. The endpoint was originally intended for image processing, but the URL handler did not enforce a content-type or destination restriction. The server fetches whatever URL the user supplies, including links pointing at internal RFC1918 ranges, loopback interfaces, link-local addresses, and cloud instance metadata services.

The vulnerability falls under [CWE-918] and is triggered with a single authenticated HTTP request. Because the server processes the response on behalf of the attacker, the issue can be used to probe internal services, fingerprint listening ports, or retrieve credentials from metadata endpoints such as 169.254.169.254 in cloud environments.

Root Cause

The download handler in service/download.go accepted user-controlled URLs and forwarded them to the HTTP fetch routine without consulting an allow-list or blocking private address space. There was no helper to classify an IP address as private, link-local, or loopback prior to the patch. The fix introduces a new common/ip.go module that detects private ranges and a configurable FetchSetting policy that validates each outbound request.

Attack Vector

The attack requires only network access to the New API web interface and a valid low-privilege account. The attacker submits a crafted URL to the vulnerable endpoint. The server resolves the host and issues an outbound request from its own network position, returning the response content or error to the attacker.

go
// Security patch in common/ip.go - introduces private IP detection
package common

import "net"

func IsPrivateIP(ip net.IP) bool {
	if ip.IsLoopback() || ip.IsLinkLocalUnicast() || ip.IsLinkLocalMulticast() {
		return true
	}

	private := []net.IPNet{
		{IP: net.IPv4(10, 0, 0, 0), Mask: net.CIDRMask(8, 32)},
		{IP: net.IPv4(172, 16, 0, 0), Mask: net.CIDRMask(12, 32)},
		{IP: net.IPv4(192, 168, 0, 0), Mask: net.CIDRMask(16, 32)},
	}

	for _, privateNet := range private {
		if privateNet.Contains(ip) {
			return true
		}
	}
	return false
}

Source: GitHub Commit ef634160

The corresponding fix in service/download.go validates the URL against the new fetch policy before issuing the request:

go
// SSRF protection: validate the request URL
fetchSetting := system_setting.GetFetchSetting()
if err := common.ValidateURLWithFetchSetting(req.URL, fetchSetting.EnableSSRFProtection, fetchSetting.AllowPrivateIp, fetchSetting.DomainFilterMode, fetchSetting.IpFilterMode, fetchSetting.DomainList, fetchSetting.IpList, fetchSetting.AllowedPorts, fetchSetting.ApplyIPFilterForDomain); err != nil {
	return nil, fmt.Errorf("request reject: %v", err)
}

Source: GitHub Commit ef634160

Detection Methods for CVE-2025-59146

Indicators of Compromise

  • Outbound HTTP requests from the New API server process to RFC1918 addresses, 127.0.0.0/8, or 169.254.169.254 that did not originate from normal LLM provider traffic.
  • New user registrations followed shortly by image upload or URL submission API calls.
  • Application logs showing the download or image-fetch endpoint receiving non-image URLs or non-HTTPS schemes.
  • Unexpected DNS queries from the New API host resolving internal hostnames or cloud metadata domains.

Detection Strategies

  • Inspect web access logs for repeated POST requests to URL-submission endpoints with varying url parameters targeting internal CIDR ranges.
  • Correlate authenticated session identifiers with outbound socket connections initiated by the New API process to spot single users driving anomalous fetch behavior.
  • Alert on any egress traffic from the New API container or host destined for 169.254.169.254, metadata.google.internal, or internal management subnets.

Monitoring Recommendations

  • Capture and retain New API application logs, HTTP egress logs, and DNS query logs in a central analytics platform for retrospective hunting.
  • Baseline the legitimate set of upstream LLM provider domains the gateway contacts and alert on deviations.
  • Monitor user registration rates and flag bursts that precede URL-fetch API usage.

How to Mitigate CVE-2025-59146

Immediate Actions Required

  • Upgrade New API to version 0.9.0.5 or later, which ships SSRF protection enabled by default.
  • Disable open user registration on internet-exposed deployments until upgrade completes.
  • Rotate any cloud instance credentials or API keys reachable from the New API host if exploitation cannot be ruled out.
  • Restrict administrative access to the New API console to trusted networks.

Patch Information

The maintainers fixed the issue in commit ef634160, released in version 0.9.0.5. The patch introduces a user-configurable SSRF protection module, enabled by default, that gives administrators granular control over outbound requests. Configurable settings include EnableSSRFProtection, AllowPrivateIp, domain and IP allow/deny lists, and an AllowedPorts policy. Full details are published in GitHub Security Advisory GHSA-xxv6-m6fx-vfhh.

Workarounds

  • Enable the New API image processing worker (new-api-worker) to isolate URL fetching into a constrained execution context.
  • Apply egress firewall rules on the New API host or container that deny outbound traffic to RFC1918 ranges, loopback, link-local addresses, and cloud metadata IPs.
  • Place the New API service behind an outbound proxy that enforces a strict allow-list of upstream LLM provider domains.
bash
# Example iptables egress restrictions for the New API host
iptables -A OUTPUT -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -d 127.0.0.0/8 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechNew Api

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Commit Reference

  • GitHub Security Advisory GHSA-xxv6-m6fx-vfhh
  • Related CVEs
  • CVE-2026-42339: New API LLM Gateway SSRF Vulnerability

  • CVE-2026-30886: Newapi New Api Auth Bypass Vulnerability

  • CVE-2026-25591: New API SQL Injection DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English