Skip to main content

Readest CVE-2026-57565

| EUVDEUVD-2026-117185 MEDIUM
Path Traversal (CWE-22)
2026-11-04 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with valid Readest token
  2. Delivery
    Know target user id and book hash
  3. Exploit
    POST upload with ../ traversal in fileName
  4. Execution
    Receive presigned PUT into victim namespace
  5. Persist
    PUT malicious EPUB overwriting victim object
  6. Impact
    Victim 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 ${user.id}/${fileName} from an unsanitized, client-controlled fileName, so supplying '../' traversal escapes the caller's namespace. To poison a specific victim's book the attacker must additionally know that victim's user id and the content-derived book hash (broad poisoning of attacker-chosen keys does not need a victim). Limiting factors: exploitation depends on the R2/new Request signer collapsing '..' before signing (unverified on other backends), impact is integrity-only (overwrite/poison plus corrupted file_key metadata), and the issue is fixed in 0.11.10 where the handler rejects traversing fileNames before presigning.

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

readest < 0.11.10

Affected Packages

euvd readest fix: 0.11.10

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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Nov 04, 2026 - 23:02 EUVD

DescriptionCVE.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

EPSS Score
1.0%
Top 36% exploitable
Prevalence
Low
niche open-source cross-platform ebook reader, limited production footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy