Vulnerabilities in pkg:golang/github.com/open-feature/flagd/flagd-proxy

PACKAGE
Advisory Summary

GHSA-4c5f-9mj4-m247 is a HIGH multiple go runtime cves impact vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting flagd libraries in the Go ecosystem. The issue involves multiple go runtime cves impact security and availability. Remediation is available by upgrading affected packages to version 0.13.1, 0.8.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/open-feature/flagd/flagd-proxy

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/open-feature/flagd/flagd-proxy. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-4c5f-9mj4-m247 - HIGH flagd: Multiple Go Runtime CVEs Impact Security and Availability

GHSA-4c5f-9mj4-m247 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4c5f-9mj4-m247
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product flagd
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-4c5f-9mj4-m247

To remediate this vulnerability, upgrade all affected flagd dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/open-feature/flagd/core fixed: 0.13.1
Upgrade github.com/open-feature/flagd/core to 0.13.1
github.com/open-feature/flagd/flagd-proxy fixed: 0.8.2
Upgrade github.com/open-feature/flagd/flagd-proxy to 0.8.2
github.com/open-feature/flagd/flagd fixed: 0.13.1
Upgrade github.com/open-feature/flagd/flagd to 0.13.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/open-feature/flagd/core

How to Check if You Are Affected

To determine whether your application is affected by GHSA-4c5f-9mj4-m247, inspect your project dependencies for flagd:

inspect dependencies for github.com/open-feature/flagd/core

Analyze the terminal output to locate any version of flagd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In flagd, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary In 2025, several vulnerabilities in the Go Standard Library were disclosed, impacting Go-based applications like flagd (the evaluation engine for OpenFeature). These CVEs primarily focus on Denial of Service (DoS) through resource exhaustion and Race Conditions in database handling. | CVE ID | Impacted Package | Severity | Description & Impact on flagd | | -- | -- | -- | -- | | CVE-2025-47907 | database/sql | 7.0 (High) | Race Condition: Canceling a query during a Scan call can return data from the wrong query. Critical if flagd uses SQL-based sync providers (e.g., Postgres), potentially leading to incorrect flag configurations. | | CVE-2025-61725 | net/mail | 7.5 (High) | DoS: Inefficient complexity in ParseAddress. Attackers can provide crafted email strings with large domain literals to exhaust CPU if flagd parses email-formatted metadata. | | CVE-2025-61723 | encoding/pem | 7.5 (High) | DoS: Quadratic complexity when parsing invalid PEM inputs. Relevant if flagd loads TLS certificates or keys via PEM files from untrusted sources. | | CVE-2025-61729 | crypto/x509 | 7.5 (High) | Resource Exhaustion: HostnameError.Error() lacks string concatenation limits. A malicious TLS certificate with thousands of hostnames could crash flagd during connection handshakes. | | CVE-2025-58188 | net/http | Medium | Request Smuggling: Improper header handling in HTTP/1.1. Could allow attackers to bypass security filters positioned in front of flagd sync or evaluation APIs. | | CVE-2025-58187 | archive/zip | Medium | DoS: Improper validation of malformed ZIP archives. Impacts flagd if configured to fetch and unpack zipped configuration bundles from remote providers. |

GHSA-4c5f-9mj4-m247 Affected flagd Versions

3 component(s)
Fixed Versions:
0.13.10.8.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/open-feature/flagd/core
Go
< 0.13.1
0.13.1
github.com/open-feature/flagd/flagd-proxy
Go
< 0.8.2
0.8.2
github.com/open-feature/flagd/flagd
Go
< 0.13.1
0.13.1

References

Frequently Asked Questions

What is GHSA-4c5f-9mj4-m247?
GHSA-4c5f-9mj4-m247 is a security vulnerability in flagd involving Multiple Go Runtime CVEs Impact Security and Availability under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which flagd versions are affected?
Affected versions include releases prior to 0.13.1, 0.8.2 across affected packages: github.com/open-feature/flagd/core, github.com/open-feature/flagd/flagd-proxy, github.com/open-feature/flagd/flagd.
What version fixes GHSA-4c5f-9mj4-m247?
Upgrading to 0.13.1, 0.8.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/open-feature/flagd/core affected?
Yes, github.com/open-feature/flagd/core is affected in releases prior to 0.13.1. Upgrade your dependency to 0.13.1 or later.
Is github.com/open-feature/flagd/flagd-proxy affected?
Yes, github.com/open-feature/flagd/flagd-proxy is affected in releases prior to 0.8.2. Upgrade your dependency to 0.8.2 or later.
What CWE is associated with GHSA-4c5f-9mj4-m247?
GHSA-4c5f-9mj4-m247 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.).
How can I check Go dependencies for GHSA-4c5f-9mj4-m247?
Run the dependency tree command: 'inspect dependencies for github.com/open-feature/flagd/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4c5f-9mj4-m247",
  "modified" : "2026-01-05T15:07:46Z",
  "published" : "2026-01-05T15:07:05Z",
  "aliases" : [ ],
  "summary" : "flagd: Multiple Go Runtime CVEs Impact Security and Availability",
  "details" : "### Summary\nIn 2025, several vulnerabilities in the Go Standard Library were disclosed, impacting Go-based applications like flagd (the evaluation engine for OpenFeature). These CVEs primarily focus on Denial of Service (DoS) through resource exhaustion and Race Conditions in database handling. \n\n| CVE ID | Impacted Package | Severity | Description & Impact on flagd |\n| -- | -- | -- | -- |\n| CVE-2025-47907 | database/sql | 7.0 (High) | Race Condition:  Canceling a query during a Scan call can return data from the wrong query. Critical if flagd uses SQL-based sync providers (e.g., Postgres), potentially leading to incorrect flag configurations. |\n| CVE-2025-61725 | net/mail | 7.5 (High) | DoS: Inefficient complexity in ParseAddress.  Attackers can provide crafted email strings with large domain literals to exhaust CPU if flagd parses email-formatted metadata. |\n| CVE-2025-61723 | encoding/pem | 7.5 (High) | DoS: Quadratic complexity when parsing invalid PEM inputs. Relevant if flagd loads TLS certificates or keys via PEM files from untrusted sources. |\n| CVE-2025-61729 | crypto/x509 | 7.5 (High) | Resource Exhaustion: HostnameError.Error() lacks string concatenation limits. A malicious TLS certificate with thousands of hostnames could crash flagd during connection handshakes. |\n| CVE-2025-58188 | net/http | Medium | Request Smuggling: Improper header handling in HTTP/1.1. Could allow attackers to bypass security filters positioned in front of flagd sync or evaluation APIs. |\n| CVE-2025-58187 | archive/zip | Medium | DoS:  Improper validation of malformed ZIP archives.  Impacts flagd if configured to fetch and unpack zipped configuration bundles from remote providers. |",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/open-feature/flagd/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/open-feature/flagd/flagd-proxy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.8.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/open-feature/flagd/flagd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/open-feature/flagd/security/advisories/GHSA-4c5f-9mj4-m247"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-feature/flagd/pull/1840"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/open-feature/flagd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-feature/flagd/releases/tag/core%2Fv0.13.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-362", "CWE-400", "CWE-407", "CWE-444", "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-05T15:07:05Z",
    "nvd_published_at" : null
  }
}