CVE-2026-70558
Last modified
CVE-2026-70558 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.60% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| DataLinkDC | Dinky | <= 1.2.5 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-70558?
How severe is CVE-2026-70558?
How do I fix CVE-2026-70558?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7055A security vulnerability has been detected in Tenda F456 1.0…8.8
- CVE-2026-70552MaxSite CMS 109.5 and earlier contains an authentication byp…9.8
- CVE-2026-70553MaxSite CMS contains a remote code execution vulnerability t…9.8
- CVE-2026-70554MaxSite CMS contains a PHP object injection vulnerability th…9.8
- CVE-2026-70556Hubzilla 11.2.1 contains a cross-site request forgery vulner…5.1
- CVE-2026-70557diboot-core's POST /common/load-related-data endpoint resolv…7.1
- CVE-2026-70559Dinky's SysConfigController.getAll() handler for GET /api/sy…8.7
- CVE-2026-7056A vulnerability was detected in Tenda F456 1.0.0.5. Impacted…8.8
- CVE-2026-70560Ultimate POS (Stock Management & Point of Sale) contains a s…5.4
- CVE-2026-70561TestLink 1.9.20 and prior contains an insecure direct object…7.1
- CVE-2026-7057A flaw has been found in Tenda F456 1.0.0.5. The affected el…8.8
- CVE-2026-7058A vulnerability has been found in 666ghj MiroFish up to 0.1.…7.3
Are you affected by CVE-2026-70558?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
