CVE-2026-129865: Dinky through 1.2.5 SSRF and File Read via testConnect Endpoint
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated Dinky user can reach the vulnerable testConnect endpoint and supply arbitrary JDBC connection settings. No user interaction is required.
What can an attacker do with the vulnerable endpoint?
An attacker can use returned JDBC driver errors to probe internal hosts and ports. A MySQL JDBC URL configured for local-infile against an attacker-controlled server can also be used to read files from the Dinky host.
Which versions are affected?
Dinky through version 1.2.5 is affected.