CVE-2026-47256

MEDIUMPre-NVD 5.35.3
EchelonGraph scoreLOW confidence

This medium-severity CVE scores 5.3 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m
5.3
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: CVSS: 5.3Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

opentelemetry-collector-contrib sentryexporter: Path traversal in Sentry exporter via attacker-controlled service.name reaches privileged Sentry API endpoints with operator bearer token

Summary The Sentry exporter constructs Sentry API URLs by interpolating the span's service.name resource attribute into the URL path without validation. Because service.name is controlled by remote OTLP senders and the operator-configured bearer token is attached to every request, a crafted service name can reach arbitrary Sentry API endpoints reachable by that token — including privileged admin, organization, and member endpoints within the configured Sentry organization. Affected

  • exporter/sentryexporter/sentry_exporter.go (lines 715–737) — extractProjectSlug returns the attacker-controlled service.name directly as the slug.
  • exporter/sentryexporter/sentry_exporter.go (lines 745–809) — getOrCreateProjectEndpoint passes the raw slug to GetOTLPEndpoints at line 761.
  • exporter/sentryexporter/sentry_client.go (lines 190–244) — GetProjectKeys interpolates the slug into fmt.Sprintf URL path and attaches the operator bearer
token on line 207.
  • exporter/sentryexporter/sentry_client.go (lines 327–363) — GetOTLPEndpoints calls GetProjectKeys on line 329 with the raw slug.
  • exporter/sentryexporter/config.go (lines 55–108) — projectSlugRegexp is applied only to operator config mappings inside validateRoutingConfig, never to
runtime-derived slugs. Root cause
  • extractProjectSlug (sentry_exporter.go:715–737) reads service.name from pcommon.Resource.Attributes() without schema validation and returns the raw
string on line 736.
  • GetProjectKeys (sentry_client.go:192) calls fmt.Sprintf("%s/api/0/projects/%s/%s/keys/", c.baseURL, orgSlug, projectSlug). The slug is treated as a
single path segment but no validation is performed.
  • projectSlugRegexp (config.go:58) — defined as ^[a-z0-9_-]{1,50}$ — is referenced only inside validateRoutingConfig on line 98 (config-time only). No
runtime callsite exists.
  • Go net/http preserves literal .. and / characters in URL paths when constructed via fmt.Sprintf.
  • The operator-configured DSN / bearer token is attached unconditionally to every outbound request (sentry_client.go:207): req.Header.Set("Authorization",
fmt.Sprintf("Bearer %s", c.authToken)). Exploitation Primary: query-string injection (reliable across all deployments) Attacker emits service.name = "foo?injected_query=". URL becomes https://sentry.io/api/0/projects/ORG-SLUG/foo?injected_query=/keys/. The trailing /keys/ is consumed as part of the query string. The resource endpoint is /api/0/projects/ORG-SLUG/foo. The attacker can reach any GET-based Sentry API endpoint reachable by the bearer token. This vector is not dependent on server-side path normalization and works in all deployment configurations. Secondary: path traversal (nginx-dependent) Attacker emits a span with service.name = "foo/../../members". Resulting URL: https://sentry.io/api/0/projects/ORG-SLUG/foo/../../members/keys/ After server-side normalization (nginx resolves .. segments): https://sentry.io/api/0/projects/ORG-SLUG/members/keys/ The operator bearer token authenticates the request. Effectiveness depends on whether the Sentry deployment normalizes .. segments before routing (standard nginx behaviour). Amplified: telemetry redirect for data exfiltration Attacker-owned Sentry project slug → span data for other applications is exported to an attacker-controlled Sentry project, leaking operational telemetry. The collector fetches the DSN/keys for the attacker's slug and subsequently forwards legitimate traces/logs to the attacker-controlled destination. Threat model
  • Attacker capabilities: remote OTLP trace sender (application-level span emission).
  • Operator capabilities: configures Sentry DSN, bearer token, base URL; sets up receiver pipeline.
  • The attacker does NOT control operator YAML. The attacker DOES control resource attribute values on spans they emit.
Realistic deployment
  • Kubernetes cluster with OpenTelemetry Collector forwarding traces from multiple applications to Sentry SaaS or self-hosted Sentry.
  • One compromised or malicious application reaches the collector via OTLP.
  • The collector is configured with a valid Sentry bearer token for the organization.

Remediation Apply the existing projectSlugRegexp to runtime-derived slugs, not only to operator config mappings: `` import "regexp"

var runtimeSlugPattern = regexp.MustCompile(^[a-zA-Z0-9_-]+$) func (s *endpointState) extractProjectSlug(attrs pcommon.Map) string { attrValue, exists := attrs.Get(s.attributeKey) if !exists || attrValue.Type() != pcommon.ValueTypeStr { return "" } serviceName := attrValue.Str() if serviceName == "" { return "" } if s.projectMapping != nil { if mappedSlug, ok := s.projectMapping[serviceName]; ok { return mappedSlug } } if !runtimeSlugPattern.MatchString(serviceName) { return "" // reject; drop the span or use a fallback default project } return serviceName } Alternatively, reject at URL construction: func (c *sentryClient) GetProjectKeys(ctx context.Context, orgSlug, projectSlug string) ([]projectKey, error) { if !runtimeSlugPattern.MatchString(projectSlug) { return nil, fmt.Errorf("invalid project slug: %q", projectSlug) } baseURL := fmt.Sprintf("%s/api/0/projects/%s/%s/keys/", c.baseURL, orgSlug, projectSlug) // ... } `` Apply the runtime regex to ALL slug-derived URL components (including orgSlug if it can ever be attacker-influenced), not just to config-time validation. Credit Reported by independent security research by Martin Brodeur.

CVSS v3
5.3
EG Score
5.3(low)
EPSS
KEV
Not listed

Published

June 18, 2026

Last Modified

June 18, 2026

Vendor Advisories for CVE-2026-47256(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(1 across 1 ecosystem)
Go(1)
PackageVulnerable rangeFixed inDependents
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter0.154.0

Data Freshness Timeline

(refreshed 6× in last 7d / 18× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-06 19:03 UTCEG score recompute
  2. 2026-07-05 16:01 UTCEG score recompute
  3. 2026-07-04 14:32 UTCEG score recompute
  4. 2026-07-03 13:03 UTCEG score recompute
  5. 2026-07-02 11:09 UTCEG score recompute
  6. 2026-07-01 09:07 UTCEG score recompute
  7. 2026-06-30 07:38 UTCEG score recompute
  8. 2026-06-29 06:10 UTCEG score recompute
  9. 2026-06-28 04:42 UTCEG score recompute
  10. 2026-06-27 03:12 UTCEG score recompute
  11. 2026-06-26 01:44 UTCEG score recompute
  12. 2026-06-25 00:15 UTCEG score recompute
  13. 2026-06-23 22:46 UTCEG score recompute
  14. 2026-06-22 21:13 UTCEG score recompute
  15. 2026-06-21 19:44 UTCEG score recompute
  16. 2026-06-20 18:11 UTCEG score recompute
  17. 2026-06-19 16:41 UTCEG score recompute
  18. 2026-06-18 15:08 UTCEG score recompute

Frequently asked(4)

What is CVE-2026-47256?
CVE-2026-47256 is a medium vulnerability published on June 18, 2026. opentelemetry-collector-contrib sentryexporter: Path traversal in Sentry exporter via attacker-controlled service.name reaches privileged Sentry API endpoints with operator bearer token Summary The Sentry exporter constructs Sentry API URLs by interpolating the span's service.name resource…
When was CVE-2026-47256 disclosed?
CVE-2026-47256 was first published in the National Vulnerability Database on June 18, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-47256?
CVE-2026-47256 has a CVSS v4.0 base score of 5.3 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-47256?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-47256, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-47256

Explore →

Is Your Infrastructure Affected by CVE-2026-47256?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.