Skip to main content

Dinky CVE-2026-70558

| EUVDEUVD-2026-54235 CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-06 disclosure@vulncheck.com GHSA-7crv-rq8j-wxc3
9.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Dinky HTTP port 8888
  2. Delivery
    POST /download/uploadFromRsByLocal with default dinkyToken
  3. Exploit
    Write file into chmod-777 /opt/dinky classpath
  4. Execution
    Shadow Dinky.class or replace static index.html
  5. Impact
    Execute code as flink account on JVM restart

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires only network reachability to Dinky's HTTP listener (port 8888 in the default Docker image, which ships with no proxy and no authentication) plus the dinkyToken request header set to the hardcoded default efda1551-7958-4e0f-80a8-dfd107df3e38 that is compiled into the shipped source. The /download/** route is @SaIgnore and excluded from the Sa-Token interceptor, so no session or login is needed. Limiting factors that reduce realistic risk: an operator who has replaced the default dinkyToken forces the attacker to obtain that secret first; writes execute as uid 9999 (flink), so only paths writable by that user (notably the chmod-777 /opt/dinky tree) are affected while /etc, /root, /home, and /usr are refused; and turning the arbitrary file write into code execution via classpath shadowing depends on a subsequent JVM restart, whereas the index.html overwrite achieves impact immediately.

Impact

This is a genuine high-priority issue rather than an inflated CVSS number. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N with VC/VI/VA all High, score 9.3) is well supported by the description: the endpoint is network-reachable, the auth guard is a hardcoded secret known to every deployer and any attacker who reads the source, and the outcome is code execution. The main honest caveat is the PR:N rating - nominally a token is required, but because it is a public constant, treating it as unauthenticated is reasonable; if an operator has changed dinkyToken from the default, exploitation degrades to requiring that secret (effectively PR:L for that subset of installs). No EPSS score, KEV entry, or explicit POC flag was supplied in the input, so real-world exploitation-in-the-wild cannot be asserted; however the disclosure documents a concrete, reproducible RCE path, and the default Docker posture (open 8888, chmod 777) means the exploitable configuration is the shipped default, not an edge case. One mitigating factor: writes occur as uid 9999 (flink), not root, so /etc, /root, /home, and /usr are protected and privilege is bounded to the service account.

Exploit ScenarioDerived

An attacker scans for internet- or intranet-exposed Dinky consoles on port 8888, then sends a single POST to /download/uploadFromRsByLocal carrying the well-known default dinkyToken header and a path pointing into /opt/dinky. They overwrite config/static/index.html to serve malicious JavaScript to the next admin who loads the UI, or write org/dinky/Dinky.class into the writable classpath so that attacker code runs as the flink service account at the next JVM restart via script/bin/auto.sh. The demonstrated impact in the disclosure confirms both paths work against the default Docker deployment.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

Unauthenticated arbitrary file write in Dinky v1.2.5 and its byte-identical development branch lets anyone who can reach the HTTP port (8888 by default) overwrite files as the Dinky service account, because the POST /download/uploadFromRsByLocal handler feeds a caller-supplied path straight into new File(path) and transferTo(dest) with no validation. The route is exempt from Sa-Token auth and guarded only by a header check against a dinkyToken whose default value is hardcoded in source and shipped to every install, so the guard is effectively no guard. The researcher (VulnCheck) demonstrated full remote code execution by shadowing Dinky.class on the writable, chmod-777 classpath and by planting attacker JavaScript in the served index.html; there is no public exploit identified at time of analysis and it is not in CISA KEV, but the disclosure describes a working demonstration.

RemediationAI

No vendor-released patched version is identified in the available data; the referenced material is a GitHub issue (#4566) and security advisory GHSA-2p66-w3p3-5226 rather than a tagged fixed release, so monitor those and the DataLinkDC/dinky repository for a patched build and upgrade to it once published. Until then, do not expose Dinky's port 8888 to untrusted networks - bind it to localhost or place it behind a reverse proxy that enforces real authentication and blocks the /download/** path, accepting that this may break legitimate resource-download features. Change the dinkyToken from the hardcoded default (efda1551-7958-4e0f-80a8-dfd107df3e38) to a strong secret, which raises the bar even though the endpoint remains architecturally exposed. Harden the container by removing the chmod 777 on /opt/dinky and running with a read-only classpath so that even a successful write cannot shadow Dinky.class or launch scripts; note this can interfere with features that legitimately write into that tree. Network-restrict access to the service to trusted operators only as a compensating control. Advisory URLs: https://github.com/DataLinkDC/dinky/security/advisories/GHSA-2p66-w3p3-5226 and https://github.com/DataLinkDC/dinky/issues/4566.

Affected VersionsENISA

dinky 0 ≤1.2.5

Affected Packages

euvd dinky no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dinky is an open-source real-time data-development and management platform (an IDE/console) for Apache Flink SQL jobs, distributed by DataLinkDC and commonly run as a standalone Java/Spring service. The flaw is classed as CWE-434 (unrestricted file upload) but in practice behaves as an arbitrary file write / path-injection: the /download/uploadFromRsByLocal endpoint constructs a java.io.File directly from the untrusted path parameter and writes the multipart upload there via MultipartFile.transferTo, so an attacker fully controls the destination path and contents. Two framework decisions remove the normal authentication: the handler carries the @SaIgnore annotation and the entire /download/** tree is excluded from the Sa-Token interceptor, leaving only a plaintext equality check on the dinkyToken header. The default token (efda1551-7958-4e0f-80a8-dfd107df3e38) is a compile-time constant present in the shipped source. In the official Docker image the process listens on 8888 with no reverse proxy or auth and /opt/dinky is chmod 777, so the JVM classpath, launch scripts (script/bin/auto.sh), and static web assets are all writable by the service.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

Network-reachable endpoint whose only guard is a hardcoded, publicly known token, so PR:N/AC:L; arbitrary file write yields code execution as the service account, giving full C/I/A.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Dinky v1.2.5 contains a critical unauthenticated remote code execution vulnerability allowing any network-accessible attacker to completely compromise affected systems without credentials. Organizations running this version face immediate risk of full system compromise, data theft, and operational disruption. No vendor patch is currently available, requiring emergency containment measures.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement network segmentation and firewall rules to restrict access to port 8888 to only authorized internal networks; (2) Deploy a WAF or reverse proxy requiring authentication before any Dinky access, with specific rules blocking suspicious requests to /download/uploadFromRsByLocal; (3) Implement continuous monitoring and alerting on all connections to port 8888; (4) Deploy host-based file integrity monitoring to detect unauthorized modifications to classpath directories and configuration files; (5) Restrict write permissions on deployment directories where possible.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Prevalence
Low
niche open-source Flink data-development platform, limited enterprise footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy