Skip to main content

Sentry Exporter EUVDEUVD-2026-77692

| CVE-2026-47256 MEDIUM
Path Traversal (CWE-22)
2026-06-18 https://github.com/open-telemetry/opentelemetry-collector-contrib GHSA-4jvg-4jfx-fmhc
5.3
CVSS 3.1 · Vendor: https://github.com/open-telemetry/opentelemetry-collector-contrib
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Emit OTLP span with crafted service.name
  2. Delivery
    Collector extracts raw slug without validation
  3. Exploit
    fmt.Sprintf injects slug into Sentry API URL path
  4. Execution
    Operator bearer token attached unconditionally to request
  5. Persist
    Crafted HTTP request reaches privileged Sentry org endpoint
  6. Impact
    Attacker enumerates members, API keys, or org settings

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must be able to emit OTLP spans (via gRPC port 4317 or HTTP port 4318) to an OpenTelemetry Collector that has the Sentry exporter enabled and configured with a valid Sentry bearer token. The service.name resource attribute must reach the Sentry exporter without being overwritten - exploitation is prevented if the operator uses a transform processor to normalize or replace service.name upstream of the Sentry exporter, or if all expected service names are explicitly mapped to project slugs in the routing config so no unmapped name triggers raw slug interpolation. The query-string injection vector (e.g., service.name = foo?injected_query=) is reliable across all deployment configurations and requires no server-side path normalization. The path traversal vector (e.g., service.name = foo/../../members) additionally requires the Sentry deployment to perform server-side .. normalization, which is standard nginx behavior. No authentication to the collector is required by the CVSS PR:N vector; however, practical network access to the OTLP receiver port is required. Impact scope is bounded by the permissions of the operator's bearer token - if the token is scoped to a single project, reach to org-level endpoints may be limited; if the token is org-scoped (common in shared collector deployments), admin and member endpoints are reachable.

Impact

The NVD-assigned CVSS 3.1 score of 5.3 (Medium, S:U/C:L/I:N/A:N) materially understates real-world risk. The S:U (no scope change) and C:L (low confidentiality) assignments conflict with the advisory description: the attack uses the collector's operator token to access privileged admin, organization, and member endpoints within the Sentry organization - a clear scope change beyond the vulnerable collector component. The true confidentiality impact is high if, as is typical, the operator bearer token holds org-level permissions. No EPSS score was provided in the input data, preventing probabilistic exploitation assessment. No CISA KEV listing exists, indicating no confirmed mass exploitation at time of analysis. Despite the absence of KEV status, the query-string injection vector is reliable across all deployment configurations and requires no server-side path normalization, making this a credible and practical threat in any environment where multiple applications share a single OpenTelemetry Collector. The path traversal secondary vector is nginx-dependent and therefore deployment-conditional. The CVSS PR:N assignment is correct - the attacker requires no credentials to the collector, only the ability to emit OTLP spans. Overall, this vulnerability is more severe than its NVD score suggests and warrants priority remediation in shared or multi-tenant collector deployments.

Exploit ScenarioDerived

An attacker operating a compromised application in a shared Kubernetes cluster emits OTLP spans with service.name set to foo?injected_query=, causing the collector's Sentry exporter to construct the URL https://sentry.io/api/0/projects/ORG-SLUG/foo?injected_query=/keys/, which resolves to the Sentry endpoint /api/0/projects/ORG-SLUG/foo with the operator's bearer token attached. The attacker then iterates through known Sentry API paths - such as /members/, /teams/, and /api-keys/ - by varying the injected payload, harvesting privileged organization data using the operator's authentication context without any exploitation of a Sentry-side vulnerability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 18, 2026

Path traversal and query-string injection in the OpenTelemetry Collector Contrib Sentry exporter allows any OTLP span sender to redirect the collector's operator bearer token to arbitrary Sentry API endpoints - including privileged admin, organization, and member management endpoints. The vulnerability stems from the service.name span attribute being interpolated directly into Sentry API URLs via fmt.Sprintf without validation, while the existing projectSlugRegexp safeguard is only applied to operator-configured mappings and never to runtime-derived slugs. No CISA KEV listing exists at time of analysis, but the GHSA advisory provides detailed exploitation steps demonstrating both a universally reliable query-string injection vector and a nginx-dependent path traversal vector, with a fixed version available at 0.154.0.

RemediationAI

Upgrade opentelemetry-collector-contrib to version 0.154.0 or later, which applies slug validation to runtime-derived values at extractProjectSlug - rejecting any service.name that does not match ^[a-zA-Z0-9_-]+$ - and adds a second validation gate inside GetProjectKeys before URL construction. Full patch details are in the GitHub advisory at https://github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-4jvg-4jfx-fmhc. If an immediate upgrade is not possible, restrict access to the collector's OTLP receiver port (gRPC 4317, HTTP 4318) to trusted, known-good applications only using Kubernetes NetworkPolicy or equivalent; this limits the attacker population but does not eliminate risk from compromised trusted applications. A second compensating control is to configure explicit service.name-to-project-slug mappings for all expected services in the Sentry exporter routing config, so unrecognized service names fall back to a designated default project rather than triggering raw slug interpolation. Neither compensating control is a substitute for patching, as any trusted OTLP sender that becomes compromised retains the attack surface.

Affected VersionsENISA

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

Affected Packages

go github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter fix: 0.154.0
euvd github_com_open_telemetry_opentelemetry_collector_contrib_exporter_sentryexporter fix: 0.154.0
euvd opentelemetry_collector_contrib fix: 0.154.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the exporter/sentryexporter package within the Go module github.com/open-telemetry/opentelemetry-collector-contrib (CPE: pkg:go/github.com_open-telemetry_opentelemetry-collector-contrib_exporter_sentryexporter), affecting all versions prior to 0.154.0. The root cause is CWE-22 (Path Traversal): extractProjectSlug in sentry_exporter.go:715-737 reads service.name from incoming OTLP span resource attributes and returns the raw string as a project slug with no schema validation. This slug is passed directly to GetProjectKeys in sentry_client.go:192, which constructs the Sentry API URL via fmt.Sprintf("%s/api/0/projects/%s/%s/keys/", c.baseURL, orgSlug, projectSlug). Go's net/http preserves literal .. and / characters in URL paths constructed through fmt.Sprintf, enabling both path traversal and query-string injection. The operator-configured bearer token is unconditionally appended to every outbound request at sentry_client.go:207 via req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", c.authToken)). A projectSlugRegexp matching ^[a-z0-9_-]{1,50}$ exists in config.go:58 but is exclusively invoked inside validateRoutingConfig - a config-time function only - with no runtime callsite, leaving the regex entirely ineffective as a runtime guard.

Know when Kubernetes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/open-telemetry/opentelemetry-collector-contrib) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 9.3 CRITICAL

Scope changes because attacker pivots from collector context to privileged Sentry org endpoints via operator token; C:H reflects potential org-wide data access.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (https://github.com/open-telemetry/opentelemetry-collector-contrib).

CVSS VectorVendor: https://github.com/open-telemetry/opentelemetry-collector-contrib

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

DescriptionCVE.org

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

  1. extractProjectSlug (sentry_exporter.go:715-737) reads service.name from pcommon.Resource.Attributes() without schema validation and returns the raw

string on line 736.

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

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

  1. Go net/http preserves literal .. and / characters in URL paths when constructed via fmt.Sprintf.
  2. 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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy