Skip to main content

Zipline CVE-2026-126937

| EUVDEUVD-2026-125128 CRITICAL
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-11-13 VulnCheck GHSA-jc78-2hw2-8h3g
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach fresh instance before setup wizard completes
  2. Delivery
    Assign distinct spoofed X-Forwarded-For per request
  3. Exploit
    Flood concurrent POST /api/setup during argon2 window
  4. Execution
    Multiple requests pass firstSetup check, create SUPERADMINs
  5. Persist
    Authenticate as attacker SUPERADMIN
  6. Impact
    Full control over files, users, and configuration

Vulnerability Assessment

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

Requires a fresh Zipline installation whose initial web-UI setup wizard has not yet been completed (firstSetup=true); the attack window opens when the server starts and closes the moment a legitimate administrator finishes setup, so the endpoint is only reachable during this initial-provisioning period. No authentication, existing account, or victim interaction is needed. Reliable exploitation also requires winning the argon2 hashing race (~100-500 ms) with multiple concurrent requests, and the per-IP rate limiter (1 req/5 s) must be bypassed by assigning a distinct spoofed X-Forwarded-For header to each request - which the advisory states is effective when CORE_TRUST_PROXY=true, the default in reverse-proxy deployments. Key limiting factors: the narrow initial-setup time window, the timing/race dependency (AC:H/AT:P), and reliance on trust-proxy configuration for the rate-limiter bypass.

Impact

The CVSS 4.0 base score of 9.2 is driven by AV:N (network-reachable endpoint), PR:N and UI:N (no authentication or victim interaction), and full vulnerable-system impact VC:H/VI:H/VA:H (attacker gains SUPERADMIN control). The two metrics that temper raw severity are AC:H and AT:P: exploitation is not a trivial single request but requires winning a TOCTOU race during the ~100-500 ms argon2 hashing window, a timing-dependent condition the advisory explicitly describes. The vuln.today decision label is act_now and a patch (4.6.5) is available, so this should be prioritized for any freshly deployed instance. A detailed public PoC (poc.py) exists and the advisory documents a confirmed live reproduction (11 SUPERADMIN accounts created in a 444 ms window), so exploitability is proven, not theoretical. However, this is NOT in CISA KEV and no EPSS score was provided, so there is no evidence of widespread opportunistic exploitation yet. The practical risk is sharply bounded by the exposure window: the flaw is only reachable on a fresh install before the legitimate administrator completes the setup wizard, which materially limits the population of exploitable targets at any given time. Note also that the input tag 'Information Disclosure' mischaracterizes this issue - the actual impact is unauthenticated administrative account creation / full instance takeover, not primarily disclosure.

Exploit ScenarioDerived

An attacker who can reach a newly deployed Zipline instance before its operator finishes the web setup wizard floods POST /api/setup with many simultaneous requests, each carrying a distinct spoofed X-Forwarded-For header to defeat the per-IP rate limiter. Because the firstSetup check, user creation, and flag reset are non-atomic, every request that lands during the argon2 hashing window passes the check and creates its own SUPERADMIN account. A working PoC exists and a live run produced 11 SUPERADMIN accounts; the attacker then logs in with any of them (AV:N but AC:H/AT:P, so success depends on hitting the race window).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Zipline before 4.6.5 performs the initial-setup flag check, SUPERADMIN creation and flag reset in POST /api/setup as three separate non-atomic database operations, so concurrent unauthenticated requests sent during the argon2 hashing window (~100-500 ms) all observe firstSetup=true and each create its own SUPERADMIN account. Any of those accounts then authenticates normally and yields full administrative control of the instance - file and user data access, creation or demotion of other administrators, and complete reconfiguration. A public proof-of-concept reference exists (20 synchronized threads with spoofed X-Forwarded-For headers produced 11 SUPERADMIN accounts in a 444 ms window against 4.6.4) but it is not verified as working exploit code from an independent source; exploitation is constrained to a freshly deployed instance whose setup wizard has not yet been completed, and the rate-limiter bypass relies on CORE_TRUST_PROXY=true, the default in reverse-proxy deployments. The vendor has released a patch.

RemediationAI

