Critical severity · published Aug 6, 2026
CVE-2026-70558
Dinky Unauthenticated Arbitrary File Write via /download/uploadFromRsByLocal Gated Only by Hardcoded Default Token
9.8
CVSS
0.8%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DI
Dinky · DataLinkDC
through 1.2.5 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-70558
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-70558
github.com
https://github.com/DataLinkDC/dinky
github.com
https://github.com/DataLinkDC/dinky/issues/4566
github.com
https://github.com/DataLinkDC/dinky/security/advisories/GHSA-2p66-w3p3-5226
More from Dinky
9.8
CVE-2026-3053
DataLinkDC dinky OpenAPI Endpoint AppConfig.java addInterceptors missing authentication
7.7
CVE-2026-3052
DataLinkDC dinky Flink Proxy Controller FlinkProxyController.java proxyUba server-side request forgery
7.6
CVE-2026-3051
DataLinkDC dinky Project Name GitRepository.java getProjectDir path traversal
7.5
CVE-2026-70559
Dinky Unauthenticated System Configuration and Credential Disclosure via GET /api/sysConfig/getAll
