---
id: CVE-2026-100628
title: >-
  capgo.app before 12.128.12 fails to enforce an organization's API key
  expiration policy when creating app-scoped API keys
summary: >-
  capgo.app before 12.128.12 fails to enforce an organization's API key
  expiration policy when creating app-scoped API keys. In the POST /apikey
  endpoint, requests that supply app_id but omit org_id, limited_to_orgs, and
  expires_at resolve…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-863
vendor: Cap-go
product: capgo.app
affected:
  - capgo.app < 12.128.12
published: '2026-09-26'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T14:16:43.977'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100628'
references:
  - url: >-
      https://github.com/Cap-go/capgo.app/security/advisories/GHSA-j6p6-qqcg-3fwp
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/capgo-app-before-12.128.12-authentication-bypass-via-apikey
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-26T13:33:20.927Z'
---

## Overview

capgo.app before 12.128.12 fails to enforce an organization's API key expiration policy when creating app-scoped API keys. In the POST /apikey endpoint, requests that supply app_id but omit org_id, limited_to_orgs, and expires_at resolve the target app and scope the key to it, but never add the app's owner organization to the list of organization IDs passed to validateExpirationAgainstOrgPolicies; because that list is empty, the validation returns early. As a result, an authenticated organization member can create a non-expiring app-scoped API key even when the owning organization has require_apikey_expiration enabled and a max_apikey_expiration_days limit configured. The issue is fixed in version 12.128.12.

## Remediation

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