{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "12.128.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6685e5f11adef257bf3d085e481f4d8ebcec602e"
            }
          ],
          "repo": "https://github.com/cap-go/capgo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9xqh-f26v-9c9h"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-266"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56251.json"
  },
  "details": "Capgo before 12.128.2 contains a broken row level security policy in the org_users table that allows authenticated users to elevate privileges from admin to super_admin. Attackers can exploit the insufficient RLS enforcement to gain unauthorized super_admin access and compromise system security.",
  "id": "CVE-2026-56251",
  "modified": "2026-07-15T01:49:20.440919232Z",
  "published": "2026-06-21T13:26:53.493Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56251.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Cap-go/capgo/security/advisories/GHSA-9xqh-f26v-9c9h"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56251"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/capgo-privilege-escalation-via-broken-row-level-security-in-org-users"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Capgo - Privilege Escalation via Broken Row Level Security in org_users"
}