CVE-2026-10051: Eclipse Jetty Cross-Request Leakage For Trailers On Vulnerability

MODERATE
Advisory Identifier: GHSA-f4v5-65jj-pcr2
CWE-200
Published
Advisory Summary

CVE-2026-10051 is a MODERATE cross-request leakage for trailers on vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Eclipse Jetty libraries in the Maven ecosystem. The issue involves cross-request leakage for trailers on http/1.1 keep-alive connections. Remediation is available by upgrading affected packages to version 12.0.36, 12.1.10.

CVE-2026-10051 at a Glance

CVE Identifier CVE-2026-10051
GHSA Identifier GHSA-f4v5-65jj-pcr2
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Eclipse Jetty
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-10051

To remediate this vulnerability, upgrade all affected Eclipse Jetty dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.eclipse.jetty:jetty-server fixed: 12.0.36
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>12.0.36</version>
</dependency>
org.eclipse.jetty:jetty-server fixed: 12.1.10
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>12.1.10</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.eclipse.jetty

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-10051, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.eclipse.jetty

Analyze the terminal output to locate any version of Eclipse Jetty in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.0.36), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.eclipse.jetty command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Eclipse Jetty, 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

### 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.

CVE-2026-10051 Affected Eclipse Jetty Versions

2 component(s)
Fixed Versions:
12.0.3612.1.10
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.jetty:jetty-server
Maven
≥ 12.0.0
< 12.0.36
12.0.36
org.eclipse.jetty:jetty-server
Maven
≥ 12.1.0
< 12.1.10
12.1.10

References

Frequently Asked Questions

What is CVE-2026-10051?
CVE-2026-10051 is a security vulnerability in Eclipse Jetty involving Cross-Request Leakage for trailers on HTTP/1.1 keep-alive connections under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Eclipse Jetty versions are affected?
Affected versions include releases prior to 12.0.36, 12.1.10 across affected packages: org.eclipse.jetty:jetty-server.
What version fixes CVE-2026-10051?
Upgrading to 12.0.36, 12.1.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jetty-server affected?
Yes, org.eclipse.jetty:jetty-server is affected in releases prior to 12.0.36, 12.1.10. Upgrade your dependency to 12.0.36, 12.1.10 or later.
What CWE is associated with CVE-2026-10051?
CVE-2026-10051 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2026-10051?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.jetty'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f4v5-65jj-pcr2",
  "modified" : "2026-07-22T22:56:05Z",
  "published" : "2026-07-22T22:56:05Z",
  "aliases" : [ "CVE-2026-10051" ],
  "summary" : "Eclipse Jetty: Cross-Request Leakage for trailers on HTTP/1.1 keep-alive connections",
  "details" : "### Description\n\n> FINDING — MEDIUM (HTTP/1.1 keep-alive connections with trailers)\n> HttpConnection._trailers Cross-Request Leakage (Never Reset Between Requests)\n> \n> Location:\n>   jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/internal/\n>   HttpConnection.java:107, 1157-1161, 1170\n> \n> Detail:\n>   _trailers (line 107) is a connection-scoped HttpFields.Mutable field.\n>   parsedTrailer() (line 1157) populates it when request N carries HTTP trailers.\n>   messageComplete() (line 1170) checks \"if (_trailers != null)\" — evaluates true\n>   from request N's data — and stamps it onto request N+1.\n> \n>   Grep confirms: ZERO occurrences of \"_trailers = null\" in entire HttpConnection.java.\n> \n>   Scenario:\n>     Request N:   POST /upload (trailers: X-Checksum: abc123)\n>     Request N+1: GET  /data   (no trailers)\n>     app: request.getTrailers() on N+1 → returns {X-Checksum: abc123} ← STALE\n> \n>   Application logic branching on getTrailers() != null produces incorrect behavior.\n>   Not cross-connection (same keep-alive connection only).\n> \n>   More dangerous scenario: TOCTOU — trailer passes check, target swapped before use.\n\n### Workarounds\nDo not rely on HTTP request trailers for security-sensitive logic, or disable persistent connections by closing the connection after each HTTP/1.1 request.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "12.0.36"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 12.0.35"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.1.0"
      }, {
        "fixed" : "12.1.10"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 12.1.9"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/security/advisories/GHSA-f4v5-65jj-pcr2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-10051"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/pull/15162"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/pull/15163"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/commit/72206b3ea623cf7ed8729b47a83ee628ff10e8eb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/commit/dc27e8d3ab743fe27935ea2d8c41756eb6c5bae9"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jetty/jetty.project"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/releases/tag/jetty-12.0.36"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/releases/tag/jetty-12.1.10"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignment/-/work_items/119"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-22T22:56:05Z",
    "nvd_published_at" : "2026-07-14T09:16:39Z"
  }
}