CVE-2026-31866
JSON

7.5high

Allocation of Resources Without Limits or Throttling in flagd

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.48% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rmrf-g9r3-73pmGO-2026-4674

Description

flagd is a feature flag daemon with a Unix philosophy. Prior to 0.14.2, 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. 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. This vulnerability is fixed in 0.14.2.

Affected

Product or packageVersionsReported by
open-feature flagd< 0.14.2CVE List
github.com/open-feature/flagd/flagd (Go)before 0.14.2GitHub Advisory Database, Go Vulnerability Database
openfeature flagdbefore 0.14.2NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

flagd is a feature flag daemon with a Unix philosophy. Prior to 0.14.2, 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. 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. This vulnerability is fixed in 0.14.2.

GitHub Advisory Database

Details

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.

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)
Go Vulnerability Database

flagd Vulnerable to Allocation of Resources Without Limits or Throttling in github.com/open-feature/flagd/flagd

NVD (es)

flagd es un demonio de feature flags con una filosofía Unix. Antes de la versión 0.14.2, flagd expone puntos finales OFREP (/ofrep/v1/evaluate/...) y gRPC (evaluation.v1, evaluation.v2) para la evaluación de feature flags. Estos puntos finales están diseñados para ser accesibles públicamente por aplicaciones cliente. El contexto de evaluación incluido en las cargas útiles de las solicitudes se lee en la memoria sin ninguna restricción de tamaño. Un atacante puede enviar una única solicitud HTTP con un cuerpo arbitrariamente grande, haciendo que flagd asigne una cantidad de memoria correspondiente. Esto conduce a un agotamiento inmediato de la memoria y a la terminación del proceso (por ejemplo, OOMKill en entornos Kubernetes). flagd no aplica de forma nativa la autenticación en sus puntos finales de evaluación. Si bien los operadores pueden desplegar flagd detrás de un proxy inverso autenticador o infraestructura similar, los propios puntos finales no imponen ningún control de acceso por defecto. Esta vulnerabilidad está corregida en la versión 0.14.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31866 changed 2026-03-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-rmrf-g9r3-73pm changed 2026-03-23CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4674 changed 2026-03-23CC-BY-4.0
NVDCVE-2026-31866 changed 2026-06-17Public domain