Skip to content

CVE-2026-28898 SwiftNIO HTTP/2: HTTP/2-to-HTTP/1 Request Smuggling via unvalidated :path pseudo-header in HTTP2ToHTTP1Codec

MediumCVSS 5.3 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

swift-nio-http2's HTTP/2-to-HTTP/1.1 codec did not validate pseudo-header values for control characters before placing them into the translated HTTP/1.1 message. swift-nio-http2 1.44.1 adds validation of all pseudo-header values (:path, :authority, :scheme, :method, and :status) at both the HPACK header validation layer and the HTTP/2-to-HTTP/1.1 translation layer. Requests or responses containing CR, LF, or NUL bytes in any pseudo-header value are now rejected with a connection error. This issue is fixed in swift-nio-http2 1.44.1.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
apple swift-nio-http2 < 1.44.1 1.44.1 Fixed
apple swiftnio http2 < 1.44.1 1.44.1 Fixed
swifturl github.com/apple/swift-nio-http2(SwiftURL) < 1.44.0 1.44.0 Fixed

Affected products

ProductAffected versionsFixed in
apple swift-nio-http2 < 1.44.1 1.44.1
swifturl github.com/apple/swift-nio-http2(SwiftURL) < 1.44.0 1.44.0
apple swiftnio http2 < 1.44.1 1.44.1

References