Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-70558: CWE-434 Unrestricted upload of file with dangerous type in DataLinkDC Dinky

0
Critical
VulnerabilityCVE-2026-70558cvecve-2026-70558cwe-434
Published: 08/06/2026 (08/06/2026, 19:30:55 UTC)
Source: CVE Database V5
Vendor/Project: DataLinkDC
Product: Dinky

Description

CVE-2026-70558 is a critical vulnerability in DataLinkDC's Dinky v1.2.5 that allows unrestricted file upload via the /download/uploadFromRsByLocal endpoint. The endpoint lacks path validation and relies on a hardcoded token for access control, enabling attackers to write arbitrary files as the Dinky service account. This can lead to overwriting application files and remote code execution upon JVM restart. The vulnerability affects the default Docker image running on port 8888 with permissive file permissions.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
datalinkdc/dinky
pkg:github/datalinkdc/dinky
Affected versions
=1.2.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 22:42:06 UTC

Technical Analysis

The vulnerability arises because Dinky's POST /download/uploadFromRsByLocal handler directly uses a caller-supplied path parameter to create and write files without validating the path. The route bypasses the Sa-Token interceptor and only checks a hardcoded header token, which is shipped with every deployment. An attacker with network access to the HTTP port and knowledge of the token can upload arbitrary files as the Dinky service account (uid 9999). The default Docker image runs with no proxy or authentication and has world-writable permissions on /opt/dinky, allowing overwriting of critical application files such as static assets and class files. This enables immediate JavaScript injection in admin browsers and remote code execution on JVM restart via classpath shadowing.

Potential Impact

Successful exploitation allows an unauthenticated attacker to write arbitrary files as the Dinky service account, leading to full compromise of the application. This includes overwriting static web assets to serve malicious JavaScript to administrators and placing malicious class files that execute code with the service account privileges on JVM restart. The attack surface includes the default Docker deployment with no authentication and permissive file permissions. The attacker cannot write to system directories owned by root but can fully control the application environment.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict network access to the Dinky HTTP port (default 8888) to trusted users only. Change or remove the default hardcoded dinkyToken value if possible. Avoid running the default Docker image in production environments without additional access controls or file permission hardening. Monitor for unusual file changes in the /opt/dinky directory and consider disabling or restricting the vulnerable upload endpoint if feasible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-04T19:19:05.906Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a75070bbf8831d5395f5c49

Added to database: 08/06/2026, 22:13:31 UTC

Last enriched: 08/06/2026, 22:42:06 UTC

Last updated: 08/06/2026, 22:42:06 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses