Skip to main content

CVE-2026-10050 — Vulnerability in jetty-security — CVE Details

HIGH

Eclipse Jetty Digest Authentication: ISO-8859-1 lossy encoding allows authentication bypass via character substitution

Published July 22, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.63%). Schedule for your next planned update.

Does your project use an affected org.eclipse.jetty:jetty-security version?

Paste your pom.xml to check it for CVE-2026-10050 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Summary

The DigestAuthentication.apply() method in Jetty's HTTP client uses getBytes(StandardCharsets.ISO_8859_1) at three locations (lines 171, 179, 196) to compute Digest auth response hashes. ISO-8859-1 silently replaces any character above U+00FF (Chinese, Japanese, Cyrillic, Arabic, Emoji, etc.) with 0x3F (?), causing all such characters to produce identical hash contributions. An attacker who knows a victim's username can bypass Digest authentication by replacing all non-Latin-1 characters in the password with ? characters, since the collision password produces the same MD5-based Digest response hash as the original password.

Details

Root Cause

In jetty-core/jetty-client/src/main/java/org/eclipse/jetty/client/DigestAuthentication.java, the apply() method computes the three Digest auth hashes (H(A1), H(A2), and the final response) using ISO-8859-1 character encoding:

// Line 171 — H(A1)
String hashA1 = toHexString(digester.digest(a1.getBytes(StandardCharsets.ISO_8859_1)));

// Line 179 — H(A2)
String hashA2 = toHexString(digester.digest(a2.getBytes(StandardCharsets.ISO_8859_1)));

// Line 196 — Final response hash
final String hashA3 = toHexString(digester.digest(a3.getBytes(StandardCharsets.ISO_8859_1)));

ISO-8859-1 (Latin-1) can only encode characters in the range U+0000–U+00FF. Any character outside this range — including all CJK, Cyrillic, Arabic, Greek, Hangul, and emoji characters — is silently replaced with the byte 0x3F (?). String.getBytes(ISO_8859_1) in Java performs this replacement without any warning or exception.

PoC

Password: "我爱Java!密码123★" (7 non-Latin-1 characters)

UTF-8 encoding:    45 bytes → MD5 H(A1) = 9a4e61484f228633d5d0f95d1bbb0a99
ISO-8859-1:        31 bytes → MD5 H(A1) = d60ddc903d71913bcc3ab4a94f7fc239
Collision "??...": 31 bytes → MD5 H(A1) = d60ddc903d71913bcc3ab4a94f7fc239 ← IDENTICAL

Multi-language confirmation — all four language passwords below produce the same hash:

Chinese (密码123)  → H(A1) = db87f31e8d96cd15f9acec7eabdc4560
Korean  (비번123)  → H(A1) = db87f31e8d96cd15f9acec7eabdc4560
Cyrillic(аб123)    → H(A1) = db87f31e8d96cd15f9acec7eabdc4560
Greek   (αβ123)    → H(A1) = db87f31e8d96cd15f9acec7eabdc4560
Attacker(??123)    → H(A1) = db87f31e8d96cd15f9acec7eabdc4560 ← all collide!

Impact

Scenario 1: Authentication Bypass (Collision Attack)

If a service using Jetty for Digest authentication has a user with a non-Latin-1 password (e.g., Chinese, Japanese, Russian), an attacker can authenticate as that user using a collision password where all non-Latin-1 characters are replaced with ?:

  • Original password: 我爱Java!密码123★
  • Collision password: ??Java!??123?
  • Both produce identical MD5 hashes under ISO-8859-1 → Authentication succeeds

This affects any password containing characters > U+00FF, which covers:

  • Chinese (CJK): U+4E00–U+9FFF
  • Japanese (Hiragana/Katakana/Kanji): U+3040–U+30FF, U+4E00+
  • Korean (Hangul): U+AC00–U+D7AF
  • Cyrillic: U+0400–U+04FF (Russian, Ukrainian, Bulgarian, etc.)
  • Arabic: U+0600–U+06FF
  • Greek: U+0370–U+03FF
  • Latin Extended: U+0100–U+024F (accented European characters like ĉ, ğ, ñ when > U+00FF)
  • Emoji / Symbols > U+00FF

Scenario 2: Denial of Service for Non-Latin-1 Users

Most modern web applications store password hashes computed using UTF-8. When Jetty's Digest client computes a hash with ISO-8859-1, the bytes differ from what the server stored/expects. This means any user with non-ASCII (Latin-1+) characters in their password can never successfully authenticate via Digest auth — even the legitimate user. This is not just a security issue but a functional correctness bug that silently breaks authentication for most non-European-language users.

