Vulnerability · Published Sep 14, 2026 · Assigned by GitHub_M
CVE-2026-47256OpenTelemetry: Path traversal in Sentry exporter via attacker-controlled service.name reaches privileged Sentry API endpoints with operator bearer token
Medium 5.3
In plain English
A medium-severity path traversal in github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter from open-telemetry. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OpenTelemetry, also known as OTel, is a vendor-neutral open source Observability framework for instrumenting, generating, collecting, and exporting telemetry data such as traces, metrics, and logs. Prior to 0.154.0, the Sentry exporter reads the remote OTLP sender-controlled service.name resource attribute in exporter/sentryexporter/sentry_exporter.go through extractProjectSlug and getOrCreateProjectEndpoint, passes the raw project slug to GetOTLPEndpoints and GetProjectKeys in exporter/sentryexporter/sentry_client.go, and interpolates it into a Sentry API URL without applying projectSlugRegexp through validateRoutingConfig at runtime in exporter/sentryexporter/config.go. Special characters can turn the expected path suffix into query data in all deployments or introduce slash and dot segments that traverse paths when the Sentry deployment normalizes them, while the Collector attaches its operator-configured bearer token to the request. A successful request can reach token-authorized administrative, organization, member, or key endpoints within the configured Sentry organization, and an attacker-controlled project slug can redirect subsequently exported telemetry. Sentry token middleware prevents cross-organization access. This issue is fixed in version 0.154.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | golang-opentelemetry-contrib | no fix listed | DEBIAN-CVE-2026-47256 |
| Debian:14 | golang-opentelemetry-contrib | no fix listed | DEBIAN-CVE-2026-47256 |
| Go | github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter | 0.154.0 | GHSA-4jvg-4jfx-fmhc |
| Go | github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter | 0.154.0 | GO-2026-5126 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-telemetry | opentelemetry-collector-contrib | < 0.154.0 |
| open-telemetry | github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter | < 0.154.0 |
Weakness: CWE-22, CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-4jvg-4jfx-fmhc x_refsource_CONFIRM
- https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/3113638f216143f523b57f447728464337ae4903 x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.154.0 x_refsource_MISC