{"answers":{"affected":"3 open source packages ship an affected version, including github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47256 exists.","fix":"Upgrade github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter to 0.154.0 or later.","what":"CVE-2026-47256 is a medium-severity path traversal vulnerability in github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter, published on 14 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-47256 and fix it if it is affected.\n\nWhat it is: CVE-2026-47256 is a medium-severity path traversal vulnerability in github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter, published on 14 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47256 exists.\n\nAffected packages and fixed versions:\n- github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter (Go): affected all versions; fixed in 0.154.0\n- github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter (Go): affected all versions; fixed in 0.154.0\n- github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter (Go): affected all versions; fixed in 0.154.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47256/ (Markdown: https://insights.sbomify.com/CVE-2026-47256/index.md)","id":"CVE-2026-47256","markdown":"https://insights.sbomify.com/CVE-2026-47256/index.md","name":"CVE-2026-47256","record":{"aliases":["DEBIAN-CVE-2026-47256","ECHO-cd26-8af5-522c","GHSA-4jvg-4jfx-fmhc","GO-2026-5126","MINI-5pxr-jmwg-xjmq","MINI-pf9w-679g-mg3m"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenTelemetry Sentry exporter","requires_auth":"none","summary":"Attacker-controlled service.name allows path traversal to access privileged Sentry API endpoints, potentially exposing or modifying telemetry data.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"opentelemetry-collector-contrib sentryexporter: Path traversal in Sentry exporter via attacker-controlled service.name reaches privileged Sentry API endpoints with operator bearer token","id":"CVE-2026-47256","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Koel Vulnerable to SSRF via Podcast Episode Enclosure URLs","id":"CVE-2026-47260"},"packages":[{"ecosystem":"Go","fixed":["0.154.0"],"introduced":["0"],"last_affected":[],"package":"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter","purl":null,"source":"GHSA-4jvg-4jfx-fmhc"},{"ecosystem":"Go","fixed":["0.154.0"],"introduced":["0"],"last_affected":[],"package":"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter","purl":"pkg:golang/github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter","source":"GHSA-4jvg-4jfx-fmhc"},{"ecosystem":"Go","fixed":["0.154.0"],"introduced":["0"],"last_affected":[],"package":"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter","purl":"pkg:golang/github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter","source":"GO-2026-5126"}],"prev":{"headline":"AgenticMail API/storage and outbound relay hardening","id":"CVE-2026-47255"},"products":["github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter","opentelemetry-collector-contrib"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["open-telemetry"]},"summary":"Attacker-controlled service.name allows path traversal to access privileged Sentry API endpoints, potentially exposing or modifying telemetry data.","url":"https://insights.sbomify.com/CVE-2026-47256/"}