
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-31866 is a denial-of-service vulnerability in flagd, the OpenFeature feature flag daemon, caused by unbounded memory allocation when processing evaluation endpoint requests. Discovered by researchers danipalli and marcozabel, it was disclosed on March 10, 2026, and affects all flagd versions prior to 0.14.2. The vulnerability carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Github Advisory).
The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): flagd reads the evaluation context from HTTP/gRPC request payloads directly into memory without enforcing any size limit. The affected endpoints — including OFREP HTTP endpoints (/ofrep/v1/evaluate/flags/{flagKey}, /ofrep/v1/evaluate/flags) and multiple gRPC/Connect evaluation endpoints (flagd.evaluation.v1.Service/*, flagd.evaluation.v2.Service/*) — are publicly accessible by design and require no authentication by default. An attacker can send a single POST request with an arbitrarily large body to any of these endpoints, causing flagd to allocate a corresponding amount of memory until the process is terminated (e.g., via OOMKill in Kubernetes). The fix introduced configurable MaxRequestBodyBytes (default 1,000,000 bytes) and MaxRequestHeaderBytes limits enforced via Go's http.MaxBytesHandler and http.Server.MaxHeaderBytes (GitHub Commit, GitHub Advisory).
Successful exploitation results in immediate memory exhaustion and process termination of the flagd daemon, causing a complete denial of service for all applications relying on that flagd instance for feature flag evaluation. In Kubernetes environments, this manifests as an OOMKill event. An attacker can repeatedly send oversized requests to prevent process recovery, sustaining the outage until manual intervention occurs. There is no confidentiality or integrity impact — the vulnerability is purely an availability concern (GitHub Advisory, Github Advisory).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time (Github Advisory). The attack requires no authentication, no special privileges, and no user interaction, making it trivially executable by any network-accessible attacker. The EPSS score is approximately 0.059–0.113%, placing it in the 29th percentile for exploitation likelihood within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
POST /ofrep/v1/evaluate/flags (bulk evaluation) or /ofrep/v1/evaluate/flags/{flagKey} (single flag), or a gRPC/Connect endpoint like flagd.evaluation.v1.Service/ResolveAll.context object with a string value of several hundred megabytes or gigabytes./ofrep/v1/evaluate/flags, /ofrep/v1/evaluate/flags/{flagKey}) or gRPC evaluation endpoints from unexpected source IPs.oom_kill_process for the flagd binary).The primary remediation is to upgrade flagd to version 0.14.2 or later, which enforces a default maximum request body size of 1,000,000 bytes (configurable via --max-request-body / -B flag) and a default maximum header size of 1,000,000 bytes (configurable via --max-request-header / -R flag). If immediate patching is not possible, deploy flagd behind an authenticating reverse proxy that enforces request body size limits and restricts access to evaluation endpoints. Additionally, implement network-level rate limiting and request size restrictions on inbound traffic to the flagd service (GitHub Advisory, GitHub Commit).
The vulnerability was published by maintainer toddbaert on the open-feature/flagd GitHub repository on March 10, 2026, with credits to finders danipalli and marcozabel. Brief social media mentions appeared on Mastodon and Bluesky shortly after disclosure, consistent with routine CVE notification activity. No significant independent researcher commentary or major media coverage has been identified beyond standard vulnerability database aggregation.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."