{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.17.0"
              },
              {
                "fixed": "0.17.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6b0b0244d1aefd6971999b03481eeeaa4ec7cf55"
            }
          ],
          "repo": "https://github.com/sosedoff/pgweb",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91924.json"
  },
  "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.",
  "id": "CVE-2026-91924",
  "modified": "2026-09-19T03:30:27.352151650Z",
  "published": "2026-09-15T11:00:52.390Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "pgweb through 0.17.0 Missing Authorization on Direct Connect Endpoint"
}