Vulnerability · Published Nov 4, 2026 · Assigned by GitHub_M
CVE-2026-57565Readest: Cross-tenant object write via unsanitized fileName in /api/storage/upload (object-key path traversal)
Medium 6.5
In plain English
A medium-severity path traversal in readest from readest. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/readest/readest/security/advisories/GHSA-mfmj-2frf-vhgw x_refsource_CONFIRM
- https://github.com/readest/readest/pull/4638 x_refsource_MISC
- https://github.com/readest/readest/commit/495783d04516d05b2eb10f8f8bad297d436b36de x_refsource_MISC
- https://github.com/readest/readest/releases/tag/v0.11.10 x_refsource_MISC