Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with valid Readest token
-
DeliveryKnow target user id and book hash
-
ExploitPOST upload with ../ traversal in fileName
-
ExecutionReceive presigned PUT into victim namespace
-
PersistPUT malicious EPUB overwriting victim object
-
ImpactVictim syncs/opens poisoned book
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated Readest account/token (PR:L) and the hosted R2 storage backend, where the cross-tenant escape is verified; the flaw lives in the /api/storage/upload route which builds the object key as |
| Impact | This is a moderate, authentication-gated data-integrity issue rather than a top-tier emergency. The provided CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N (6.5) is internally consistent with the evidence: the flaw is reachable over the network via the /api/storage/upload API route (AV:N), requires only a valid Readest account token (PR:L), needs no user interaction (UI:N), and yields integrity-only impact (C:N/I:H/A:N) because the attacker can overwrite/poison another tenant's stored book object but gains no read access or availability denial. No EPSS score is provided, and the CVE is NOT in CISA KEV, so there is no signal of active exploitation. A public PoC reference exists in the GHSA advisory (a sample POST request plus a follow-up PUT); it is not verified as working exploit code. The vuln.today Decision label is 'this_month', consistent with a prioritized-but-not-urgent fix. A notable nuance from the evidence: the cross-tenant escape is CONFIRMED only for the R2 storage backend (whose WHATWG URL parser collapses '../' before SigV4 signing); the advisory states the missing validation is a defect on any backend but the exact escape depends on whether that backend's signer normalizes '..', so impact on non-R2 backends is unverified. Targeting a specific victim also requires prior knowledge of the victim's user id and the shared book hash, which tempers real-world exploitability toward targeted abuse rather than opportunistic mass exploitation. |
| Exploit ScenarioDerived | An authenticated Readest user sends a POST to /api/storage/upload with a fileName such as '../<victimUserId>/Readest/Book/<bookHash>/book.epub'; the server concatenates it into the object key and returns a presigned PUT URL that, after URL normalization, resolves into the victim's namespace. The attacker then PUTs a malicious or garbage EPUB to that URL, so when the victim next syncs or opens the book they receive the attacker-controlled file. A public PoC reference demonstrating this request exists in the GitHub advisory, though it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Cross-tenant object write in Readest (versions prior to 0.11.10, including 0.11.4) lets an authenticated user overwrite or poison another user's stored book object in the hosted R2 backend. The /api/storage/upload route builds the storage key as ${user.id}/${fileName} from a fully client-controlled fileName without rejecting path separators or '..', and the R2 signer interpolates that key into a new Request() URL whose parser collapses parent-directory segments before SigV4 signing - so a fileName like '../<victimId>/Readest/Book/<hash>/book.epub' yields a valid presigned PUT into the victim's namespace. Exploitation requires a valid account/token (PR:L), the R2 backend (the escape was verified only there), and, to hit a specific object, knowledge of the victim's user id and content-derived book hash; impact is integrity-only plus corruption of the file_key metadata. No KEV listing or public working exploit is confirmed - a public PoC reference exists in the GitHub advisory; it is not verified as working exploit code - and the issue is fixed in 0.11.10.
RemediationAI
Upgrade to Readest 0.11.10, which rejects traversing fileNames in /api/storage/upload with a 400 before any presigned URL is requested; the fix is carried by PR https://github.com/readest/readest/pull/4638 and commit 495783d04516d05b2eb10f8f8bad297d436b36de, with details in advisory https://github.com/readest/readest/security/advisories/GHSA-mfmj-2frf-vhgw. For deployments that cannot upgrade immediately, apply the vendor's own remediation logic at the edge or in a patched fork: validate and normalize fileName before key construction, rejecting values containing '/', '\', '..', or URL-encoded traversal, or whitelisting to the expected Readest/Book/<hash>/<allowed-name> structure; construct the object key server-side from server-derived components (userId + validated bookHash + fixed filename) rather than concatenating a client string; and reject any key that does not still begin with the caller's ${user.id}/ prefix after normalization. Note that the temp-image branch (temp/img/${timeStr}/${userStr}/${fileName}) needs the same guard, and that deployments on non-R2 backends are unverified for the escape but should be patched identically since the missing validation is backend-independent. Because an injected file_key may already exist in the files table, review or rebuild affected keys and treat overwritten book objects as untrusted content until re-synced.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Readest is a Next.js ebook reader; the affected handler is apps/readest-app/src/pages/api/storage/upload.ts, which authenticates the caller via a bearer token (validateUserAndToken), then composes the object key directly from the authenticated user id and a client-supplied fileName with no character, separator, or '..' validation - including on the temp-image branch that builds temp/img/${timeStr}/${userStr}/${fileName}. The key flows unmodified into getUploadSignedUrl in apps/readest-app/src/utils/r2.ts, which interpolates it into a new Request(${r2Url}/${bucketName}/${fileKey}?X-Amz-Expires=...) and signs with aws signQuery. The WHATWG URL parser normalizes dot segments before the request is created, so bucket/<attackerId>/../<victimId>/... collapses to bucket/<victimId>/... and the SigV4 signature is computed over the already-escaped path, authorizing the traversal. The root cause class is CWE-22 path traversal, with a CWE-639 user-controlled key authorization bypass: the server trusts a client-supplied path fragment instead of deriving the key from server-side components, and the resulting (possibly traversing) key is also persisted into the files table as file_key, corrupting the metadata index. The advisory notes that the other storage routes (download/delete/purge/list/stats) do enforce .eq('user_id', user.id) ownership, making this upload path the outlier; the exact cross-tenant escape is confirmed only against the R2 signer, whose '..'-collapsing behavior is the enabling mechanism, whereas the missing validation is a defect on any backend.
Know when Readest gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Network API route reachable by any authenticated user (AV:N/PR:L/UI:N), integrity-only cross-tenant overwrite (C:N/I:H/A:N); AC:L since broad key poisoning needs no victim-specific knowledge.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Unauthenticated server-side request forgery in Readest's /api/opds/proxy route (all versions before 0.11.10) lets remote
Arbitrary code execution is achievable in Readest versions prior to 0.11.16 by embedding a malicious EPUB file that bypa
Desktop Tauri builds of Readest before 0.11.10 register the custom IPC commands download_file and upload_file globally f
Subscription and entitlement bypass in Readest before 0.11.10 lets any authenticated free user replay a paid Stripe Chec
EUVD-2026-117185
NVD
CVE.org
EPSS
GitHub
Exploit-DB