GitHub Advisoryadvisory · SwiftURL
GHSA-mvpq-2v8x-ww6g Swift W3C TraceContext vulnerable to a malformed HTTP header causing a crash
MEDIUM
Official page ↗
- Aliases
- CVE-2026-23886
- Ecosystem
- SwiftURL
- Packages
- github.com/swift-otel/swift-w3c-trace-context, github.com/swift-otel/swift-otel
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-20
- Reviewed
- 2026-01-21
Affected packages
• SwiftURL github.com/swift-otel/swift-w3c-trace-context: < 1.0.0-beta.5 → fixed in 1.0.0-beta.5
• SwiftURL github.com/swift-otel/swift-otel: < 1.0.4 → fixed in 1.0.4
Description
Impact
A denial-of-service vulnerability due to improper input validation allows a remote attacker to crash the service via a malformed HTTP header.
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.
Patches
https://github.com/swift-otel/swift-w3c-trace-context/commit/5da9b143ba6046734de3fa51dafea28290174e4e
Workarounds
Disable either Swift OTel or the code that extracts the trace information from an incoming header (such as a `TracingMiddleware`).
References
Swift W3C TraceContext 1.0.0-beta.5
Swift OTel 1.0.4
Related
Alias · CVE (1)
- CVE-2026-23886 Swift W3C TraceContext is a Swift implementation of the W3C Trace Context standard, and Swift OTel is an OpenTelemetry Protocol (OTLP)… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/swift-otel/swift-w3c-trace-context/security/advisories/GHSA-mvpq-2v8x-ww6g web
- https://nvd.nist.gov/vuln/detail/CVE-2026-23886 advisory
- https://github.com/swift-otel/swift-w3c-trace-context/commit/5da9b143ba6046734de3fa51dafea28290174e4e web
- https://github.com/swift-otel/swift-otel/releases/tag/1.0.4 web
- https://github.com/swift-otel/swift-w3c-trace-context package
- https://github.com/swift-otel/swift-w3c-trace-context/releases/tag/1.0.0-beta.5 web