CVE-2026-102825
Russh: Configured server auth-attempt cap is not enforced in the USERAUTH_REQUEST runtime path
Russh is a Rust SSH client and server library. Prior to 0.62.6, the USERAUTH_REQUEST path reached from server::run_stream in russh/src/server/encrypted.rs increments self.common.auth_attempts but never compares it with server::Config.max_auth_attempts. An unauthenticated remote client can continue submitting authentication requests on one connection beyond the configured cap, bypassing the deployment's attempt-limiting policy and increasing online guessing opportunity and backend authentication workload. This issue is fixed in version 0.62.6.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
3.7
Russh: Configured server auth-attempt cap is not enforced in the USERAUTH_REQUEST runtime path
Russh is a Rust SSH client and server library. Prior to 0.62.6, the USERAUTH_REQUEST path reached from server::run_stream in russh/src/server/encrypted.rs increments self.common.auth_attempts but never compares it with server::Config.max_auth_attempts. An unauthenticated remote client can continue submitting authentication requests on one connection beyond the configured cap, bypassing the deployment's attempt-limiting policy and increasing online guessing opportunity and backend authentication workload. This issue is fixed in version 0.62.6.
- Record
CVE-2026-102825- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-307
- Updated
- 2026-11-02
EUVDEUVD-2026-89365
3.7
Russh is a Rust SSH client and server library. Prior to 0.62.6, the USERAUTH_REQUEST path reached from server::run_stream in russh/src/server/encrypted.rs increments self.common.auth_attempts but never compares it with server::Config.max_auth_attempts. An unauthenticated remote client can continue submitting authentication requests on one connection beyond the configured cap, bypassing the deployment's attempt-limiting policy and increasing online guessing opportunity and backend authentication workload. This issue is fixed in version 0.62.6.
- Record
EUVD-2026-89365- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-g6xm-f9xp-qq35
3.7
Russh: Configured server auth-attempt cap is not enforced in the USERAUTH_REQUEST runtime path
Details
Affected versions and vulnerable location
- Confirmed present on default branch
mainat HEAD0089c89c94753bebbec12b956c07a1cd38740379. - Crate version at HEAD:
0.62.4. - Vulnerable locations on current default branch:
russh/src/server/mod.rs:91(pub max_auth_attempts: usize)russh/src/server/mod.rs:121(defaultmax_auth_attempts: 10)russh/src/server/encrypted.rs:89(USERAUTH_REQUESTdispatch into auth handler path)russh/src/server/encrypted.rs:98(self.common.auth_attempts += 1)russh/src/server/encrypted.rs:53(only runtime read ofauth_attempts, used for initial reject timing, not attempt limiting)
- Default-branch history check did not show a newer merged commit adding enforcement against
config.max_auth_attempts.
Reachability trace verified
- Entry point: exported server API
server::run_streaminrussh/src/server/mod.rs:1049. - Session run loop in
russh/src/server/session.rsprocesses incoming packets and callsreply(...)(server/session.rs:725). replyforwards encrypted packets tosession.server_read_encrypted(...)(server/mod.rs:1221).server_read_encryptedroutesUSERAUTH_REQUESTtoenc.server_read_auth_request(...)(server/encrypted.rs:89).- On each request,
self.common.auth_attempts += 1executes (server/encrypted.rs:98). - No comparison against
self.common.config.max_auth_attemptsis present in this runtime flow.
PoC
Reproduction steps and observed output
I did not run a full server process in this environment because Rust tooling is unavailable. I verified the issue from source and command output on the audited tree.
- Show where
max_auth_attemptsappears:
rtk rg -n "max_auth_attempts" .scratch/russh/russh/src/server/mod.rs .scratch/russh/russh/src/server/encrypted.rs .scratch/russh/russh/src/server/session.rs
Observed:
.scratch/russh/russh/src/server/mod.rs:91: pub max_auth_attempts: usize,
.scratch/russh/russh/src/server/mod.rs:121: max_auth_attempts: 10,
.scratch/russh/russh/src/server/mod.rs:148: .field("max_auth_attempts", &self.max_auth_attempts)
- Show runtime auth-attempt handling:
rtk rg -n "auth_attempts == 0|auth_attempts \\+= 1" .scratch/russh/russh/src/server/encrypted.rs
Observed:
53: let initial_none_rejection_wait_until = if self.common.auth_attempts == 0 {
98: self.common.auth_attempts += 1;
- Show production entrypoint-to-auth path references:
rtk rg -n "pub async fn run_stream|match reply\\(|server_read_encrypted\\(|server_read_auth_request\\(" .scratch/russh/russh/src/server/mod.rs .scratch/russh/russh/src/server/session.rs .scratch/russh/russh/src/server/encrypted.rs
Observed:
.scratch/russh/russh/src/server/encrypted.rs:89: enc.server_read_auth_request(
.scratch/russh/russh/src/server/session.rs:725: match reply(&mut self, &mut handler, &mut pkt).await {
.scratch/russh/russh/src/server/mod.rs:1049:pub async fn run_stream<H, R>(
.scratch/russh/russh/src/server/mod.rs:1221: session.server_read_encrypted(handler, pkt).await
- Toolchain check:
cargo --version
Observed:
/bin/bash: line 1: cargo: command not found
Impact
Attacker model
- Attacker: unauthenticated remote client with TCP reachability to a russh-backed SSH service.
- Preconditions: deployer expects
server::Config.max_auth_attemptsto cap attempts. - Impact: repeated
USERAUTH_REQUESTattempts continue for a single connection beyond configured limit, increasing online guessing opportunity and backend auth workload.
Suggested fix
Enforce max_auth_attempts in the USERAUTH_REQUEST branch before invoking auth-method handlers, and fail closed once threshold is reached.
Concrete patch direction in russh/src/server/encrypted.rs:
if self.common.config.max_auth_attempts > 0
…
- Record
GHSA-g6xm-f9xp-qq35- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-307
- Updated
- 2026-11-02
NVD
3.7
Russh is a Rust SSH client and server library. Prior to 0.62.6, the USERAUTH_REQUEST path reached from server::run_stream in russh/src/server/encrypted.rs increments self.common.auth_attempts but never compares it with server::Config.max_auth_attempts. An unauthenticated remote client can continue submitting authentication requests on one connection beyond the configured cap, bypassing the deployment's attempt-limiting policy and increasing online guessing opportunity and backend authentication workload. This issue is fixed in version 0.62.6.
- Record
CVE-2026-102825- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-307
- Updated
- 2026-11-02
OSV
3.7
Russh: Configured server auth-attempt cap is not enforced in the USERAUTH_REQUEST runtime path
Russh is a Rust SSH client and server library. Prior to 0.62.6, the USERAUTH_REQUEST path reached from server::run_stream in russh/src/server/encrypted.rs increments self.common.auth_attempts but never compares it with server::Config.max_auth_attempts. An unauthenticated remote client can continue submitting authentication requests on one connection beyond the configured cap, bypassing the deployment's attempt-limiting policy and increasing online guessing opportunity and backend authentication workload. This issue is fixed in version 0.62.6.
- Record
CVE-2026-102825- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-307
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-102825
3.7
Russh is a Rust SSH client and server library. Prior to 0.62.6, the USERAUTH_REQUEST path reached from server::run_stream in russh/src/server/encrypted.rs increments self.common.auth_attempts but never compares it with server::Config.max_auth_attempts. An unauthenticated remote client can continue submitting authentication requests on one connection beyond the configured cap, bypassing the deployment's attempt-limiting policy and increasing online guessing opportunity and backend authentication workload. This issue is fixed in version 0.62.6.
- Record
DEBIAN-CVE-2026-102825- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-g6xm-f9xp-qq35
3.7
Russh: Configured server auth-attempt cap is not enforced in the USERAUTH_REQUEST runtime path
Details
Affected versions and vulnerable location
- Confirmed present on default branch
mainat HEAD0089c89c94753bebbec12b956c07a1cd38740379. - Crate version at HEAD:
0.62.4. - Vulnerable locations on current default branch:
russh/src/server/mod.rs:91(pub max_auth_attempts: usize)russh/src/server/mod.rs:121(defaultmax_auth_attempts: 10)russh/src/server/encrypted.rs:89(USERAUTH_REQUESTdispatch into auth handler path)russh/src/server/encrypted.rs:98(self.common.auth_attempts += 1)russh/src/server/encrypted.rs:53(only runtime read ofauth_attempts, used for initial reject timing, not attempt limiting)
- Default-branch history check did not show a newer merged commit adding enforcement against
config.max_auth_attempts.
Reachability trace verified
- Entry point: exported server API
server::run_streaminrussh/src/server/mod.rs:1049. - Session run loop in
russh/src/server/session.rsprocesses incoming packets and callsreply(...)(server/session.rs:725). replyforwards encrypted packets tosession.server_read_encrypted(...)(server/mod.rs:1221).server_read_encryptedroutesUSERAUTH_REQUESTtoenc.server_read_auth_request(...)(server/encrypted.rs:89).- On each request,
self.common.auth_attempts += 1executes (server/encrypted.rs:98). - No comparison against
self.common.config.max_auth_attemptsis present in this runtime flow.
PoC
Reproduction steps and observed output
I did not run a full server process in this environment because Rust tooling is unavailable. I verified the issue from source and command output on the audited tree.
- Show where
max_auth_attemptsappears:
rtk rg -n "max_auth_attempts" .scratch/russh/russh/src/server/mod.rs .scratch/russh/russh/src/server/encrypted.rs .scratch/russh/russh/src/server/session.rs
Observed:
.scratch/russh/russh/src/server/mod.rs:91: pub max_auth_attempts: usize,
.scratch/russh/russh/src/server/mod.rs:121: max_auth_attempts: 10,
.scratch/russh/russh/src/server/mod.rs:148: .field("max_auth_attempts", &self.max_auth_attempts)
- Show runtime auth-attempt handling:
rtk rg -n "auth_attempts == 0|auth_attempts \\+= 1" .scratch/russh/russh/src/server/encrypted.rs
Observed:
53: let initial_none_rejection_wait_until = if self.common.auth_attempts == 0 {
98: self.common.auth_attempts += 1;
- Show production entrypoint-to-auth path references:
rtk rg -n "pub async fn run_stream|match reply\\(|server_read_encrypted\\(|server_read_auth_request\\(" .scratch/russh/russh/src/server/mod.rs .scratch/russh/russh/src/server/session.rs .scratch/russh/russh/src/server/encrypted.rs
Observed:
.scratch/russh/russh/src/server/encrypted.rs:89: enc.server_read_auth_request(
.scratch/russh/russh/src/server/session.rs:725: match reply(&mut self, &mut handler, &mut pkt).await {
.scratch/russh/russh/src/server/mod.rs:1049:pub async fn run_stream<H, R>(
.scratch/russh/russh/src/server/mod.rs:1221: session.server_read_encrypted(handler, pkt).await
- Toolchain check:
cargo --version
Observed:
/bin/bash: line 1: cargo: command not found
Impact
Attacker model
- Attacker: unauthenticated remote client with TCP reachability to a russh-backed SSH service.
- Preconditions: deployer expects
server::Config.max_auth_attemptsto cap attempts. - Impact: repeated
USERAUTH_REQUESTattempts continue for a single connection beyond configured limit, increasing online guessing opportunity and backend auth workload.
Suggested fix
Enforce max_auth_attempts in the USERAUTH_REQUEST branch before invoking auth-method handlers, and fail closed once threshold is reached.
Concrete patch direction in russh/src/server/encrypted.rs:
if self.common.config.max_auth_attempts > 0
…
- Record
GHSA-g6xm-f9xp-qq35- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-307
- Updated
- 2026-11-02
OSVRHSA-2026:74586
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- Record
RHSA-2026:74586- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-102825
3.7
Russh is a Rust SSH client and server library. Prior to 0.62.6, the USERAUTH_REQUEST path reached from server::run_stream in russh/src/server/encrypted.rs increments self.common.auth_attempts but never compares it with server::Config.max_auth_attempts. An unauthenticated remote client can continue submitting authentication requests on one connection beyond the configured cap, bypassing the deployment's attempt-limiting policy and increasing online guessing opportunity and backend authentication workload. This issue is fixed in version 0.62.6.
- Record
UBUNTU-CVE-2026-102825- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
russhcrates.io |
through 0.62.5 | 0.62.6 |
rust-russhDebian:14 |
before 0.64.1-1, plus listed versions 0.57.1-10.57.1-2 |
0.64.1-1 |
russhcrates.io |
before 0.62.6 | 0.62.6 |
openshellRed Hat:hummingbird:1 From an advisory covering 4 CVEs |
before 0:0.1.2-0.2.hum1 | 0:0.1.2-0.2.hum1 |
openshell-gatewayRed Hat:hummingbird:1 From an advisory covering 4 CVEs |
before 0:0.1.2-0.2.hum1 | 0:0.1.2-0.2.hum1 |
python3-openshellRed Hat:hummingbird:1 From an advisory covering 4 CVEs |
before 0:0.1.2-0.2.hum1 | 0:0.1.2-0.2.hum1 |
rust-russhUbuntu:26.10 |
All versions, plus listed versions 0.57.1-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-102825 is a low vulnerability (CVSS 3.7) in Eugeny Russh, published September 29, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 29th percentile. Fixed in russh 0.62.6.
References
github.com/Eugeny/russh/security/advisories/GHSA-g6xm-f9xp-qq35
github.com/Eugeny/russh/commit/f8fd0b11a393364dc7f01a182482d86adafdd653
github.com/Eugeny/russh/releases/tag/v0.62.6
nvd.nist.gov/vuln/detail/CVE-2026-102825
github.com/advisories/GHSA-g6xm-f9xp-qq35
github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102825.json
Show 31 moreShow less
security-tracker.debian.org/tracker/CVE-2026-102825
github.com/Eugeny/russh
access.redhat.com/errata/RHSA-2026:74586
access.redhat.com/security/cve/CVE-2026-102821
access.redhat.com/security/cve/CVE-2026-102823
access.redhat.com/security/cve/CVE-2026-102824
access.redhat.com/security/updates/classification
images.redhat.com
access.redhat.com/security/cve/CVE-2026-102825
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_74586.json
bugzilla.redhat.com/show_bug.cgi?id=2543501
cve.org/CVERecord?id=CVE-2026-102821
nvd.nist.gov/vuln/detail/CVE-2026-102821
github.com/Eugeny/russh/commit/a282af361ac99bc76b80876d1aae128e89dbf66b
github.com/Eugeny/russh/releases/tag/v0.63.2
github.com/Eugeny/russh/security/advisories/GHSA-35g8-35p8-c8fw
bugzilla.redhat.com/show_bug.cgi?id=2543503
cve.org/CVERecord?id=CVE-2026-102823
nvd.nist.gov/vuln/detail/CVE-2026-102823
github.com/Eugeny/russh/commit/3430fd26ecafc0dc3705210f5f39a9119fa22774
github.com/Eugeny/russh/releases/tag/v0.63.1
github.com/Eugeny/russh/security/advisories/GHSA-47hw-gvq5-r2gm
bugzilla.redhat.com/show_bug.cgi?id=2543498
cve.org/CVERecord?id=CVE-2026-102824
nvd.nist.gov/vuln/detail/CVE-2026-102824
github.com/Eugeny/russh/commit/8da8967f196472576b1565d518a0ed60fce60f0c
github.com/Eugeny/russh/releases/tag/v0.63.0
github.com/Eugeny/russh/security/advisories/GHSA-w3jg-pjxf-73p4
bugzilla.redhat.com/show_bug.cgi?id=2543507
cve.org/CVERecord?id=CVE-2026-102825
ubuntu.com/security/CVE-2026-102825
Left out here: the rest of 2 source descriptions. The JSON record has them.