Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-45287 — telemetry-schema-files

🟡 CVSS 5.5 — Medium ✅ No Known Exploit CWE-772 NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

opentelemetry-go's Schema ParseFile leaks file descriptors on each parse

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](https://github.com/user-attachments/files/27494463/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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2026-45287 is classified as CWE-772: Missing Release of Resource. A resource is acquired but never released on some paths, depleting the pool over time.

Affected software

CVE-2026-45287 is recorded against 4 packages.

  • go.opentelemetry.io/otel/schema
  • go.opentelemetry.io/otel/schema/v1.0
  • go.opentelemetry.io/otel/schema/v1.1
  • telemetry-schema-files (fixed in 0.0.17)

Timeline and source

Published on 25 June 2026 and last revised on 15 July 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Advisory)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)

Same weakness in other software

These advisories are the same class of weakness (CWE-772: Missing Release of Resource) in other software:

CVE-2026-45287 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity LOW
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE CWE-772
Public Exploit ✅ No
Source NVD
Published 2026-06-25
Updated 2026-08-20
Modified 2026-07-15

Affected Packages

Software From version Fixed in
go.opentelemetry.io/otel/schema — —
go.opentelemetry.io/otel/schema/v1.0 — —
go.opentelemetry.io/otel/schema/v1.1 — —
telemetry-schema-files — 0.0.17

Vulnerability Monitoring

Track new vulnerabilities in telemetry-schema-files

CVE-2026-45287 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026
✓