Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

CVE-2026-31866 — flagd

HIGHFix: open-feature/flagd@25c5fd7

CVE-2026-31866 is a high-severity (CVSS 7.5) CWE-770 vulnerability in github.com/open-feature/flagd/flagd. A fix is available for github.com/open-feature/flagd/flagd — see the affected versions and patch details below.

Allocation of Resources Without Limits or Throttling in flagd

Also known asGHSA-rmrf-g9r3-73pmGO-2026-4674
Published
Mar 11, 2026
Updated
Aug 12, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Sep 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-31866.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs36th percentile — riskier than 36% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

How urgent is this, really

CVE-2026-31866 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.

Where this sits among everything scored

Of 378,156 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.

Real-World Exposure

1 pkg affected
🐹github.com/open-feature/flagd/flagd

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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)

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/open-feature/flagd/flagdall versions0.14.2go get github.com/open-feature/flagd/flagd@v0.14.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/open-feature/flagd/flagd, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/open-feature/flagd/flagd to 0.14.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-31866 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2026-31866 can be triaged on real exposure rather than presence alone.

Tailored to CVE-2026-31866. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

## 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 enforc
O3 Security · Impact-Aware SCA

Is CVE-2026-31866 in your dependencies?

O3 Security finds CVE-2026-31866 across Go dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

CVE-2026-31866: flagd DoS (High 7.5) | O3 Security