---
id: CVE-2026-56240
title: >-
  Capgo before 12.128.12 contains a billing authorization bypass vulnerability
  in the plan_valid calculation that allows organizations with exhausted or
  expired usage credit grants to bypass billing gates
summary: >-
  Capgo before 12.128.12 contains a billing authorization bypass vulnerability
  in the plan_valid calculation that allows organizations with exhausted or
  expired usage credit grants to bypass billing gates. Attackers can exploit the
  diverge…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-285
published: '2026-07-11'
updated: '2026-07-11'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56240'
references:
  - url: 'https://github.com/Cap-go/capgo/security/advisories/GHSA-g9fc-82c2-p2r6'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/capgo-billing-authorization-bypass-via-exhausted-usage-credits
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-07-11T23:16:20.999Z'
epss: 0.00305
epssPercentile: 0.20636
---

## Overview

Capgo before 12.128.12 contains a billing authorization bypass vulnerability in the plan_valid calculation that allows organizations with exhausted or expired usage credit grants to bypass billing gates. Attackers can exploit the divergence between the plugin hot-path plan_valid expression and the authoritative billing gate to gain continued access to /updates, /stats, /channel_self, and attachment upload endpoints after credit depletion.

## Remediation

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