CVE-2026-70558

CriticalCVSS 9.8/10Last modified Oct 24, 2026

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 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Aug 6, 2026
Last modified
Oct 24, 2026
NVD status
Deferred

Related CVEs from 2026

CVE-2026-705597.5Dinky's SysConfigController.getAll() handler for GET /api/sysConfig/getAll carries a method-level @SaIgnore annotation that short-circuits tCVE-2026-70568.8A vulnerability was detected in Tenda F456 1.0.0.5. Impacted is the function fromSafeUrlFilter of the file /goform/SafeUrlFilter of the compCVE-2026-705605.4Ultimate POS (Stock Management & Point of Sale) contains a stored cross-site scripting vulnerability that allows low-privileged authenticateCVE-2026-705616.5TestLink 1.9.20 and prior contains an insecure direct object reference vulnerability that allows any authenticated user, including low-priviCVE-2026-705627.0Double free in Windows Audio Service allows an authorized attacker to elevate privileges locally.CVE-2026-705638.1Improper link resolution before file access ('link following') in Windows Shell allows an unauthorized attacker to perform spoofing over a nCVE-2026-705647.8Heap-based buffer overflow in Windows Print Spooler Components allows an authorized attacker to elevate privileges locally.CVE-2026-705657.0Use after free in Windows AF_UNIX Socket Provider allows an authorized attacker to elevate privileges locally.CVE-2026-705667.8Null pointer dereference in Windows Schannel allows an authorized attacker to elevate privileges locally.CVE-2026-705677.0Double free in Windows Display Enhancement Service allows an authorized attacker to elevate privileges locally.CVE-2026-705687.0Heap-based buffer overflow in Windows Defender Firewall Service allows an authorized attacker to elevate privileges locally.CVE-2026-705697.8Out-of-bounds read in Windows Spaceport.sys allows an authorized attacker to elevate privileges locally.
CVE-2026-70558: Critical severity, CVSS 9.8 | Vulnix