GHSA-6h56-q7r6-j7xgHighCVSS 6.5
Chat2DB before 5.3.0 contains an insecure direct object reference vulnerability in the GET /api...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-63307
- https://github.com/OtterMind/Chat2DB/issues/1839
- https://github.com/OtterMind/Chat2DB/releases/tag/v5.3.0
- https://www.vulncheck.com/advisories/forgecode-arbitrary-code-execution-via-unvetted-mcp-json-in-untrusted-repository
- https://github.com/advisories/GHSA-6h56-q7r6-j7xg