CVE-2026-31866: Allocation of Resources Without Limits or Throttling in flagd

Published Mar 11, 2026
·
Updated

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)

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
go/github.com/open-feature/flagd/flagd<0.14.2
0.14.2
Openfeature Flagd<0.14.2

Event History

Mar 11, 2026
Advisory Published
via GitHub·12:33 AM
Data Sourced
via GitHub·12:33 AM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·05:49 PM
Data Sourced
via MITRE·05:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-31866?

CVE-2026-31866 has been classified as a high-severity vulnerability due to its potential to expose sensitive data.

2

How do I fix CVE-2026-31866?

To fix CVE-2026-31866, upgrade to version 0.14.3 or later of the flagd package.

3

What software is affected by CVE-2026-31866?

CVE-2026-31866 affects the flagd package version 0.14.2 and earlier.

4

What are the consequences of exploiting CVE-2026-31866?

Exploitation of CVE-2026-31866 may allow unauthorized access to feature flag evaluation endpoints and sensitive information.

5

Is there a workaround for CVE-2026-31866?

A potential workaround for CVE-2026-31866 is to restrict access to the affected endpoints until the software is updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203