Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-31866

flagd Vulnerable to Allocation of Resources Without Limits or Throttling
Back to all
CVE

CVE-2026-31866

flagd Vulnerable to Allocation of Resources Without Limits or Throttling

Details

flagd exposes OFREP (/ofrep/v1/evaluate/...) and gRPC (evaluation.v1evaluation.v2) endpoints for feature flag evaluation. These endpoints are designed to be publicly accessible by client applications.

The evaluation context included in request payloads is read into memory without any size restriction. An attacker can send a single HTTP request with an arbitrarily large body, causing flagd to allocate a corresponding amount of memory. This leads to immediate memory exhaustion and process termination (e.g., OOMKill in Kubernetes environments).

flagd does not natively enforce authentication on its evaluation endpoints. While operators may deploy flagd behind an authenticating reverse proxy or similar infrastructure, the endpoints themselves impose no access control by default.

Impact

  • Denial of Service: A single crafted request can crash the flagd process.
  • Service Disruption: All applications relying on the affected flagd instance for feature flag evaluation will lose access to flag evaluations until the process restarts.
  • Repeated Exploitation: An attacker can continuously send oversized requests to prevent recovery.

Affected Endpoints

  • /ofrep/v1/evaluate/flags/{flagKey} (OFREP single flag evaluation)
  • /ofrep/v1/evaluate/flags (OFREP bulk evaluation)
  • flagd.evaluation.v1.Service/ResolveBoolean (gRPC/Connect)
  • flagd.evaluation.v1.Service/ResolveString (gRPC/Connect)
  • flagd.evaluation.v1.Service/ResolveFloat (gRPC/Connect)
  • flagd.evaluation.v1.Service/ResolveInt (gRPC/Connect)
  • flagd.evaluation.v1.Service/ResolveObject (gRPC/Connect)
  • flagd.evaluation.v1.Service/ResolveAll (gRPC/Connect)
  • flagd.evaluation.v2.Service/ResolveBoolean (gRPC/Connect)
  • flagd.evaluation.v2.Service/ResolveString (gRPC/Connect)
  • flagd.evaluation.v2.Service/ResolveFloat (gRPC/Connect)
  • flagd.evaluation.v2.Service/ResolveInt (gRPC/Connect)
  • flagd.evaluation.v2.Service/ResolveObject (gRPC/Connect)

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
C
H
U
7.5
-
3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/open-feature/flagd/security/advisories/GHSA-rmrf-g9r3-73pm, https://nvd.nist.gov/vuln/detail/CVE-2026-31866, https://github.com/open-feature/flagd/commit/25c5fd7e80c26eb2c00b20317b2456fe6f927ea3, https://github.com/open-feature/flagd

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0.00113%
EPSS Percentile
0.2931%
Introduced Version
0
Fix Available
0.14.2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading