CVE-2026-10051: Eclipse Jetty: Cross-Request Leakage for trailers on HTTP/1.1 keep-alive connections
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.
Published Jul 22, 2026
Affected packages
org.eclipse.jetty:jetty-server
- Ecosystem
- Maven
- Affected
- >= 12.0.0, <= 12.0.35
- Fixed in
- 12.0.36
- Check
mvn dependency:tree -Dincludes=org.eclipse.jetty:jetty-server
org.eclipse.jetty:jetty-server
- Ecosystem
- Maven
- Affected
- >= 12.1.0, <= 12.1.9
- Fixed in
- 12.1.10
- Check
mvn dependency:tree -Dincludes=org.eclipse.jetty:jetty-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/jetty/jetty.project/security/advisories/GHSA-f4v5-65jj-pcr2
- https://nvd.nist.gov/vuln/detail/CVE-2026-10051
- https://github.com/jetty/jetty.project/pull/15162
- https://github.com/jetty/jetty.project/pull/15163
- https://github.com/jetty/jetty.project/commit/72206b3ea623cf7ed8729b47a83ee628ff10e8eb
- https://github.com/jetty/jetty.project/commit/dc27e8d3ab743fe27935ea2d8c41756eb6c5bae9
- https://github.com/jetty/jetty.project/releases/tag/jetty-12.0.36
- https://github.com/jetty/jetty.project/releases/tag/jetty-12.1.10
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/119
- https://github.com/advisories/GHSA-f4v5-65jj-pcr2
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
More Maven vulnerabilities
All Maven entriesCVE-2024-7708
Eclipse Jetty: DoS attack triggering OutOfMemory with 100-Continue requests
high7.5Jul 22, 2026CVE-2026-6790
Eclipse Jetty: HTTP Authority/Host mismatch
medium5.3No fixJul 22, 2026CVE-2026-1605
The Eclipse Jetty Server Artifact has a Gzip request memory leak
high7.5Mar 5, 2026CVE-2024-13009
**UNSUPPORTED WHEN ASSIGNED** GzipHandler causes part of request body to be seen as request body of a separate request
high7.2May 8, 2025CVE-2024-8184
Eclipse Jetty's ThreadLimitHandler.getRemote() vulnerable to remote DoS attacks
medium5.9Oct 14, 2024
