Description
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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-918 — Server-Side Request Forgery (SSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| DataLinkDC | Dinky | 0 to <=1.2.5 [affected] |
References
- https://github.com/DataLinkDC/dinky/pull/4621 (issue-tracking patch)
- https://github.com/DataLinkDC/dinky/commit/856d9df7e0e4ddc394f16b4f33c7574ef1e9f4e6 (patch)
- https://github.com/DataLinkDC/dinky/commit/a6432b189b28c6b83e237f66553305a236109cb0 (patch)
- https://github.com/DataLinkDC/dinky/blob/v1.2.5/dinky-admin/src/main/java/org/dinky/controller/DataSourceController.java#L189-L207 (technical-description)
- 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 (technical-description)
- https://hackmd.io/@hieund/dinky-datasource-testconnect-missing-authz-jdbc-ssrf-file-read (third-party-advisory)
- https://www.vulncheck.com/advisories/dinky-through-1.2.5-ssrf-and-file-read-via-testconnect-endpoint (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 17 Nov 2026 08:04 UTC.