Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2021-25737

CVE-2021-25737: Kubernetes SSRF Vulnerability

CVE-2021-25737 is an SSRF flaw in Kubernetes that enables attackers to redirect pod traffic to private networks via EndpointSlice IPs. This article covers the technical details, affected versions, and mitigation steps.

Published: February 25, 2026

CVE-2021-25737 Overview

A security issue was discovered in Kubernetes where a user may be able to redirect pod traffic to private networks on a Node. Kubernetes already prevents creation of Endpoint IPs in the localhost or link-local range, but the same validation was not performed on EndpointSlice IPs. This incomplete validation inconsistency allows privileged users to potentially bypass network isolation controls and redirect traffic to unintended destinations.

Critical Impact

Attackers with sufficient privileges can manipulate EndpointSlice resources to redirect pod traffic to localhost or link-local addresses on Kubernetes nodes, potentially accessing internal services or sensitive network segments that should be isolated.

Affected Products

  • Kubernetes Kubernetes (multiple versions)
  • Kubernetes 1.21.0
  • Various Kubernetes distributions utilizing EndpointSlice functionality

Discovery Timeline

  • September 6, 2021 - CVE-2021-25737 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-25737

Vulnerability Analysis

This vulnerability represents an Input Validation Error in Kubernetes' handling of EndpointSlice resources. While the Kubernetes API server properly validates Endpoint IPs to prevent creation of addresses in the localhost (127.0.0.0/8) or link-local (169.254.0.0/16) ranges, this same validation logic was not applied to the newer EndpointSlice API.

The EndpointSlice API was introduced to improve scalability of Endpoints in large clusters by splitting Endpoint information into smaller, more manageable objects. However, the security validation that existed for traditional Endpoints was not consistently implemented for EndpointSlices, creating a validation gap.

This inconsistency allows a user with permissions to create or modify EndpointSlice resources to specify IP addresses that would normally be blocked, enabling potential traffic redirection attacks.

Root Cause

The root cause stems from incomplete security validation parity between the Endpoint and EndpointSlice APIs (CWE-184: Incomplete List of Disallowed Inputs, CWE-601: URL Redirection to Untrusted Site). When the EndpointSlice API was implemented, the IP address validation logic that prevents localhost and link-local addresses was not replicated from the Endpoint validation code path. This oversight created an inconsistent security boundary where the same malicious configuration that would be blocked via Endpoints could succeed through EndpointSlices.

Attack Vector

The attack vector requires network access and privileged user permissions within the Kubernetes cluster. An attacker with the ability to create or modify EndpointSlice resources can craft malicious EndpointSlice objects containing localhost or link-local IP addresses. When services route traffic based on these EndpointSlices, the traffic can be redirected to the node's local interfaces or link-local network addresses.

The attack scenario involves creating an EndpointSlice with an endpoint pointing to 127.0.0.1 or a link-local address like 169.254.x.x. When other pods attempt to connect to the associated service, their traffic would be directed to these restricted addresses on the node, potentially exposing internal node services or enabling further network-based attacks.

Detection Methods for CVE-2021-25737

Indicators of Compromise

  • EndpointSlice resources containing IP addresses in the 127.0.0.0/8 localhost range
  • EndpointSlice resources containing IP addresses in the 169.254.0.0/16 link-local range
  • Unexpected modifications to EndpointSlice resources by non-system accounts
  • Anomalous network traffic patterns from pods to node-local addresses

Detection Strategies

  • Implement admission controllers or OPA/Gatekeeper policies to validate EndpointSlice IP addresses
  • Monitor Kubernetes audit logs for EndpointSlice create/update operations with suspicious IP addresses
  • Deploy network monitoring to detect pod traffic destined for localhost or link-local ranges
  • Use SentinelOne Singularity to monitor for unexpected network connections from containerized workloads

Monitoring Recommendations

  • Enable Kubernetes audit logging with detailed request/response logging for EndpointSlice resources
  • Configure alerts for any EndpointSlice containing RFC1918 private addresses, localhost, or link-local ranges
  • Implement continuous compliance scanning of EndpointSlice resources against security policies

How to Mitigate CVE-2021-25737

Immediate Actions Required

  • Upgrade Kubernetes to a patched version that includes EndpointSlice IP validation
  • Audit existing EndpointSlice resources for any suspicious IP addresses
  • Implement RBAC restrictions to limit which users and service accounts can create or modify EndpointSlice resources
  • Deploy admission controllers to enforce IP address validation for EndpointSlice resources

Patch Information

Kubernetes has addressed this vulnerability in subsequent releases. Review the GitHub Issue #102106 for specific version information and patch details. The Kubernetes Security Announcement provides additional guidance on affected versions and remediation steps. Organizations using NetApp products should also review the NetApp Security Advisory NTAP-20211004-0004.

Workarounds

  • Restrict RBAC permissions for EndpointSlice resources to only trusted system components
  • Deploy ValidatingWebhookConfiguration to reject EndpointSlices with localhost or link-local addresses
  • Implement network policies to prevent pod-to-node localhost connections where possible
  • Use OPA Gatekeeper constraints to enforce EndpointSlice IP validation until patches can be applied
bash
# Configuration example - OPA Gatekeeper constraint to block suspicious EndpointSlice IPs
# Save as endpointslice-ip-constraint.yaml
apiVersion: constraints.gatekeeper.sh/v1beta1
kind: K8sBlockEndpointSliceLocalIPs
metadata:
  name: block-local-endpointslice-ips
spec:
  match:
    kinds:
      - apiGroups: ["discovery.k8s.io"]
        kinds: ["EndpointSlice"]

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechKubernetes

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.38%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-184

  • CWE-601
  • Technical References
  • Google Group Security Announcement

  • NetApp Security Advisory NTAP-20211004-0004
  • Vendor Resources
  • GitHub Issue #102106
  • Related CVEs
  • CVE-2020-8558: Kubernetes SSRF Vulnerability

  • CVE-2026-39884: mcp-server-kubernetes RCE Vulnerability

  • CVE-2026-34940: KubeAI Command Injection RCE Vulnerability

  • CVE-2026-3864: Kubernetes NFS CSI Path Traversal Flaw
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