---
id: CVE-2026-56216
title: Capgo - Scope Escalation via API Key Creation in /functions/v1/apikey
summary: >-
  Capgo before 12.128.2 contains a scope escalation vulnerability in the POST
  /functions/v1/apikey endpoint that allows app-limited API keys to mint
  unrestricted keys by setting empty limits. Attackers with a compromised
  app-limited key ca…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-269
vendor: Capgo
product: Capgo
affected:
  - Capgo < 12.128.2
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-06-22T17:47:44.808436Z'
exploitAvailable: true
published: '2026-06-20'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:05:36.800Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-56216'
references:
  - url: 'https://github.com/Cap-go/capgo/security/advisories/GHSA-2ff8-7h96-hwfp'
    label: GitHub Security Advisory (GHSA-2ff8-7h96-hwfp)
  - url: >-
      https://www.vulncheck.com/advisories/capgo-scope-escalation-via-api-key-creation-in-functions-v1-apikey
    label: >-
      VulnCheck Advisory: Capgo - Scope Escalation via API Key Creation in
      /functions/v1/apikey
tags:
  - cve.org
  - exploit-available
epss: 0.00442
epssPercentile: 0.38688
ingestedAt: '2026-11-08T14:51:22.365Z'
---

## Overview

Capgo before 12.128.2 contains a scope escalation vulnerability in the POST /functions/v1/apikey endpoint that allows app-limited API keys to mint unrestricted keys by setting empty limits. Attackers with a compromised app-limited key can create an unrestricted key with org-wide access to resources like app listings and other protected endpoints.

## Affected

- `Capgo < 12.128.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
