CVE-2026-10051
Eclipse Jetty: Cross-Request Leakage for trailers on HTTP/1.1 keep-alive connections
Description
Description
FINDING — MEDIUM (HTTP/1.1 keep-alive connections with trailers) HttpConnection._trailers Cross-Request Leakage (Never Reset Between Requests)
Location: jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/internal/ HttpConnection.java:107, 1157-1161, 1170
Detail: _trailers (line 107) is a connection-scoped HttpFields.Mutable field. parsedTrailer() (line 1157) populates it when request N carries HTTP trailers. messageComplete() (line 1170) checks "if (_trailers != null)" — evaluates true from request N's data — and stamps it onto request N+1.
Grep confirms: ZERO occurrences of "_trailers = null" in entire HttpConnection.java.
Scenario: Request N: POST /upload (trailers: X-Checksum: abc123) Request N+1: GET /data (no trailers) app: request.getTrailers() on N+1 → returns {X-Checksum: abc123} ← STALE
Application logic branching on getTrailers() != null produces incorrect behavior. Not cross-connection (same keep-alive connection only).
More dangerous scenario: TOCTOU — trailer passes check, target swapped before use.
Workarounds
Do not rely on HTTP request trailers for security-sensitive logic, or disable persistent connections by closing the connection after each HTTP/1.1 request.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.eclipse.jetty » jetty-server | >= 12.0.0, < 12.0.36>= 12.1.0, < 12.1.10 | 12.0.36, 12.1.10 |
Blast radius
41% of the dependent artifacts (1,085) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,721 |
| 2 hops | 16,968 |
| 3 hops | 13,266 |
| 4 hops | 8,412 |
| 5 hops | 3,740 |
| 6 hops | 1,217 |
Most used dependents
- com.github.tomakehurst » wiremock1,838 usages
- org.apache.kafka » kafka1,450 usages
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- io.dropwizard » dropwizard-core894 usages
- org.eclipse.jetty » jetty-security843 usages
- org.wiremock » wiremock733 usages
- org.apache.cxf » cxf-rt-transports-http-jetty513 usages
- org.apache.solr » solr-core500 usages
- ring » ring469 usages
- io.dropwizard » dropwizard-testing463 usages
- org.eclipse.jetty.ee10 » jetty-ee10-servlet460 usages
- org.springframework.boot » spring-boot-starter-jetty458 usages
- org.eclipse.jetty » jetty-plus392 usages
- org.eclipse.jetty » jetty-annotations391 usages
- ring » ring-jetty-adapter371 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://github.com/jetty/jetty.project/security/advisories/GHSA-f4v5-65jj-pcr2
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-10051
- Webhttps://github.com/jetty/jetty.project/pull/15162
- Webhttps://github.com/jetty/jetty.project/pull/15163
- Webhttps://github.com/jetty/jetty.project/commit/72206b3ea623cf7ed8729b47a83ee628ff10e8eb
- Webhttps://github.com/jetty/jetty.project/commit/dc27e8d3ab743fe27935ea2d8c41756eb6c5bae9
- Packagehttps://github.com/jetty/jetty.project
- Webhttps://github.com/jetty/jetty.project/releases/tag/jetty-12.0.36
- Webhttps://github.com/jetty/jetty.project/releases/tag/jetty-12.1.10
- Webhttps://gitlab.eclipse.org/security/cve-assignment/-/work_items/119
