{"id":"CVE-2026-129865","kind":"vulnerability","aliases":["CVE-2026-129865"],"related":[],"title":"Dinky: any logged-in user can open arbitrary database connections","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.","summary":"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.","severity":"high","cvss":7.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["dinky","java","jdbc","package","self-hosted"],"not_affected_if":["auth-required-admin-only","single-trusted-user"],"how_to_check":"- Check the Dinky version in use; versions through `1.2.5` are affected.\n- 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).","status":"open","published_at":"2026-11-16T15:17:24+00:00","first_seen_at":"2026-11-16T15:37:52+00:00","triaged_at":"2026-11-16T15:40:22+00:00","updated_at":"2026-11-16T15:40:22+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-16T15:40:22Z","model":"claude-haiku-5-5","output":{"fix":"- Dinky: move to a version newer than `1.2.5` (the sources do not name the exact fixed version; see the linked patch).","reach":"network","title":"Dinky: any logged-in user can open arbitrary database connections","impact":"medium","summary":"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.","audience":"businesses","category":"package","nicknames":[],"who_cares":["dinky","self-hosted","java","jdbc"],"confidence":0.6,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker reads files from Dinky host and probes internal network.","analyst_note":"Confirm the fixed Dinky version from the linked GitHub patch and check whether the NVD record's exact affected range matches the patch commit.","how_to_check":"- Check the Dinky version in use; versions through `1.2.5` are affected.\n- Confirm whether any non-admin users can reach the data source test-connection endpoint.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["single-trusted-user","auth-required-admin-only"],"who_is_affected":"Teams running Dinky with user accounts that are not fully trusted are exposed, since any authenticated user can reach the test-connection endpoint. Deployments where only administrators can log in can treat this as lower risk but should still upgrade.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000753,"input_tokens":4638,"output_tokens":579,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-129865':14A,17A '-2026':13A,16A '1.2.5':77C 'allow':86C 'arbitrari':9A,92C 'attack':47B,102C 'authent':35B,88C 'author':31B,81C 'caller':98C 'caller-control':97C 'check':32B 'choos':45B 'connect':11A,40B,94C,100C 'contain':78C 'control':99C 'craft':59B 'cve':12A,15A 'databas':10A 'datasourcecontroller.testconnect':27B,84C 'dinki':1A,18B,25B,70B,75C,132C 'driver':55B,111C 'enabl':119C 'endpoint':28B 'error':56B,112C 'file':74B,129C 'host':24B,42B,51B,71B,106C,133C 'infil':66B,122C 'intern':50B,105C 'java':19B 'jdbc':20B,39B,61B,93C,117C 'local':65B,73B,121C 'local-infil':64B,120C 'log':4A 'logged-in':3A 'make':68B 'malici':125C 'miss':80C 'mysql':60B,116C 'open':8A,38B,91C 'packag':21B 'port':53B,108C 'probe':49B,104C 'read':72B,128C 'return':110C 'self':23B 'self-host':22B 'server':126C 'set':101C 'skip':29B 'suppli':96C,114C 'url':62B,118C 'user':6A,36B,89C 'via':109C 'vulner':82C","nicknames":[],"mitigations":[],"who_affected":"Teams running Dinky with user accounts that are not fully trusted are exposed, since any authenticated user can reach the test-connection endpoint. Deployments where only administrators can log in can treat this as lower risk but should still upgrade.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["dinky","high","java","jdbc","package","selfhosted"],"campaign_type":null,"search_a":"'-129865':14A,17A '-2026':13A,16A 'arbitrari':9A 'connect':11A 'cve':12A,15A 'databas':10A 'dinki':1A 'log':4A 'logged-in':3A 'open':8A 'user':6A","search_b":"'attack':47B 'authent':35B 'author':31B 'check':32B 'choos':45B 'connect':40B 'craft':59B 'datasourcecontroller.testconnect':27B 'dinki':18B,25B,70B 'driver':55B 'endpoint':28B 'error':56B 'file':74B 'host':24B,42B,51B,71B 'infil':66B 'intern':50B 'java':19B 'jdbc':20B,39B,61B 'local':65B,73B 'local-infil':64B 'make':68B 'mysql':60B 'open':38B 'packag':21B 'port':53B 'probe':49B 'read':72B 'self':23B 'self-host':22B 'skip':29B 'url':62B 'user':36B","search_c":"'1.2.5':77C 'allow':86C 'arbitrari':92C 'attack':102C 'authent':88C 'author':81C 'caller':98C 'caller-control':97C 'connect':94C,100C 'contain':78C 'control':99C 'datasourcecontroller.testconnect':84C 'dinki':75C,132C 'driver':111C 'enabl':119C 'error':112C 'file':129C 'host':106C,133C 'infil':122C 'intern':105C 'jdbc':93C,117C 'local':121C 'local-infil':120C 'malici':125C 'miss':80C 'mysql':116C 'open':91C 'port':108C 'probe':104C 'read':128C 'return':110C 'server':126C 'set':101C 'suppli':96C,114C 'url':118C 'user':89C 'via':109C 'vulner':82C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:24+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129865","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129865","severity":null,"published_at":"2026-11-16T15:17:24+00:00","modified_at":"2026-11-16T15:17:24+00:00","first_seen_at":"2026-11-16T15:37:52+00:00","fetched_at":"2026-11-16T15:37:52+00:00","note":null}],"documents":[{"id":170582,"url":"https://github.com/DataLinkDC/dinky/commit/856d9df7e0e4ddc394f16b4f33c7574ef1e9f4e6","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170583,"url":"https://github.com/DataLinkDC/dinky/commit/a6432b189b28c6b83e237f66553305a236109cb0","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170584,"url":"https://www.vulncheck.com/advisories/dinky-through-1.2.5-ssrf-and-file-read-via-testconnect-endpoint","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}