Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Dinky HTTP port 8888
-
DeliveryPOST /download/uploadFromRsByLocal with default dinkyToken
-
ExploitWrite file into chmod-777 /opt/dinky classpath
-
ExecutionShadow Dinky.class or replace static index.html
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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.
Articles & Coverage 1
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-54235
GHSA-7crv-rq8j-wxc3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB