Skip to content

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

MediumCVSS 5.3 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
DebianRed Hat

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.

Upgrade path

6 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
debian/golang-opentelemetry-contrib(Debian 13) = 0.56.0-5; = 1.39.0-2; = 1.39.0-3; = 1.43.0-1 +1 more No fix listed No fix yet
debian/golang-opentelemetry-contrib(Debian 14) = 0.56.0-5; = 1.39.0-2; = 1.39.0-3; = 1.43.0-1 +1 more No fix listed No fix yet
open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter(Go) < 0.154.0 0.154.0 Fixed
redhat/opentelemetry-collector-contrib-main(Red Hat hummingbird 1) < 0.160.0-0.1.hum1 0.160.0-0.1.hum1 Fixed
open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter = < 0.154.0 No fix listed Versions listed
open-telemetry opentelemetry-collector-contrib = < 0.154.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
open-telemetry opentelemetry-collector-contrib = < 0.154.0 No fix listed
open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter = < 0.154.0 No fix listed
open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter(Go) < 0.154.0 0.154.0
redhat/opentelemetry-collector-contrib-main(Red Hat:hummingbird:1) < 0.160.0-0.1.hum1 0.160.0-0.1.hum1
debian/golang-opentelemetry-contrib(Debian:13) All versions No fix listed
debian/golang-opentelemetry-contrib(Debian:13) = 0.56.0-5 No fix listed
debian/golang-opentelemetry-contrib(Debian:13) = 1.39.0-2 No fix listed
debian/golang-opentelemetry-contrib(Debian:13) = 1.39.0-3 No fix listed
debian/golang-opentelemetry-contrib(Debian:13) = 1.43.0-1 No fix listed
debian/golang-opentelemetry-contrib(Debian:14) All versions No fix listed
debian/golang-opentelemetry-contrib(Debian:14) = 0.56.0-5 No fix listed
debian/golang-opentelemetry-contrib(Debian:14) = 1.39.0-2 No fix listed
debian/golang-opentelemetry-contrib(Debian:14) = 1.39.0-3 No fix listed
debian/golang-opentelemetry-contrib(Debian:14) = 1.43.0-1 No fix listed

References