NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Swift

CVE-2026-23886: Swift W3C TraceContext vulnerable to a malformed HTTP header causing a crash

mediumCVSS 3.1 5.3GHSA-mvpq-2v8x-ww6g

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.

Published Jan 21, 2026

Affected packages

github.com/swift-otel/swift-w3c-trace-context

Ecosystem
Swift
Affected
< 1.0.0-beta.5
Fixed in
1.0.0-beta.5

github.com/swift-otel/swift-otel

Ecosystem
Swift
Affected
< 1.0.4
Fixed in
1.0.4

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to czechboy0, slashmo.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology