{"id":"CVE-2026-91924","summary":"pgweb through 0.17.0 Missing Authorization on Direct Connect Endpoint","details":"pgweb through 0.17.0 leaves the POST /api/connect endpoint unguarded when connect-backend authorization is configured, allowing attackers to supply arbitrary database connection strings. Attackers can bypass the resource-to-database mapping by providing a custom session identifier and connection URL to access unauthorized databases and internal services.","modified":"2026-09-18T03:31:00.325999671Z","published":"2026-09-15T11:00:52.390Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91924.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-862"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91924.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-91924"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pgweb-through-0.17.0-missing-authorization-on-direct-connect-endpoint"},{"type":"REPORT","url":"https://github.com/sosedoff/pgweb/issues/869"},{"type":"PACKAGE","url":"https://github.com/sosedoff/pgweb"},{"type":"ARTICLE","url":"https://github.com/sosedoff/pgweb/blob/6b0b0244d1aefd6971999b03481eeeaa4ec7cf55/pkg/api/api.go"},{"type":"ARTICLE","url":"https://github.com/sosedoff/pgweb/blob/6b0b0244d1aefd6971999b03481eeeaa4ec7cf55/pkg/api/routes.go"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sosedoff/pgweb","events":[{"introduced":"0"},{"fixed":"6b0b0244d1aefd6971999b03481eeeaa4ec7cf55"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.17.0"},{"fixed":"0.17.0"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v0.16.2","v0.16.1","v0.16.0-20240907","v0.16.0","v0.15.0","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.1","v0.13.0","v0.12.0","v0.11.12","v0.11.11","v0.11.10","v0.11.9","v0.11.8","v0.11.7","v0.11.6","v0.11.5","v0.11.4","v0.11.3","v0.11.2","v0.11.1","v0.11.0","v0.10.0","v0.9.12","v0.9.11","v0.9.10","v0.9.9","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.0","v0.7.0","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91924.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N"}]}