{"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-11-09T02:47:26.946966315Z","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":"REPORT","url":"https://github.com/OtterMind/Chat2DB/issues/1839"},{"type":"PACKAGE","url":"https://github.com/OtterMind/Chat2DB"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ottermind/chat2db","events":[{"introduced":"0"},{"fixed":"19d46c99e3aac072d28a459982d82f0cacd5be72"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"5.3.0"}]},{"range":[{"fixed":"19d46c99e3aac072d28a459982d82f0cacd5be72"}],"source":"REFERENCES_TAG","original_tag":"v5.3.0"},{"source":"DESCRIPTION","range":[{"introduced":"2DB"},{"fixed":"5.3.0"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63307.json"}}],"schema_version":"1.9.2","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"}]}