Skip to content

go.opentelemetry.io/otel/sdk

Follow this package

Get the evidence behind this dependency. Browse imported advisories below, or check an exact version against OSV now. View source coverage.

Check the version you ship.

Get a fresh OSV lookup for an exact release. We send the package name and version to OSV without storing a report.

Advisories & recorded fixes

medium5.3
CVE-2026-128085Package fixes recorded

opentelemetry-go: AttributeValueLengthLimit is fully bypassed by attribute values composed of valid U+FFFD runes

The AttributeValueLengthLimit span/log-record limit can be bypassed entirely with attribute values that consist of valid U+FFFD (REPLACEMENT CHARACTER) runes. The counting-based truncation introduced by the fix for GHSA-p9f8-wvj8-2fg8 (commit e016a78c9, first released in v1.33.0) has an "optimistic" fast path that skips every U+FFFD without counting it and without falling back to the correct slow path. A value of 1000 U+FFFD runes (3000 bytes) is stored verbatim even with a limit of 5 characters (15 bytes). The same defect affects the attribute truncation paths in go.opentelemetry.io/otel/sdk/trace (sdk/internal/attrnorm), go.opentelemetry.io/otel/sdk/log (sdk/log/internal/attrnorm), and the auto-instrumentation tracer in go.opentelemetry.io/otel/trace (trace/auto.go, introduced in v1.35.0).

Recorded fixes — go.opentelemetry.io/otel/sdk: 1.47.0; go.opentelemetry.io/otel/sdk/log: 1.47.0; 1 more packages. Check your release branch.

Public exploit reference

Affected range Recorded fix
From 1.33.0 before 1.47.0Semantic versions1.47.0

Version evidence: OSV · GHSA-q7gw-24fr-5p69

View original version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "1.33.0"
        },
        {
          "fixed": "1.47.0"
        }
      ],
      "type": "SEMVER"
    }
  ],
  "versions": []
}
Affected range Recorded fix
From 1.33.0 before 1.47.0Semantic versions1.47.0

Version evidence: OSV · GO-2026-6974

View original version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "1.33.0"
        },
        {
          "fixed": "1.47.0"
        }
      ],
      "type": "SEMVER"
    }
  ],
  "versions": []
}
Affected range Recorded fix
From 1.21.0 before 1.40.0Semantic versions1.40.0

Version evidence: OSV · GO-2026-4394

View original version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "1.21.0"
        },
        {
          "fixed": "1.40.0"
        }
      ],
      "type": "SEMVER"
    }
  ],
  "versions": []
}