Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach fresh instance before setup wizard completes
-
DeliveryAssign distinct spoofed X-Forwarded-For per request
-
ExploitFlood concurrent POST /api/setup during argon2 window
-
ExecutionMultiple requests pass firstSetup check, create SUPERADMINs
-
PersistAuthenticate as attacker SUPERADMIN
-
ImpactFull 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Stored cross-site scripting in Zipline before 4.5.1 lets an authenticated user with upload rights plant HTML/JavaScript
Authentication bypass in Zipline through 4.4.0 allows unauthenticated remote attackers to obtain a session for a targete
Zipline before 4.5.0 lets any authenticated user rename, publish, enable uploads on, or delete another user's folders by
Zipline through 4.6.2 fails to enforce its canInteract role gate on the GET /api/users and GET /api/users/:id routes, so
Authenticated uploaders on Zipline instances using the local datasource can exploit path traversal in the x-zipline-file
Disk-space exhaustion in Zipline before 4.6.4 lets any authenticated user with a valid upload token defeat the chunked-u
Authenticated file overwrite in Zipline through 4.4.0 lets a user with a valid token replace existing uploads when the L
Server-side request forgery in Zipline before 4.8.3 allows an authenticated OIDC user to make the server fetch an arbitr
Authenticated users with file-upload permission on Zipline instances at or below 4.4.0 can delete arbitrary files on the
Authenticated path traversal in Zipline through 4.4.0 lets any logged-in user with a valid token read arbitrary files fr
Zipline 4.2.0 through 4.6.1 prints unredacted environment-variable-supplied configuration values, including OAuth2 clien
Unauthenticated file enumeration in Zipline 4.6.3 and earlier exposes the contents of upload-only, non-public folders th
EUVD-2026-125128
GHSA-jc78-2hw2-8h3g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB