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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.44% (percentile 30, 2026-11-28)
- **CWE:** CWE-22, CWE-74
- **Aliases:** GHSA-4jvg-4jfx-fmhc, GO-2026-5126
- **Published:** 2026-06-18T15:04:10.000Z
- **Modified:** 2026-09-25T14:23:59.847Z

## Who should check

- Projects that depend on Go package github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter (\< 0.154.0)
- Anyone running open-telemetry opentelemetry-collector-contrib \< 0.154.0
- Anyone running github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter \< 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.

## Affected and fixed versions

- Go `github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter`: affected \< 0.154.0; fixed 0.154.0 (osv)
- open-telemetry opentelemetry-collector-contrib: \< 0.154.0 (cvelist)
- github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter: \< 0.154.0 (cvelist)

## Mitigation

- Upgrade github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter to 0.154.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-47256. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-47256.md
Affected: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter < 0.154.0
Fixed in: 0.154.0

Steps:
1. Search this machine and project for github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter (Go), open-telemetry opentelemetry-collector-contrib, github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-47256 being exploited?

There is no confirmed exploitation: CVE-2026-47256 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-47256?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-47256?

github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter \< 0.154.0.

### Is there a fix for CVE-2026-47256?

Yes. Fixed in 0.154.0. Upgrade github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter to 0.154.0 or later.

### How do I check if I'm affected by CVE-2026-47256?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-47256>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-4jvg-4jfx-fmhc> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5126> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-47256> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-47256>
