{"id":"CVE-2026-91924","state":"PUBLISHED","title":"pgweb through 0.17.0 Missing Authorization on Direct Connect Endpoint","description":"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.","publishedAt":"2026-09-15T11:00:52.390Z","updatedAt":"2026-09-24T14:22:29.786Z","severity":{"score":8.4,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["sosedoff pgweb"],"affected":[{"vendor":"sosedoff","product":"pgweb","packageURL":"pkg:golang/github.com/sosedoff/pgweb","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.17.0","versionType":"semver"}]}],"references":["https://github.com/sosedoff/pgweb/issues/869","https://github.com/sosedoff/pgweb","https://github.com/sosedoff/pgweb/blob/6b0b0244d1aefd6971999b03481eeeaa4ec7cf55/pkg/api/routes.go","https://github.com/sosedoff/pgweb/blob/6b0b0244d1aefd6971999b03481eeeaa4ec7cf55/pkg/api/api.go","https://www.vulncheck.com/advisories/pgweb-through-0.17.0-missing-authorization-on-direct-connect-endpoint"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/91xxx/CVE-2026-91924.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-91924","state":"PUBLISHED","datePublished":"2026-09-15T11:00:52.390Z","dateUpdated":"2026-09-24T14:22:29.786Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-15T10:42:44.016Z"},"containers":{"cna":{"title":"pgweb through 0.17.0 Missing Authorization on Direct Connect Endpoint","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sosedoff","product":"pgweb","packageURL":"pkg:golang/github.com/sosedoff/pgweb","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.17.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/sosedoff/pgweb/issues/869","tags":["issue-tracking"],"name":"GitHub Issue #869"},{"url":"https://github.com/sosedoff/pgweb","tags":["product"]},{"url":"https://github.com/sosedoff/pgweb/blob/6b0b0244d1aefd6971999b03481eeeaa4ec7cf55/pkg/api/routes.go","tags":["technical-description"],"name":"routes.go - /api/connect registered unconditionally alongside the backend-gated route"},{"url":"https://github.com/sosedoff/pgweb/blob/6b0b0244d1aefd6971999b03481eeeaa4ec7cf55/pkg/api/api.go","tags":["technical-description"],"name":"api.go - Connect falls through to ConnectWithURL with no connect-backend check"},{"url":"https://www.vulncheck.com/advisories/pgweb-through-0.17.0-missing-authorization-on-direct-connect-endpoint","name":"VulnCheck Advisory: pgweb through 0.17.0 Missing Authorization on Direct Connect Endpoint","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":8.4,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-24T14:22:29.786Z"},"datePublic":"2026-08-04T00:00:00.000Z","credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/sosedoff/pgweb/issues/869","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-17T14:21:53.682692Z","id":"CVE-2026-91924","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-17T14:22:26.901Z"}}]}}}