high7.1
CVE-2026-129865
Dinky through 1.2.5 contains a missing authorization vulnerability in DataSourceController.testConnect that allows any authenticated user to open arbitrary JDB…
Impact
Dinky through 1.2.5 contains a missing authorization vulnerability in DataSourceController.testConnect that allows any authenticated user to open arbitrary JDBC connections by supplying caller-controlled connection settings. Attackers can probe internal hosts and ports via returned driver errors, or supply a MySQL JDBC URL enabling local-infile against a malicious server to read files from the Dinky host.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.
Affected products · DataLinkDC
| Product | Affected versions |
|---|---|
| Dinky | through 1.2.5 Version 0 ≤1.2.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/DataLinkDC/dinky/pull/4621
- https://github.com/DataLinkDC/dinky/commit/856d9df7e0e4ddc394f16b4f33c7574ef1e9f4e6
- https://github.com/DataLinkDC/dinky/commit/a6432b189b28c6b83e237f66553305a236109cb0
- https://github.com/DataLinkDC/dinky/blob/v1.2.5/dinky-admin/src/main/java/org/dinky/controller/DataSourceController.java#L189-L207
- https://github.com/DataLinkDC/dinky/blob/v1.2.5/dinky-metadata/dinky-metadata-base/src/main/java/org/dinky/metadata/driver/AbstractJdbcDriver.java#L88-L103
- https://hackmd.io/@hieund/dinky-datasource-testconnect-missing-authz-jdbc-ssrf-file-read
- https://www.vulncheck.com/advisories/dinky-through-1.2.5-ssrf-and-file-read-via-testconnect-endpoint
- https://github.com/advisories/GHSA-649w-9hf5-2rqf
- https://nvd.nist.gov/vuln/detail/CVE-2026-129865