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
    • 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-2026-31866

CVE-2026-31866: flagd Feature Flag Daemon DoS Vulnerability

CVE-2026-31866 is a denial of service vulnerability in flagd feature flag daemon that allows attackers to exhaust memory through unrestricted request payloads. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-31866 Overview

CVE-2026-31866 is a resource exhaustion vulnerability (CWE-770) in flagd, an open-source feature flag daemon designed with a Unix philosophy. The vulnerability allows unauthenticated attackers to cause immediate memory exhaustion and service termination by sending requests with arbitrarily large bodies to the evaluation endpoints.

flagd exposes OFREP (/ofrep/v1/evaluate/...) and gRPC (evaluation.v1, evaluation.v2) endpoints for feature flag evaluation. These endpoints are designed to be publicly accessible by client applications. Prior to version 0.14.2, the evaluation context included in request payloads was read into memory without any size restriction, creating a critical denial of service vector.

Critical Impact

A single malicious HTTP request with an oversized body can cause flagd to allocate unbounded memory, leading to immediate process termination via OOMKill in Kubernetes environments and complete service disruption.

Affected Products

  • flagd versions prior to 0.14.2
  • OpenFeature flagd deployments without authenticating reverse proxy
  • Kubernetes-based flagd deployments exposed to untrusted networks

Discovery Timeline

  • 2026-03-11 - CVE CVE-2026-31866 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-31866

Vulnerability Analysis

This vulnerability represents a classic resource exhaustion attack vector where an application fails to impose limits on resource allocation based on untrusted input. The flagd daemon accepts evaluation requests containing context data that can be of arbitrary size. When processing these requests, the service reads the entire request body into memory without validating or limiting its size.

The lack of authentication on evaluation endpoints exacerbates the issue. While flagd can be deployed behind an authenticating reverse proxy, the endpoints themselves impose no access control by default, allowing any network-accessible attacker to exploit this vulnerability without credentials.

In containerized environments, particularly Kubernetes, the memory exhaustion triggers the Out-Of-Memory Killer (OOMKill), which terminates the flagd process. This not only disrupts feature flag evaluation but can cause cascading failures in applications dependent on flagd for feature decisions.

Root Cause

The root cause is the absence of configurable limits on request header and body sizes in the flagd service configuration. The service trusted all incoming request payloads regardless of size, directly allocating memory proportional to the request body without bounds checking. This is classified under CWE-770: Allocation of Resources Without Limits or Throttling.

Attack Vector

The attack can be executed remotely over the network without authentication. An attacker sends an HTTP request to the OFREP endpoint (/ofrep/v1/evaluate/...) or a gRPC request to the evaluation service with an extremely large body payload. The flagd service attempts to read and allocate memory for the entire payload, causing memory exhaustion.

The attack is particularly effective because:

  • No authentication is required by default
  • A single request is sufficient to exhaust available memory
  • The attack leaves minimal forensic traces beyond memory allocation patterns
go
// Security patch adding configurable size limits to service configuration
// Source: https://github.com/open-feature/flagd/commit/25c5fd7e80c26eb2c00b20317b2456fe6f927ea3

 	ContextValues              map[string]any
 	HeaderToContextKeyMappings map[string]string
 	StreamDeadline             time.Duration
+	MaxRequestHeaderBytes      int64
+	MaxRequestBodyBytes        int64
 }

Source: GitHub Commit

Detection Methods for CVE-2026-31866

Indicators of Compromise

  • Sudden memory spikes in flagd containers or processes
  • OOMKill events in Kubernetes pod logs or system journals
  • Abnormally large HTTP requests to /ofrep/v1/evaluate/ endpoints
  • gRPC requests to evaluation.v1 or evaluation.v2 services with oversized payloads
  • Repeated flagd process restarts or crashloops

Detection Strategies

  • Monitor for HTTP requests with Content-Length headers exceeding expected thresholds (typical evaluation requests should be under 10KB)
  • Configure alerting on container memory utilization approaching limits
  • Implement log analysis rules to detect OOMKill events targeting flagd processes
  • Use network monitoring to identify unusually large request payloads to flagd endpoints

Monitoring Recommendations

  • Set up memory usage alerts for flagd containers at 70-80% threshold to detect exploitation attempts before service termination
  • Enable request logging at the reverse proxy or load balancer level to capture request sizes
  • Monitor Kubernetes events for OOMKilled containers in namespaces running flagd
  • Implement rate limiting metrics to identify anomalous request patterns

How to Mitigate CVE-2026-31866

Immediate Actions Required

  • Upgrade flagd to version 0.14.2 or later immediately
  • Deploy flagd behind an authenticating reverse proxy if not already configured
  • Implement network policies to restrict access to flagd endpoints from trusted sources only
  • Configure resource limits on flagd containers to prevent broader infrastructure impact

Patch Information

The vulnerability is fixed in flagd version 0.14.2. The patch introduces configurable limits for maximum request header and body sizes, with secure defaults that prevent unbounded memory allocation. The fix adds two new configuration options: --max-request-body and --max-request-header.

Review the GitHub Security Advisory GHSA-rmrf-g9r3-73pm for detailed patch information.

Workarounds

  • Deploy an authenticating reverse proxy (such as nginx, Envoy, or Traefik) in front of flagd with request body size limits configured
  • Implement network segmentation to prevent untrusted clients from reaching flagd endpoints directly
  • Configure Kubernetes NetworkPolicies to allow only authorized pods to communicate with flagd
  • Use a Web Application Firewall (WAF) to enforce request size limits at the network edge
bash
# Example nginx configuration to limit request body size
# Add to nginx.conf or server block configuration

client_max_body_size 64k;
client_body_buffer_size 64k;
client_header_buffer_size 1k;
large_client_header_buffers 4 8k;

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechFlagd

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

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

  • GitHub Security Advisory GHSA-rmrf-g9r3-73pm
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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