Skip to main content

Zipline EUVDEUVD-2026-124145

| CVE-2026-126935 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-11-11 VulnCheck GHSA-9m43-j2p8-v7v3
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain link to a maxViews-limited file
  2. Exploit
    Issue many parallel /raw requests with distinct User-Agents
  3. Execution
    All requests read same pre-increment view count and pass check
  4. Impact
    Retrieve file multiple times beyond maxViews limit

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires a file that was uploaded with a view limit set (the maxViews feature, e.g. x-zipline-max-views, especially combined with the deleteOnMaxViews config feature); files without maxViews are unaffected. The attacker must already hold the file's link, and must send multiple concurrent/parallel requests to /raw/[id] to hit the non-atomic time-of-check/time-of-use window before any view increment commits; using distinct User-Agent values defeats the 5-second ip+user-agent+fileId view de-duplication and makes the bypass deterministic. Limiting factors: no impact on files that do not use maxViews, impact is bounded to the single file whose link the attacker already possesses, no other users' data is exposed, and no authentication is bypassed - so realistic risk is confined to defeating the self-destruct/one-time-view guarantee.

Impact

Signals are consistent and point to a genuine-but-moderate priority. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:L) scores 6.3 (medium): network-reachable and requiring no privileges or user interaction, but carrying an Attack Requirement (AT:P) that reflects the need to win a concurrency race via parallel requests, and only limited confidentiality impact (VC:L) with no integrity or availability impact. The vuln.today decision label is 'this_month' (not act_now/emergency), which fits the profile. No EPSS score was provided, so statistical exploitation probability cannot be weighed. The CVE is not listed in CISA KEV, so there is no evidence of active exploitation - treat this as not-actively-exploited at time of analysis. A detailed, reproduced PoC is published in the vendor GHSA advisory (upload a maxViews=1 file, then fire 15 parallel requests with distinct User-Agents - the advisory shows 4 successful 200 responses), so a working reproduction exists publicly, though it is a demonstration against localhost rather than packaged standalone weaponized exploit code. The real-world risk ceiling is low: the attacker must already possess the file link, impact is bounded to that single view-limited file, and no other user's data is exposed. This is a legitimate integrity break of the 'burn after N views' / self-destruct guarantee rather than a high-impact system compromise.

Exploit ScenarioDerived

A user shares a one-time-secret file using Zipline's maxViews=1 (optionally with deleteOnMaxViews) expecting it to be viewable only once. Anyone holding that link fires many parallel HTTP requests to /raw/<id> with distinct User-Agent values; because the view count is read, checked, and incremented non-atomically, several requests pass the check before any increment commits and the file is served multiple times. The vendor GHSA advisory includes a reproduced PoC that served a maxViews=1 file 4 times under parallelism of 15.

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

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

Alert me

AnalysisAIv1 – Nov 11, 2026

Concurrent requests to Zipline's /raw/[id] endpoint can exceed a file's maxViews limit, breaking the 'burn after N views' guarantee for uploads configured with x-zipline-max-views, including those covered by the deleteOnMaxViews feature. The route reads the current view count, decides whether to serve, and increments the counter as separate, non-atomic steps, so parallel requests that all read the same pre-increment value pass the check before any UPDATE commits; distinct User-Agent values defeat the 5-second ip+user-agent+fileId de-duplication cache and make the bypass deterministic - the vendor advisory's reproduction against 4.7.0 served a maxViews=1 file four times out of fifteen parallel requests. Impact is bounded: the requester must already hold the file link, no other users' data is exposed and no authentication is bypassed, which is why the independent assessment scores it CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N rather than the CVSS 4.0 score of 6.3 in the CVE record; a public proof-of-concept is published in the GitHub security advisory and was reproduced against 4.7.0, and there is no KEV-listed active exploitation.

RemediationAI

