---
id: "CVE-2026-129865"
page: "https://infrastack.ai/live/CVE-2026-129865"
kind: "vulnerability"
aliases: ["CVE-2026-129865"]
title: "Dinky: any logged-in user can open arbitrary database connections"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["dinky", "java", "jdbc", "package", "self-hosted"]
not_affected_if: ["auth-required-admin-only", "single-trusted-user"]
published_at: "2026-11-16T15:17:24+00:00"
first_seen_at: "2026-11-16T15:37:52+00:00"
updated_at: "2026-11-16T15:40:22+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129865", "first_seen_at": "2026-11-16T15:37:52+00:00"}]
exploit_sources: []
---

# Dinky: any logged-in user can open arbitrary database connections

Link for people: https://infrastack.ai/live/CVE-2026-129865 (this .md is for agents)

Dinky's DataSourceController.testConnect endpoint skips the authorization check, so any authenticated user can open JDBC connections to hosts of their choosing. An attacker can probe internal hosts and ports through driver errors, and a crafted MySQL JDBC URL with local-infile can make the Dinky host read local files.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the Dinky version in use; versions through `1.2.5` are affected.
- Confirm whether any non-admin users can reach the data source test-connection endpoint.

## Fix

- Dinky: move to a version newer than `1.2.5` (the sources do not name the exact fixed version; see the linked patch).

## Timeline

- 2026-11-16T15:37:52+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129865

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/dinky-through-1.2.5-ssrf-and-file-read-via-testconnect-endpoint
- [fix] Patch: github.com https://github.com/DataLinkDC/dinky/commit/856d9df7e0e4ddc394f16b4f33c7574ef1e9f4e6
- [fix] Patch: github.com https://github.com/DataLinkDC/dinky/commit/a6432b189b28c6b83e237f66553305a236109cb0

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
