CVE-2026-57565Readest: Cross-tenant object write via unsanitized fileName in /api/storage/upload (object-key path traversal)
Readest is a modern, feature-rich ebook reader designed for seamless cross-platform access and an intuitive reading experience. Prior to 0.11.10, the apps/readest-app/src/pages/api/storage/upload.ts route constructed an object key from the authenticated user's identifier and a client-controlled fileName without rejecting path separators or parent-directory traversal. In the R2 backend, apps/readest-app/src/utils/r2.ts placed that key into a new Request URL before signing it, and URL normalization collapsed parent-directory components so the resulting presigned PUT could escape the caller's namespace. An authenticated attacker who knew a target user identifier and book hash could overwrite or poison that user's stored book object and corrupt the associated file_key metadata; the exact cross-tenant escape was verified for the R2 backend. This issue is fixed in version 0.11.10.
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 6.5 | MEDIUM | 3.1GitHub_M (CNA) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Details
- CVE ID
- CVE-2026-57565
- Status
- Received
- Assigner (CNA)
- GitHub_M
- Published
- Nov 4, 2026
- Last modified
- 2026-11-05 20:17 UTC
- Weaknesses
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
As published by the CNA in the CVE record.
readestreadest1 version range
- < 0.11.10
References
- github.com https://github.com/readest/readest/commit/495783d04516d05b2eb10f8f8bad297d436b36de
- github.com https://github.com/readest/readest/pull/4638
- github.com https://github.com/readest/readest/releases/tag/v0.11.10
- github.com https://github.com/readest/readest/security/advisories/GHSA-mfmj-2frf-vhgw