CVE-2026-23886: swift-w3c-trace-context · Improper Input Validation
Affects swift-w3c-trace-contextSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.0.4 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 19 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade swift-otel to 1.0.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| swift-otelswift-w3c-trace-context | Affected
| Fixed in– |
SwiftURLswift-w3c-trace-contextpkg:swift/swift-w3c-trace-contextOther threats | Affected
| Fixed in– |
SwiftURLswift-otelpkg:swift/swift-otelOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately assess their use of swift-otel and swift-w3c-trace-context libraries in their software stacks. The primary mitigation is to upgrade swift-otel to version 1.0.4 or later and swift-w3c-trace-context to version 1.0.0-beta.5 or later, where the input validation flaw is patched. If upgrading is not immediately feasible, temporarily disabling the tracing middleware or any code that extracts trace context from incoming HTTP headers can prevent exploitation. Additionally, implement network-level protections such as rate limiting and input validation proxies to filter malformed HTTP headers before they reach the application. Monitoring application logs for crashes or unusual trace header anomalies can help detect attempted exploitation. Incorporating fuzz testing and input validation checks in development pipelines can prevent similar issues. Finally, ensure that incident response plans include procedures for handling DoS events caused by malformed telemetry data.
Description
Swift W3C TraceContext is a Swift implementation of the W3C Trace Context standard, and Swift OTel is an OpenTelemetry Protocol (OTLP) backend for Swift Log, Swift Metrics, and Swift Distributed Tracing. Prior to Swift W3C TraceContext version 1.0.0-beta.5 and Swift OTel version 1.0.4, a denial-of-service vulnerability due to improper input validation allows a remote attacker to crash the service via a malformed HTTP header. This allows crashing the process with data coming from the network when used with, for example, an HTTP server. Most common way of using Swift W3C Trace Context is through Swift OTel. Version 1.0.0-beta.5 of Swift W3C TraceContext and version 1.0.4 of Swift OTel contain a patch for this issue. As a workaround, disable either Swift OTel or the code that extracts the trace information from an incoming header (such as a `TracingMiddleware`).
References
- github.com/swift-otel/swift-w3c-trace-context/security/advisories/GHSA-mvpq-2v8x-ww6g (opens in a new tab)
- github.com/swift-otel/swift-w3c-trace-context/commit/5da9b143ba6046734de3fa51dafea28290174e4e (opens in a new tab)
- github.com/swift-otel/swift-otel/releases/tag/1.0.4 (opens in a new tab)
- github.com/swift-otel/swift-w3c-trace-context/releases/tag/1.0.0-beta.5 (opens in a new tab)