{"id":"CVE-2026-63307","summary":"Chat2DB \u003c 5.3.0 Insecure Direct Object Reference via GET /api/connection/datasource","details":"Chat2DB before 5.3.0 contains an insecure direct object reference vulnerability in the GET /api/connection/datasource/{id} endpoint. The handler calls dataSourceService.queryExistent(id, ...) without an ownership check and returns the decrypted password field, allowing any authenticated non-admin user to enumerate datasource IDs and read the plaintext database credentials of datasources owned by other users.","modified":"2026-07-25T03:56:34.877778571Z","published":"2026-07-17T16:13:57.232Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63307.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63307.json"},{"type":"ADVISORY","url":"https://github.com/OtterMind/Chat2DB/releases/tag/v5.3.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63307"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/forgecode-arbitrary-code-execution-via-unvetted-mcp-json-in-untrusted-repository"},{"type":"PACKAGE","url":"https://github.com/OtterMind/Chat2DB"},{"type":"ARTICLE","url":"https://github.com/OtterMind/Chat2DB/issues/1839"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ottermind/chat2db","events":[{"introduced":"0"},{"fixed":"19d46c99e3aac072d28a459982d82f0cacd5be72"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"5.3.0"},{"introduced":"Chat2DB"}],"source":["AFFECTED_FIELD","DESCRIPTION","REFERENCES"]}}],"versions":["v0.3.7","v0.3.6","v0.3.5","v3.4.1","v3.3.2","v3.3.1","v3.3.0","3.3.0","v3.1.20","v2.0.0","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.19","v1.1.18","v1.1.17","v1.1.16","push","list","v1.1.15","v1.1.14","v1.1.13","v1.1.12","v1.1.11","v1.1.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63307.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}