CVE-2026-41585: Zebra rpc Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-29x4-r6jv-ff4w
CVSS 6.5
CWE-617 CWE-248
Published
Advisory Summary

CVE-2026-41585 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-617: Reachable Assertion) affecting Zebra rpc libraries in the crates.io ecosystem. The issue involves zebra vulnerable to denial of service via interrupted json-rpc requests from authenticated clients. Remediation is available by upgrading affected packages to version 6.0.2, 4.3.1.

CVE-2026-41585 at a Glance

CVE Identifier CVE-2026-41585
GHSA Identifier GHSA-29x4-r6jv-ff4w
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-617: Reachable Assertion
Affected Product Zebra rpc
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-41585

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

zebra-rpc fixed: 6.0.2
Upgrade zebra-rpc to 6.0.2
zebrad fixed: 4.3.1
Upgrade zebrad to 4.3.1
Verify Direct and Transitive Dependencies

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

inspect dependencies for zebra-rpc

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-41585, inspect your project dependencies for Zebra rpc:

inspect dependencies for zebra-rpc

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

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-617: Reachable Assertion, where the product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. In Zebra rpc, 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

A vulnerability in Zebra's JSON-RPC HTTP middleware allows an authenticated RPC client to cause a Zebra node to crash by disconnecting before the request body is fully received. The node treats the failure to read the HTTP request body as an unrecoverable error and aborts the process instead of returning an error response. ## Severity **Moderate** - This is a Denial of Service (DoS) that requires a client capable of passing Zebra's cookie authentication, which is enabled by default. ## Affected Versions - `zebrad`: versions from **2.2.0** up to (but not including) **4.3.1** - `zebra-rpc`: versions from **1.0.0-beta.45** up to (but not including) **6.0.2** ## Description Zebra's JSON-RPC HTTP middleware treated a failure to read the incoming HTTP request body as an unrecoverable error, aborting the process rather than returning an error response. A client that disconnected after sending only part of a request body, for example, by resetting the TCP connection mid-transfer, was sufficient to trigger the crash. The vulnerability could be exploited only by authenticated RPC clients. Nodes running the shipped defaults, with RPC bound to localhost and cookie authentication on, were not vulnerable. ## Impact **Denial of Service** * **Attack Vector:** Network, authenticated (requires a valid RPC cookie when cookie authentication is enabled). * **Effect:** Immediate crash of the Zebra node. * **Scope:** Any node whose RPC interface is reachable by a client with valid credentials, or any node with cookie authentication disabled and an exposed RPC interface. ## Fixed Versions This issue is fixed in **Zebra 4.3.1** (crate `zebra-rpc` 6.0.2). The fix propagates failures to read the HTTP request body as ordinary error responses, so Zebra now rejects truncated or interrupted requests rather than crashing. ## Mitigation Users should upgrade to **Zebra 4.3.1** or later. If an immediate upgrade is not possible, users should ensure their RPC port is not exposed to untrusted networks and that cookie authentication remains enabled (the default). ## References * [Zebra 4.3.1 Release Announcement](https://zfnd.org/) ## Credits Thanks to [shieldedonly](https://github.com/shieldedonly) who discovered this issue and reported it via our coordinated disclosure process.

CVE-2026-41585 Affected Zebra rpc Versions

2 component(s)
Fixed Versions:
6.0.24.3.1
Product / Package Ecosystem Affected Versions Fixed Version
zebra-rpc
crates.io
≥ 1.0.0-beta.45
< 6.0.2
6.0.2
zebrad
crates.io
≥ 2.2.0
< 4.3.1
4.3.1

References

Frequently Asked Questions

What is CVE-2026-41585?
CVE-2026-41585 is a security vulnerability in Zebra rpc involving Zebra Vulnerable to Denial of Service via Interrupted JSON-RPC Requests from Authenticated Clients under CWE-617: Reachable Assertion.
Which Zebra rpc versions are affected?
Affected versions include releases prior to 6.0.2, 4.3.1 across affected packages: zebra-rpc, zebrad.
What version fixes CVE-2026-41585?
Upgrading to 6.0.2, 4.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zebra-rpc affected?
Yes, zebra-rpc is affected in releases prior to 6.0.2. Upgrade your dependency to 6.0.2 or later.
Is zebrad affected?
Yes, zebrad is affected in releases prior to 4.3.1. Upgrade your dependency to 4.3.1 or later.
What is the CVSS score of CVE-2026-41585?
CVE-2026-41585 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-41585?
CVE-2026-41585 is classified under CWE-617: Reachable Assertion (The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.).
How can I check crates.io dependencies for CVE-2026-41585?
Run the dependency tree command: 'inspect dependencies for zebra-rpc'. 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-29x4-r6jv-ff4w",
  "modified" : "2026-05-12T13:33:49Z",
  "published" : "2026-04-18T01:15:10Z",
  "aliases" : [ "CVE-2026-41585" ],
  "summary" : "Zebra Vulnerable to Denial of Service via Interrupted JSON-RPC Requests from Authenticated Clients",
  "details" : "A vulnerability in Zebra's JSON-RPC HTTP middleware allows an authenticated RPC client to cause a Zebra node to crash by disconnecting before the request body is fully received. The node treats the failure to read the HTTP request body as an unrecoverable error and aborts the process instead of returning an error response.\n\n## Severity\n**Moderate** - This is a Denial of Service (DoS) that requires a client capable of passing Zebra's cookie authentication, which is enabled by default.\n\n## Affected Versions\n- `zebrad`: versions from **2.2.0** up to (but not including) **4.3.1**\n- `zebra-rpc`: versions from **1.0.0-beta.45** up to (but not including) **6.0.2**\n\n## Description\n\nZebra's JSON-RPC HTTP middleware treated a failure to read the incoming HTTP request body as an unrecoverable error, aborting the process rather than returning an error response. A client that disconnected after sending only part of a request body, for example, by resetting the TCP connection mid-transfer, was sufficient to trigger the crash. The vulnerability could be exploited only by authenticated RPC clients. Nodes running the shipped defaults, with RPC bound to localhost and cookie authentication on, were not vulnerable.\n\n## Impact\n**Denial of Service**\n* **Attack Vector:** Network, authenticated (requires a valid RPC cookie when cookie authentication is enabled).\n* **Effect:** Immediate crash of the Zebra node.\n* **Scope:** Any node whose RPC interface is reachable by a client with valid credentials, or any node with cookie authentication disabled and an exposed RPC interface.\n\n## Fixed Versions\nThis issue is fixed in **Zebra 4.3.1** (crate `zebra-rpc` 6.0.2).\n\nThe fix propagates failures to read the HTTP request body as ordinary error responses, so Zebra now rejects truncated or interrupted requests rather than crashing.\n\n## Mitigation\nUsers should upgrade to **Zebra 4.3.1** or later.\n\nIf an immediate upgrade is not possible, users should ensure their RPC port is not exposed to untrusted networks and that cookie authentication remains enabled (the default).\n\n## References\n* [Zebra 4.3.1 Release Announcement](https://zfnd.org/)\n\n## Credits\nThanks to [shieldedonly](https://github.com/shieldedonly) who discovered this issue and reported it via our coordinated disclosure process.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "zebra-rpc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0-beta.45"
      }, {
        "fixed" : "6.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "zebrad"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.2.0"
      }, {
        "fixed" : "4.3.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-29x4-r6jv-ff4w"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41585"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ZcashFoundation/zebra"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-248", "CWE-617" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-18T01:15:10Z",
    "nvd_published_at" : "2026-05-08T15:16:41Z"
  }
}