Skip to main content

OpenTelemetry Go CVE-2026-45287

| EUVDEUVD-2026-34291 LOW
Missing Release of Resource after Effective Lifetime (CWE-772)
2026-05-28 https://github.com/open-telemetry/opentelemetry-go GHSA-995v-fvrw-c78m
2.1
CVSS 4.0 · Vendor: https://github.com/open-telemetry/opentelemetry-go
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify service exposing ParseFile on a request path
  2. Delivery
    Send repeated requests triggering ParseFile
  3. Exploit
    File descriptors accumulate without GC reclamation
  4. Execution
    Process fd table reaches OS EMFILE limit
  5. Persist
    Service fails all file/socket operations
  6. Impact
    Denial of service achieved

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup on lifecycle end
Exploitation Conditions

Exploitation requires that the consuming Go application calls schema.ParseFile (from go.opentelemetry.io/otel/schema/v1.0 or v1.1) repeatedly within the same process lifetime, and that an attacker can trigger or influence the frequency of those calls - for example, through a network-accessible hot-reload endpoint, a request-driven schema validation path, or a scheduler that re-parses schemas on demand. The vulnerability does not exist in applications that call ParseFile only once at startup. Limiting factors include: (1) no CVSS vector is published, so authentication requirements are not confirmed from available data; (2) Go's garbage collector may reclaim leaked descriptors during normal GC cycles, masking the bug under typical workloads - the PoC disables GC with GOGC=off to reliably reproduce; (3) the OS file descriptor limit (ulimit -n, commonly 1024 or higher in production) determines how many leaks are required to cause failure. The bug is inert in short-lived processes or batch jobs.

Impact

No CVSS vector or score is available for this CVE, so all severity inference is drawn from the description, CWE, and PoC evidence. The vulnerability is a local-process resource exhaustion issue: it cannot be triggered remotely unless the consuming application exposes schema re-parsing through a network-reachable code path (e.g., a hot-reload endpoint or request-driven schema validation). Attack complexity is effectively low once that precondition is met, as the PoC demonstrates consistent EMFILE failure within ~250 iterations at a 256-descriptor limit. Impact is limited strictly to availability (DoS) of the affected process - no confidentiality or integrity impact is described or implied. The absence of a CVSS score and KEV listing, combined with the narrow exploitation precondition (application must expose ParseFile to repeated attacker-influenced calls), places real-world risk in the low-to-medium range. The existence of a publicly available PoC artifact (leak_poc.go in validation-artifact.zip) elevates urgency slightly for applications matching the exploitation conditions. EPSS data is not provided; given the niche exploitation path, widespread exploitation is unlikely.

Exploit ScenarioDerived

An attacker interacts with a long-running Go service that exposes a schema reload or validation endpoint backed by schema.ParseFile. By repeatedly triggering that endpoint - either directly or through automated tooling - the attacker causes the process to leak one file descriptor per request. After enough iterations (dependent on the OS fd limit and process baseline), the process receives EMFILE and can no longer open files or sockets, effectively taking the service offline. The publicly available PoC (leak_poc.go) demonstrates this reaching failure within ~248 iterations under a 256-descriptor limit with GC disabled.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 28, 2026

File descriptor exhaustion in go.opentelemetry.io/otel/schema v1.0 and v1.1 enables denial of service against long-running Go processes. The ParseFile function in schema/v1.0/parser.go opens schema files via os.Open but never closes them - neither via defer nor by transferring ownership to the downstream Parse(io.Reader) call - leaving descriptors open until the Go garbage collector finalizes the file object. Publicly available exploit code exists demonstrating that repeated ParseFile calls accumulate leaked descriptors until the process receives EMFILE ('too many open files'), disrupting all subsequent file, socket, and descriptor operations. Exploitation is contingent on an application exposing ParseFile invocation to attacker-controlled or attacker-triggered paths.

RemediationAI

Upgrade both go.opentelemetry.io/otel/schema/v1.0 and go.opentelemetry.io/otel/schema/v1.1 to version 0.0.17, which is the vendor-released patch per the GitHub advisory at https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-995v-fvrw-c78m. Run 'go get go.opentelemetry.io/otel/schema@v0.0.17' and update go.sum accordingly. If upgrading immediately is not possible, the primary compensating control is to ensure ParseFile is never called on a hot path or in response to external input - restrict schema parsing to startup-time initialization only, so descriptors are bounded and effectively static for the process lifetime. This eliminates the accumulation vector without code changes, but the trade-off is loss of runtime schema reloading capability. Raising the OS file descriptor limit (ulimit -n) delays but does not prevent exhaustion and is not a viable long-term workaround for high-throughput applications.

Affected VersionsENISA

go.opentelemetry.io/otel/schema/v1.0 < 0.0.17
go.opentelemetry.io/otel/schema/v1.1 < 0.0.17

Affected Packages

go go.opentelemetry.io/otel/schema fix: 0.0.17
go go.opentelemetry.io/otel/schema/v1.0 fix: 0.0.17
go go.opentelemetry.io/otel/schema/v1.1 fix: 0.0.17
euvd go_opentelemetry_io_otel_schema_v1_0 fix: 0.0.17
euvd go_opentelemetry_io_otel_schema_v1_1 fix: 0.0.17

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected packages are go.opentelemetry.io/otel/schema/v1.0 and go.opentelemetry.io/otel/schema/v1.1, both at versions <= 0.0.16 (CPE: pkg:go/go.opentelemetry.io_otel_schema_v1.0 and pkg:go/go.opentelemetry.io_otel_schema_v1.1). The root cause maps to CWE-772 (Missing Release of Resource after Effective Lifetime). In schema/v1.0/parser.go lines 41-47, ParseFile calls os.Open to obtain a *os.File, then immediately returns Parse(file) - a function that accepts only an io.Reader interface and has no mechanism to close the underlying file. Because Parse receives an interface value (not ownership of the file descriptor), and no defer file.Close() or explicit close path exists in ParseFile, the descriptor remains open until the Go runtime GC finalizes the *os.File object. Under normal GC cadence this may be tolerable, but with GOGC=off or under memory pressure where GC is infrequent, descriptors accumulate rapidly. The bug was introduced in commit e72a235 of the opentelemetry-go repository.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/open-telemetry/opentelemetry-go) PRIMARY 2.1 LOW
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/open-telemetry/opentelemetry-go) · only source for this CVE.

CVSS VectorVendor: https://github.com/open-telemetry/opentelemetry-go

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 04, 2026 - 16:22 NVD
2.1 (LOW)

DescriptionCVE.org

Summary

go.opentelemetry.io/otel/schema/v1.0 and go.opentelemetry.io/otel/schema/v1.1 leaks one file descriptor on each successful ParseFile call. ParseFile opens the schema file and passes it to Parse without closing it; repeated parsing in a long-running process can exhaust the process file descriptor limit and cause denial of service. The severity is low because exploitation depends on a consuming application exposing repeated schema parsing to an attacker-controlled path.

Introduced in commit: e72a235

Details

In schema/v1.0/parser.go:41-47, ParseFile opens the requested schema path with os.Open and then returns Parse(file) without a defer file.Close() or other close path:

go
file, err := os.Open(schemaFilePath)
if err != nil {
	return nil, err
}
return Parse(file)

The validation evidence also identifies schema/v1.0/parser.go:50-73: Parse accepts an io.Reader, decodes from it, and does not close it. Ownership of the opened file is therefore not transferred to Parse, leaving the descriptor open until the Go runtime eventually finalizes the file object. With repeated ParseFile calls, descriptors can accumulate until the process receives EMFILE / "too many open files".

PoC

validation-artifact.zip

The local artifact validation-artifact.zip contains:

  • leak_poc.go: PoC source that repeatedly calls schema.ParseFile("schema/v1.0/testdata/valid-example.yaml") and prints /proc/self/fd counts.
  • LEAK_POC_README.txt: reproduction notes.
  • leak_poc_run.log: captured attempted run; the local offline environment failed before execution because Go module download from proxy.golang.org was forbidden.

Reproduce from the root of a checkout of pellared/opentelemetry-go at commit e72a235 with Go module dependencies already available:

sh
/bin/sh -c 'ulimit -n 256; GOGC=off go run leak_poc.go'

Configuration:

  • File descriptor soft limit: 256
  • Garbage collection: disabled with GOGC=off so leaked descriptors are not reclaimed during the loop
  • Schema file: schema/v1.0/testdata/valid-example.yaml

Expected output is increasing descriptor counts followed by an EMFILE failure, for example:

text
iter 0 fds 7
iter 50 fds 57
iter 100 fds 107
...
panic: iteration 248: open schema/v1.0/testdata/valid-example.yaml: too many open files

The exact initial descriptor count and failing iteration can vary by OS and process state.

Impact

This is a file descriptor resource leak leading to availability loss. Applications that call schema.ParseFile repeatedly, especially through a runtime reload or request-controlled path, can exhaust their process file descriptor table and fail subsequent file, socket, or other descriptor operations. Impact is limited to denial of service of the consuming process; the evidence does not show confidentiality or integrity impact.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy