The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2691

CVE-2025-2691: Nossrf Package SSRF Vulnerability

CVE-2025-2691 is a Server-Side Request Forgery flaw in the nossrf package that allows attackers to bypass protection mechanisms using hostnames resolving to local IPs. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-2691 Overview

CVE-2025-2691 is a Server-Side Request Forgery (SSRF) vulnerability affecting the nossrf npm package, a library specifically designed to protect applications against SSRF attacks. Versions prior to 1.0.4 contain a flaw that allows attackers to bypass the SSRF protection mechanism by providing hostnames that resolve to local or reserved IP address spaces.

Critical Impact

This vulnerability undermines the core security function of the nossrf library, potentially allowing attackers to access internal services, cloud metadata endpoints, and other protected resources that should be inaccessible from external requests.

Affected Products

  • nossrf versions prior to 1.0.4
  • Applications using vulnerable nossrf versions for SSRF protection
  • Node.js applications relying on nossrf for URL validation

Discovery Timeline

  • 2025-03-23 - CVE-2025-2691 published to NVD
  • 2025-03-26 - Last updated in NVD database

Technical Details for CVE-2025-2691

Vulnerability Analysis

This SSRF vulnerability exists in the nossrf package's hostname resolution and validation logic. The nossrf library is designed to prevent SSRF attacks by blocking requests to internal IP addresses and reserved address spaces. However, the vulnerable versions fail to properly handle certain hostname configurations that ultimately resolve to restricted IP ranges.

The vulnerability allows attackers to craft malicious hostnames that pass the initial validation checks but resolve to local addresses (such as 127.0.0.1, localhost, or 0.0.0.0) or private IP ranges (like 10.x.x.x, 172.16.x.x-172.31.x.x, or 192.168.x.x). This bypass technique exploits timing differences between DNS resolution phases or DNS rebinding attacks where the hostname resolves to a safe IP during validation but to a malicious internal IP during the actual request.

The network-based attack vector means exploitation can occur remotely without authentication, making this vulnerability particularly concerning for internet-facing applications that rely on nossrf for SSRF protection.

Root Cause

The root cause stems from inadequate validation of DNS resolution results in the nossrf library. The package fails to properly verify that resolved IP addresses remain outside of restricted address spaces at all stages of the request lifecycle. This creates a race condition where DNS responses can be manipulated between the validation check and the actual HTTP request execution.

Attack Vector

Attackers can exploit this vulnerability by submitting URLs with specially crafted hostnames to applications protected by vulnerable nossrf versions. The attack leverages DNS resolution behaviors to bypass IP-based blocklists.

Common attack techniques include:

  • DNS rebinding attacks where the attacker controls a DNS server that returns different IP addresses for the same hostname
  • Using hostnames that resolve to IPv6 representations of localhost or private addresses
  • Exploiting URL parsing inconsistencies between the validation layer and the HTTP client

Successful exploitation enables attackers to reach internal services, access cloud provider metadata endpoints (such as 169.254.169.254), scan internal networks, or exfiltrate sensitive data from protected resources.

Detection Methods for CVE-2025-2691

Indicators of Compromise

  • Unexpected outbound requests to internal IP addresses from application servers
  • DNS queries for suspicious or attacker-controlled domains from protected applications
  • Access logs showing requests to cloud metadata endpoints (e.g., 169.254.169.254)
  • Unusual network traffic patterns targeting private IP ranges from web-facing services

Detection Strategies

  • Audit package.json and package-lock.json files for nossrf versions below 1.0.4
  • Implement network monitoring to detect anomalous internal service access patterns
  • Use software composition analysis (SCA) tools to identify vulnerable dependencies
  • Monitor DNS resolution logs for suspicious rebinding patterns or rapid IP changes

Monitoring Recommendations

  • Enable detailed logging for all URL validation and HTTP request operations
  • Configure network egress monitoring to alert on requests to internal IP ranges
  • Implement cloud provider metadata endpoint blocking at the infrastructure level
  • Set up automated dependency scanning in CI/CD pipelines to detect vulnerable packages

How to Mitigate CVE-2025-2691

Immediate Actions Required

  • Upgrade nossrf to version 1.0.4 or later immediately
  • Audit applications to identify all instances of nossrf usage
  • Review application logs for signs of SSRF exploitation attempts
  • Implement additional network-level controls to restrict outbound requests to internal resources

Patch Information

The vulnerability has been addressed in nossrf version 1.0.4. Organizations should update their dependencies by running npm update nossrf or explicitly specifying version 1.0.4 or higher in their package.json file. The Snyk Vulnerability Report provides additional details on the remediation.

Workarounds

  • Implement network-level egress filtering to block requests to internal IP ranges and cloud metadata endpoints
  • Add a secondary validation layer that verifies resolved IP addresses before making requests
  • Use firewall rules to restrict application server outbound access to only necessary external endpoints
  • Consider implementing a proxy server that enforces strict URL validation and IP blocking
bash
# Update nossrf to the patched version
npm update nossrf

# Or explicitly install the fixed version
npm install nossrf@1.0.4

# Verify the installed version
npm list nossrf

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechNossrf

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • Snyk Vulnerability Report
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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