Dinky through 1.2.5 SSRF and File Read via testConnect Endpoint
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 16, 2026
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.
| Product | Versions |
|---|---|
| Dinky DataLinkDC | 1.2.5 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
References
- https://github.com/DataLinkDC/dinky/pull/4621Issue TrackerPatch
- https://github.com/DataLinkDC/dinky/commit/856d9df7e0e4ddc394f16b4f33c7574ef1e9f4e6Patch
- https://github.com/DataLinkDC/dinky/commit/a6432b189b28c6b83e237f66553305a236109cb0Patch
- https://github.com/DataLinkDC/dinky/blob/v1.2.5/dinky-admin/src/main/java/org/dinky/controller/DataSourceController.java#L189-L207Technical Details
- https://github.com/DataLinkDC/dinky/blob/v1.2.5/dinky-metadata/dinky-metadata-base/src/main/java/org/dinky/metadata/driver/AbstractJdbcDriver.java#L88-L103Technical Details
- https://hackmd.io/@hieund/dinky-datasource-testconnect-missing-authz-jdbc-ssrf-file-readThird-Party Advisory
- VulnCheck Advisory: Dinky through 1.2.5 SSRF and File Read via testConnect EndpointThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.