CVE-2026-70558
Critical · 9.8CVSS
9.8
EPSS
0.8%
Published
Aug 6, 2026
CISA due date
—
The record
Dinky's POST /download/uploadFromRsByLocal handler passes the caller-supplied path parameter directly to new File(path) and file.transferTo(dest) with no path validation. The route is marked @SaIgnore and /download/** is excluded from the Sa-Token interceptor, so the only guard is a header equality check against a dinkyToken value whose default (efda1551-7958-4e0f-80a8-dfd107df3e38) is hardcoded in source and shipped to every deployment. Anyone who can reach Dinky's HTTP port (8888 by default) and supplies the hardcoded token can write arbitrary files as the Dinky service account. The default Docker image runs on 8888 with no proxy or authentication and chmod 777 on /opt/dinky, so the application's own classpath, launch scripts, and static assets are writable. Demonstrated impact: overwriting /opt/dinky/config/static/index.html served attacker JavaScript to admin browsers immediately, and writing /opt/dinky/org/dinky/Dinky.class executed attacker code as the Dinky service account at the next JVM start via a classpath-shadow launched by script/bin/auto.sh. Writes are uid 9999 (flink), not root, so /etc, /root, /home, and /usr are refused. Affects Dinky v1.2.5 (the current release) and the development branch, where the code is byte-identical.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121733 Bagisto before 2.4.5 contains a stored cross-site scripting vulnerability that allows… CWE-434
- CVE-2026-73328 Volmarg Personal Management System through 2.1.0 contains an unrestricted file upload… CWE-434
- CVE-2026-76124 The BuddyBoss App plugin for WordPress is vulnerable to Arbitrary File Upload in all… CWE-434
- CVE-2026-120534 The Advanced Custom Fields: Extended PRO plugin for WordPress is vulnerable to Limited… CWE-434
- CVE-2026-105606 Joomla Extension - joomlaboat.com - Unauthenticated arbitrary file upload in Custom… CWE-434
- CVE-2026-105603 Joomla Extension - dj-extensions.com - Authenticated arbitrary file upload in… CWE-434
- CVE-2026-76010 The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is… CWE-434
- CVE-2026-118235 The SimpleForm – Form Maker to Chat Apps with Quiz, Poll and Multi Lead Notifications… CWE-434