{"answers":{"affected":"4 open source packages ship an affected version, including OpenTelemetry.Api and OpenTelemetry.Extensions.Propagators. It affects 3 products.","exploited":"There is no known exploitation of CVE-2026-40894 in the wild and no public exploit code.","fix":"Upgrade OpenTelemetry.Api to 1.15.3 or later.","what":"CVE-2026-40894 is a medium-severity denial of service vulnerability in open-telemetry OpenTelemetry.Api, published on 23 Apr 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-40894 and fix it if it is affected.\n\nWhat it is: CVE-2026-40894 is a medium-severity denial of service vulnerability in open-telemetry OpenTelemetry.Api, published on 23 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40894 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- OpenTelemetry.Api (NuGet): affected from 0.5.0-beta.2; fixed in 1.15.3\n- OpenTelemetry.Api (NuGet): affected from 0.5.0-beta.2; fixed in 1.15.3\n- OpenTelemetry.Extensions.Propagators (NuGet): affected from 1.3.1; fixed in 1.15.3\n- OpenTelemetry.Extensions.Propagators (NuGet): affected from 1.3.1; fixed in 1.15.3\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-40894/ (Markdown: https://insights.sbomify.com/CVE-2026-40894/index.md)","id":"CVE-2026-40894","markdown":"https://insights.sbomify.com/CVE-2026-40894/index.md","name":"CVE-2026-40894","record":{"aliases":["GHSA-g94r-2vxg-569j","MINI-cmrr-7m33-j4jp","ROOT-APP-NUGET-CVE-2026-40894"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenTelemetry dotnet library","requires_auth":"none","summary":"Attackers can cause denial of service in applications using OpenTelemetry dotnet libraries by sending crafted propagation headers that trigger excessive memory allocation.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"opentelemetry","vendor":"opentelemetry"},{"product":"opentelemetry.api","vendor":"opentelemetry"},{"product":"opentelemetry.extensions.propagators","vendor":"opentelemetry"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"description":"OpenTelemetry dotnet is a dotnet telemetry framework. In OpenTelemetry.Api 0.5.0-beta.2 to 1.15.2 and OpenTelemetry.Extensions.Propagators 1.3.1 to 1.15.2, The implementation details of the baggage, B3 and Jaeger processing code in the OpenTelemetry.Api and OpenTelemetry.Extensions.Propagators NuGet packages can allocate excessive memory when parsing which could create a potential denial of service (DoS) in the consuming application. This vulnerability is fixed in 1.15.3.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenTelemetry dotnet: Excessive memory allocation when parsing OpenTelemetry propagation headers","id":"CVE-2026-40894","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":6,"next":{"headline":"follow-redirects: Custom Authentication Headers Leaked to Cross-Domain Redirect Targets","id":"CVE-2026-40895"},"packages":[{"ecosystem":"NuGet","fixed":["1.15.3"],"introduced":["0.5.0-beta.2"],"last_affected":[],"package":"OpenTelemetry.Api","purl":null,"source":"GHSA-g94r-2vxg-569j"},{"ecosystem":"NuGet","fixed":["1.15.3"],"introduced":["0.5.0-beta.2"],"last_affected":[],"package":"OpenTelemetry.Api","purl":"pkg:nuget/OpenTelemetry.Api","source":"GHSA-g94r-2vxg-569j"},{"ecosystem":"NuGet","fixed":["1.15.3"],"introduced":["1.3.1"],"last_affected":[],"package":"OpenTelemetry.Extensions.Propagators","purl":null,"source":"GHSA-g94r-2vxg-569j"},{"ecosystem":"NuGet","fixed":["1.15.3"],"introduced":["1.3.1"],"last_affected":[],"package":"OpenTelemetry.Extensions.Propagators","purl":"pkg:nuget/OpenTelemetry.Extensions.Propagators","source":"GHSA-g94r-2vxg-569j"}],"prev":{"headline":"Gotenberg: ExifTool Dangerous Tag Blocklist Bypass via Group-Prefixed Tag Names Allows Arbitrary File Rename and Move","id":"CVE-2026-40893"},"products":["OpenTelemetry.Api","OpenTelemetry.Extensions.Propagators","opentelemetry-dotnet"],"published":"2026-04-23","related":[{"cvss_score":7.5,"headline":"OpenTelemetry-Go multi-value `baggage` header extraction causes excessive allocations (remote dos amplification)","id":"CVE-2026-29181","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":7.5,"headline":"DoS vulnerability in otelgrpc (uncontrolled resource consumption) due to unbound cardinality metrics","id":"CVE-2023-47108","kev_date_added":null,"published":"2023-11-10"},{"cvss_score":7.5,"headline":"OpenTelemetry-Go Contrib has DoS vulnerability in otelhttp due to unbound cardinality metrics","id":"CVE-2023-45142","kev_date_added":null,"published":"2023-10-12"},{"cvss_score":7.5,"headline":"opentelemetry-instrumentation Denial of Service vulnerability due to unbound cardinality metrics","id":"CVE-2023-43810","kev_date_added":null,"published":"2023-10-06"},{"cvss_score":7.3,"headline":"opentelemetry-go: BSD kenv command not using absolute path enables PATH hijacking","id":"CVE-2026-39883","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":7,"headline":"OpenTelemetry-Go Affected by Arbitrary Code Execution via PATH Hijacking","id":"CVE-2026-24051","kev_date_added":null,"published":"2026-02-02"},{"cvss_score":5.9,"headline":"OpenTelemetry dotnet: Potential memory exhaustion via unbounded pooled-list sizing in Jaeger exporter conversion path","id":"CVE-2026-41078","kev_date_added":null,"published":"2026-04-23"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-23","vendors":["open-telemetry"]},"summary":"Attackers can cause denial of service in applications using OpenTelemetry dotnet libraries by sending crafted propagation headers that trigger excessive memory allocation.","url":"https://insights.sbomify.com/CVE-2026-40894/"}