Upgrade to Zipline 4.8.0 or later (release notes: https://github.com/diced/zipline/releases/tag/v4.8.0); the vendor reports a patch is available and the fix is contained in commit 1770479d6795ea8700f0ce6ba08a1654d3644c73 (https://github.com/diced/zipline/commit/1770479d6795ea8700f0ce6ba08a1654d3644c73), which replaces the check-then-increment logic with a single conditional UPDATE that only increments while views < maxViews. The advisory at https://github.com/diced/zipline/security/advisories/GHSA-7xv9-wr46-j578 documents no separate workaround and presents updating as the complete fix, so until 4.8.0 is deployed operators should not treat maxViews or deleteOnMaxViews as a strict one-time-view or self-destruct guarantee for sensitive shares - with the trade-off that this removes the burn-after-reading property entirely rather than restoring it, and the underlying exposure remains for anyone holding a link to an already view-limited file. Note that a public proof-of-concept and reproduction steps are published in the advisory, so the trigger is trivially repeatable by anyone with a link; exploitation requires only parallel requests to /raw/[id] with varying User-Agent values, and no credentials beyond link possession.

Affected VersionsENISA

zipline 0 <4.8.0

Affected Packages

euvd zipline fix: 4.8.0

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

Zipline is a self-hosted file upload and sharing server built on a TypeScript/Node stack with Drizzle ORM over a SQL database. The vulnerable handler in src/server/routes/raw/[id].ts computes a 'future' view value in memory (updatedViews = file.views + 1), compares it against file.maxViews, and only afterward issues an asynchronous UPDATE that increments the counter. This is a classic CWE-367 time-of-check to time-of-use race: there is no row lock and no atomic compare-and-decrement, so concurrent requests all read views=0, all compute updatedViews=1, all evaluate 1 > 1 as false, and all serve the payload before any increment lands. The advisory also notes a secondary workflow-enforcement weakness (CWE-841) because the view-counting code path is additionally de-duplicated per ip + user-agent + fileId for a 5-second VIEW_WINDOW, which an attacker trivially sidesteps by rotating User-Agent strings. The upstream fix restructures the logic so that the enforcement itself is atomic: it performs an UPDATE ... SET views = views + 1 WHERE id = ? AND views < maxViews with RETURNING, and returns 404 (optionally deleting the file when deleteOnMaxViews is enabled) if no row was returned; per-request view-statistics de-duplication is now applied only to files that have no maxViews limit. The vendor's own note in the source package metadata lists <= 4.7.0 as vulnerable with the fix landing in 4.8.0.

Know when Zipline 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 (VulnCheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network-reachable with no privileges or interaction (PR:N/UI:N), but AC:H reflects the required parallel-request race window; only limited file disclosure (C:L), no integrity or availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Zipline before 4.8.0 contains a race condition vulnerability in src/server/routes/raw/[id].ts that allows remote attackers to bypass file maxViews limits through non-atomic view counting. Attackers holding a file link can send parallel requests that read the same pre-increment count, viewing view-limited or delete-on-max-views files beyond their limit.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
self-hosted hobbyist ShareX-style file host, small deployment 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 0.3%
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
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-126945 CRITICAL
9.3 Nov 13

Stored cross-site scripting in Zipline before 4.5.1 lets an authenticated user with upload rights plant HTML/JavaScript

CVE-2026-126937 CRITICAL
9.2 Nov 13

Zipline before 4.6.5 performs the initial-setup flag check, SUPERADMIN creation and flag reset in POST /api/setup as thr

CVE-2026-126952 CRITICAL
9.2 Nov 13

Authentication bypass in Zipline through 4.4.0 allows unauthenticated remote attackers to obtain a session for a targete

CVE-2026-126948 HIGH
8.7 Nov 13

Zipline before 4.5.0 lets any authenticated user rename, publish, enable uploads on, or delete another user's folders by

CVE-2026-126941 HIGH
8.2 Nov 13

Zipline through 4.6.2 fails to enforce its canInteract role gate on the GET /api/users and GET /api/users/:id routes, so

CVE-2025-71459 HIGH
7.2 Nov 13

Authenticated uploaders on Zipline instances using the local datasource can exploit path traversal in the x-zipline-file

CVE-2026-126938 HIGH
7.1 Nov 13

Disk-space exhaustion in Zipline before 4.6.4 lets any authenticated user with a valid upload token defeat the chunked-u

CVE-2026-126949 HIGH
7.0 Nov 13

Authenticated file overwrite in Zipline through 4.4.0 lets a user with a valid token replace existing uploads when the L

CVE-2026-134805 HIGH
7.0 Nov 22

Server-side request forgery in Zipline before 4.8.3 allows an authenticated OIDC user to make the server fetch an arbitr

CVE-2026-126950 HIGH
7.0 Nov 13

Authenticated users with file-upload permission on Zipline instances at or below 4.4.0 can delete arbitrary files on the

CVE-2026-126951 MEDIUM
6.9 Nov 13

Authenticated path traversal in Zipline through 4.4.0 lets any logged-in user with a valid token read arbitrary files fr

CVE-2026-126943 MEDIUM
6.9 Nov 13

Zipline 4.2.0 through 4.6.1 prints unredacted environment-variable-supplied configuration values, including OAuth2 clien

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