CVE-2026-10051
JSON

6.9medium

Eclipse Jetty: Cross-Request Leakage for trailers on HTTP/1.1 keep-alive connections

Severity
6.9medium CVSS:4.0 by eclipse
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
eclipse
Also known as
GHSA-f4v5-65jj-pcr2

Description

In Eclipse Jetty, a first HTTP/1.1 request with trailers causes the server to retain the trailers in subsequent requests performed over the same connection. Subsequent request that do not have trailers report the trailers of the first request. Subsequent request that do have trailers report the union of trailers of the first request and the current request.

Affected

Product or packageVersionsReported by
Eclipse Foundation Eclipse Jettyfrom 12.0.0 up to 12.0.35, from 12.1.0 up to 12.1.9CVE List
org.eclipse.jetty:jetty-server (Maven)from 12.0.0 before 12.0.36, from 12.1.0 before 12.1.10GitHub Advisory Database
eclipse jettyfrom 12.0.0 before 12.0.36, from 12.1.0 before 12.1.10NVD

All scores

eclipse6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

In Eclipse Jetty, a first HTTP/1.1 request with trailers causes the server to retain the trailers in subsequent requests performed over the same connection. Subsequent request that do not have trailers report the trailers of the first request. Subsequent request that do have trailers report the union of trailers of the first request and the current request.

GitHub Advisory Database
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.

NVD (es)

En Eclipse Jetty, una primera solicitud HTTP/1.1 con ’trailers’ hace que el servidor retenga los ’trailers’ en solicitudes posteriores realizadas sobre la misma conexión. Solicitudes posteriores que no tienen ’trailers’ informan los ’trailers’ de la primera solicitud. Solicitudes posteriores que sí tienen ’trailers’ informan la unión de los ’trailers’ de la primera solicitud y la solicitud actual.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-10051 changed 2026-07-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-f4v5-65jj-pcr2 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-10051 changed 2026-10-24Public domain