CVE-2026-23886: Github.com/swift otel/swift w3c trace context Swift W3C TraceContext Vulnerable To Vulnerability
MODERATECVE-2026-23886 is a MODERATE (CVSS 5.3) swift w3c tracecontext vulnerable to vulnerability (CWE-20: Improper Input Validation) affecting Github.com/swift otel/swift w3c trace context libraries in the SwiftURL ecosystem. The issue involves swift w3c tracecontext vulnerable to a malformed http header causing a crash. Remediation is available by upgrading affected packages to version 1.0.0-beta.5, 1.0.4.
CVE-2026-23886 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2026-23886
To remediate this vulnerability, upgrade all affected Github.com/swift otel/swift w3c trace context dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/swift-otel/swift-w3c-trace-context to 1.0.0-beta.5
Upgrade github.com/swift-otel/swift-otel to 1.0.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/swift-otel/swift-w3c-trace-context
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-23886, inspect your project dependencies for Github.com/swift otel/swift w3c trace context:
inspect dependencies for github.com/swift-otel/swift-w3c-trace-context
Analyze the terminal output to locate any version of Github.com/swift otel/swift w3c trace context in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0-beta.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/swift otel/swift w3c trace context, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-23886 Affected Github.com/swift otel/swift w3c trace context Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/swift-otel/swift-w3c-trace-context
|
SwiftURL |
< 1.0.0-beta.5
|
1.0.0-beta.5
|
|
github.com/swift-otel/swift-otel
|
SwiftURL |
< 1.0.4
|
1.0.4
|
References
Frequently Asked Questions
What is CVE-2026-23886?
Which Github.com/swift otel/swift w3c trace context versions are affected?
What version fixes CVE-2026-23886?
Is github.com/swift-otel/swift-w3c-trace-context affected?
Is github.com/swift-otel/swift-otel affected?
What is the CVSS score of CVE-2026-23886?
What CWE is associated with CVE-2026-23886?
How can I check SwiftURL dependencies for CVE-2026-23886?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mvpq-2v8x-ww6g",
"modified" : "2026-01-21T01:05:09Z",
"published" : "2026-01-21T01:05:09Z",
"aliases" : [ "CVE-2026-23886" ],
"summary" : "Swift W3C TraceContext vulnerable to a malformed HTTP header causing a crash",
"details" : "### Impact\n\nA denial-of-service vulnerability due to improper input validation allows a remote attacker to crash the service via a malformed HTTP header.\n\nAllows 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.\n\n### Patches\n\nhttps://github.com/swift-otel/swift-w3c-trace-context/commit/5da9b143ba6046734de3fa51dafea28290174e4e\n\n### Workarounds\nDisable either Swift OTel or the code that extracts the trace information from an incoming header (such as a `TracingMiddleware`).\n\n### References\n\n[Swift W3C TraceContext 1.0.0-beta.5](https://github.com/swift-otel/swift-w3c-trace-context/releases/tag/1.0.0-beta.5)\n[Swift OTel 1.0.4](https://github.com/swift-otel/swift-otel/releases/tag/1.0.4)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/swift-otel/swift-w3c-trace-context"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.0-beta.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/swift-otel/swift-otel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/swift-otel/swift-w3c-trace-context/security/advisories/GHSA-mvpq-2v8x-ww6g"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23886"
}, {
"type" : "WEB",
"url" : "https://github.com/swift-otel/swift-w3c-trace-context/commit/5da9b143ba6046734de3fa51dafea28290174e4e"
}, {
"type" : "WEB",
"url" : "https://github.com/swift-otel/swift-otel/releases/tag/1.0.4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/swift-otel/swift-w3c-trace-context"
}, {
"type" : "WEB",
"url" : "https://github.com/swift-otel/swift-w3c-trace-context/releases/tag/1.0.0-beta.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-21T01:05:09Z",
"nvd_published_at" : "2026-01-19T21:15:52Z"
}
}