CVE-2026-91924
pgweb through 0.17.0 Missing Authorization on Direct Connect Endpoint
- State
- Published
- Severity
- 8.4 High
- Published
- Sep 15, 2026
- Updated
- Sep 24, 2026
- Reserved
- Sep 15, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.4 High | 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 | VulnCheck |
| 3.1 | 8.5 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N | VulnCheck |
Weaknesses
- CWE-862 Missing Authorization
Affected Products
| Product | Versions |
|---|---|
pgwebsosedoff |
|
References
- GitHub Issue #869issue-tracking
- https://github.com/sosedoff/pgwebproduct
- routes.go - /api/connect registered unconditionally alongside the backend-gated routetechnical-description
- api.go - Connect falls through to ConnectWithURL with no connect-backend checktechnical-description
- VulnCheck Advisory: pgweb through 0.17.0 Missing Authorization on Direct Connect Endpointthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.