Vendor-released patch: upgrade Zipline to 4.6.5, which serializes the initial-setup sequence so the firstSetup check, SUPERADMIN creation and flag reset occur atomically; the advisory's recommended implementation wraps the whole sequence in a Prisma interactive transaction guarded by a PostgreSQL advisory lock (pg_advisory_xact_lock) so only one contender can create the first administrator. Patch details are in https://github.com/diced/zipline/security/advisories/GHSA-wgjv-p9mm-qw77. Until the upgrade is deployed, the exposure is limited to instances that have not finished their initial setup wizard, so the most effective compensating control is to complete the legitimate setup immediately after deployment (or bootstrap the administrator before the instance is reachable), which closes the window because the handler then rejects requests with ApiError 9001 - the trade-off is that setup must be performed by a trusted operator on a management network rather than by whoever reaches the instance first. Restricting network access to POST /api/setup (firewall rules, reverse-proxy allowlisting, or binding the service to localhost during provisioning) removes the race precondition but requires the operator to have a controlled path for the setup wizard. Setting CORE_TRUST_PROXY=false or ensuring the proxy overwrites rather than appends X-Forwarded-For removes the per-IP rate-limiter bypass, but it does not eliminate the race itself and can break client-IP logging or per-IP limits in proxied deployments. No other vendor-stated workaround is provided.

Affected VersionsENISA

zipline 0 <4.6.5

Affected Packages

euvd zipline fix: 4.6.5

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 Node.js with Fastify routes and Prisma over PostgreSQL; the initial provisioning endpoint lives in src/server/routes/api/setup.ts. CWE-367 (Time-of-Check Time-of-Use) arises here because getZipline() reads the firstSetup flag through an unlocked prisma.zipline.findFirst() (src/lib/db/models/zipline.ts:6), the handler then performs a non-atomic conditional check (if (!firstSetup) throw new ApiError(9001)), calls prisma.user.create with role 'SUPERADMIN', and only afterwards issues prisma.zipline.update to set firstSetup=false. Because argon2 password hashing suspends the async handler and yields the Node.js event loop, every request that enters during that hashing window passes the stale check and independently reaches the user-creation step; no database transaction, advisory lock, or unique constraint on role=SUPERADMIN (prisma/schema.prisma:243-246) serializes the sequence. The endpoint is registered without an authentication preHandler and is publicly reachable on every fresh install. The only throttling is secondlyRatelimit(5) (1 request per 5 seconds per IP, src/lib/ratelimits.ts:1), which is defeated by giving each concurrent request a distinct spoofed X-Forwarded-For value when CORE_TRUST_PROXY=true. The assessed vector (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects the high attack complexity of the race and the untouched-scope, full-confidentiality/integrity/availability impact once SUPERADMIN is obtained.

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 9.2 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

AV:N and PR:N/UI:N for unauthenticated remote reach; AC:H because success depends on winning the timing-bound argon2 race; SUPERADMIN takeover gives C:H/I:H/A:H, scope unchanged.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 10:02 EUVD
CVE Published
Nov 13, 2026 - 09:34 cve.org
CRITICAL 9.2

DescriptionCVE.org

Zipline before 4.6.5 contains a TOCTOU race condition in the POST /api/setup endpoint that allows unauthenticated attackers to create multiple SUPERADMIN accounts by racing concurrent requests before the firstSetup flag is reset. Attackers can send simultaneous requests with spoofed X-Forwarded-For headers during the argon2 hashing window to gain full administrative control of the instance.

Technical POC Analysis

Evidence source: GHSA-wgjv-p9mm-qw77.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-126937 is a critical vulnerability in Zipline versions before 4.6.5 that allows unauthenticated attackers to create multiple SUPERADMIN accounts during initial setup, granting full administrative control of the instance. This impacts any newly deployed Zipline instance that has not completed its setup wizard, potentially exposing sensitive file and user data and allowing complete reconfiguration. Leadership should prioritize patching immediately, as the vulnerability can be exploited with publicly available proof-of-concept reference and requires minimal effort.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche self-hosted file-upload/ShareX server, hobbyist deployments, no enterprise footprint
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

CVE-2026-126939 MEDIUM
6.9 Nov 13

Unauthenticated file enumeration in Zipline 4.6.3 and earlier exposes the contents of upload-only, non-public folders th

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