# CVE-2026-52733: ZEBRA: Persistent on-disk corruption of Sapling/Orchard subtree roots after chain fork via pop\_tip

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.44% (percentile 30, 2026-11-28)
- **CWE:** CWE-459, CWE-672
- **Aliases:** GHSA-2gf8-q9rr-jq3h
- **Published:** 2026-07-02T20:11:36.000Z
- **Modified:** 2026-11-09T20:10:00.200Z

## Who should check

- Projects that depend on crates.io package zebra-state (\< 7.0.0)
- Projects that depend on crates.io package zebrad (\< 4.5.0)
- Anyone running ZcashFoundation zebra \< 4.5.0
- Anyone running ZcashFoundation zebra-state \< 7.0.0

## Description

ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5.0, a natural or attacker-influenced chain fork can leave stale Sapling and Orchard note-commitment subtree roots in Zebra state. In zebra-state/src/service/non\_finalized\_state/chain.rs, Chain::pop\_tip removed a reverted tip block but did not remove subtree entries whose end\_height belonged to that block, unlike the cleanup performed by pop\_root. When the winning fork later finalized, the abandoned branch's stale subtree data could be written to RocksDB and survive node restarts. The corrupted history can cause z\_getsubtreesbyindex consumers such as lightwalletd and light wallets to receive incorrect subtree roots, producing wallet synchronization failures or incorrect wallet state and requiring a full state rebuild for recovery. This issue is fixed in version 4.5.0.

## Affected and fixed versions

- crates.io `zebra-state`: affected \< 7.0.0; fixed 7.0.0 (osv)
- crates.io `zebrad`: affected \< 4.5.0; fixed 4.5.0 (osv)
- ZcashFoundation zebra: \< 4.5.0 (cvelist)
- ZcashFoundation zebra-state: \< 7.0.0 (cvelist)

## Mitigation

- Upgrade zebra-state to 7.0.0 or later.
- Upgrade zebrad to 4.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52733. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52733.md
Affected: zebra-state < 7.0.0; zebrad < 4.5.0
Fixed in: 7.0.0, 4.5.0

Steps:
1. Search this machine and project for zebra-state (crates.io), zebrad (crates.io), ZcashFoundation zebra, ZcashFoundation zebra-state: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52733 being exploited?

There is no confirmed exploitation: CVE-2026-52733 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-52733?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-52733?

zebra-state \< 7.0.0; zebrad \< 4.5.0.

### Is there a fix for CVE-2026-52733?

Yes. Fixed in 7.0.0, 4.5.0. Upgrade zebra-state to 7.0.0 or later. Upgrade zebrad to 4.5.0 or later.

### How do I check if I'm affected by CVE-2026-52733?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-2gf8-q9rr-jq3h>
- patch: <https://github.com/ZcashFoundation/zebra/commit/1440b43ca7df59aca948090d45117557b217a6cd>
- other: <https://github.com/ZcashFoundation/zebra/releases/tag/v4.5.0>
- other: <https://github.com/ZcashFoundation/zebra>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52733>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2gf8-q9rr-jq3h> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-52733> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52733>