Advisory Timeline

  • First published July 22, 2026 (127 days ago).
  • Last revised September 10, 2026 — 49 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.eclipse.jetty:jetty-security to 10.0.31 or later
<!-- Update pom.xml dependency version to 10.0.31 for org.eclipse.jetty:jetty-security -->
Maven
Update org.eclipse.jetty.ee8:jetty-ee8-security to 12.0.36 or later
<!-- Update pom.xml dependency version to 12.0.36 for org.eclipse.jetty.ee8:jetty-ee8-security -->
Maven
Update org.eclipse.jetty:jetty-security to 12.1.10 or later
<!-- Update pom.xml dependency version to 12.1.10 for org.eclipse.jetty:jetty-security -->
Maven
Update org.eclipse.jetty:jetty-security to 9.4.63 or later
<!-- Update pom.xml dependency version to 9.4.63 for org.eclipse.jetty:jetty-security -->
Maven
Update org.eclipse.jetty:jetty-security to 12.0.36 or later
<!-- Update pom.xml dependency version to 12.0.36 for org.eclipse.jetty:jetty-security -->
Maven
Update org.eclipse.jetty:jetty-security to 11.0.31 or later
<!-- Update pom.xml dependency version to 11.0.31 for org.eclipse.jetty:jetty-security -->
Maven
Update org.eclipse.jetty.ee9:jetty-ee9-security to 12.0.36 or later
<!-- Update pom.xml dependency version to 12.0.36 for org.eclipse.jetty.ee9:jetty-ee9-security -->
Maven
Update org.eclipse.jetty.ee8:jetty-ee8-security to 12.1.10 or later
<!-- Update pom.xml dependency version to 12.1.10 for org.eclipse.jetty.ee8:jetty-ee8-security -->
Maven
Update org.eclipse.jetty.ee9:jetty-ee9-security to 12.1.10 or later
<!-- Update pom.xml dependency version to 12.1.10 for org.eclipse.jetty.ee9:jetty-ee9-security -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (9)

Affects 1 ecosystem: Maven (3).

PackageFixed In
org.eclipse.jetty:jetty-security Maven · Affected: 10.0.0, 10.0.1, 10.0.10, 10.0.11 (+23 more)10.0.31
org.eclipse.jetty.ee8:jetty-ee8-security Maven · Affected: 12.0.0, 12.0.1, 12.0.10, 12.0.11 (+32 more)12.0.36
org.eclipse.jetty:jetty-security Maven · Affected: 12.1.0, 12.1.1, 12.1.2, 12.1.3 (+6 more)12.1.10
org.eclipse.jetty:jetty-security Maven · Affected: 9.4.0.v20161208, 9.4.0.v20180619, 9.4.1.v20170120, 9.4.1.v20180619 (+70 more)9.4.63
org.eclipse.jetty:jetty-security Maven · Affected: 12.0.0, 12.0.1, 12.0.10, 12.0.11 (+32 more)12.0.36
org.eclipse.jetty:jetty-security Maven · Affected: 11.0.0, 11.0.1, 11.0.10, 11.0.11 (+23 more)11.0.31
org.eclipse.jetty.ee9:jetty-ee9-security Maven · Affected: 12.0.0, 12.0.1, 12.0.10, 12.0.11 (+32 more)12.0.36
org.eclipse.jetty.ee8:jetty-ee8-security Maven · Affected: 12.1.0, 12.1.1, 12.1.2, 12.1.3 (+6 more)12.1.10
org.eclipse.jetty.ee9:jetty-ee9-security Maven · Affected: 12.1.0, 12.1.1, 12.1.2, 12.1.3 (+6 more)12.1.10

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2026-10050?
Eclipse Jetty Digest Authentication: ISO-8859-1 lossy encoding allows authentication bypass via character substitution. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-10050?
CVE-2026-10050 affects org.eclipse.jetty:jetty-security, org.eclipse.jetty.ee8:jetty-ee8-security and org.eclipse.jetty.ee9:jetty-ee9-security. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-10050 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.63%
EPSS percentile: 44.8

This is a below-median EPSS score — only 44.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-2fvj-hgj9-j2gr

Related CVEs

  • CVE-2026-61689
    HIGH

    XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes

  • CVE-2026-5795
    HIGH

    Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables

  • CVE-2026-107725
    HIGH

    Hazelcast has an authorization bypass in IMap Predicates API

  • CVE-2023-44487
    MEDIUM

    HTTP/2 Stream Cancellation Attack

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml