Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-70558— Dinky Unauthenticated Arbitrary File Write via /download/uploadFromRsByLocal Gated Only by Hardcoded Default Token

Quick assessment

Affected
DataLinkDC Dinky
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

DataLinkDC Dinky是DataLinkDC组织的一个以 Apache Flink 为核心构建的开源实时计算平台。 DataLinkDC Dinky 1.2.5及之前版本存在任意文件上传漏洞,该漏洞源于/download/uploadFromRsByLocal处理程序未对路径参数进行验证,直接将调用者提供的路径传递给new File和file.transferTo,攻击者可利用硬编码的dinkyToken写入任意文件,可能导致任意代码执行。

CVSS 9.8 · Critical EPSS 0.82% · P57

Affected Version Matrix 1

VendorProduct Version RangeStatus
DataLinkDC Dinky ≤ 1.2.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-70558

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Dinky Unauthenticated Arbitrary File Write via /download/uploadFromRsByLocal Gated Only by Hardcoded Default Token
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
危险类型文件的不加限制上传
Source: CVE Program / CVE List V5
Vulnerability Title
DataLinkDC Dinky 任意文件上传漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
DataLinkDC Dinky是DataLinkDC组织的一个以 Apache Flink 为核心构建的开源实时计算平台。 DataLinkDC Dinky 1.2.5及之前版本存在任意文件上传漏洞,该漏洞源于/download/uploadFromRsByLocal处理程序未对路径参数进行验证,直接将调用者提供的路径传递给new File和file.transferTo,攻击者可利用硬编码的dinkyToken写入任意文件,可能导致任意代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
DataLinkDC Dinky 0 ~ 1.2.5 -

II. Public POCs for CVE-2026-70558

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6746 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-70558

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-70558 (1)

Proof of Concept for CVE-2026-70558 (1)

Vendor Pages for CVE-2026-70558 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-70558

No comments yet


Leave a comment