Capgo before 12.128.2 contains an authorization bypass vulnerability in webhook management endpoints that allows non-expiring API keys to bypass the require_apikey_expiration organization policy. The checkWebhookPermission function fails to call apikeyHasOrgRightWithPolicy, enabling attackers with legacy non-expiring keys to list, create, and delete webhooks despite explicit organizational policy requiring key expiration.
PUBLISHED5.2CWE-285
Capgo - Policy Enforcement Bypass in Webhook Management Endpoints via Non-Expiring API Keys
Problem type
Affected products
Capgo
Capgo
< 12.128.2 - AFFECTED
12.128.2 - UNAFFECTED
References
GHSA Advisory GHSA-vwpp-cqv5-cmfm
https://github.com/Cap-go/capgo/security/advisories/GHSA-vwpp-cqv5-cmfm
VulnCheck Advisory: Capgo - Policy Enforcement Bypass in Webhook Management Endpoints via Non-Expiring API Keys
https://www.vulncheck.com/advisories/capgo-policy-enforcement-bypass-in-webhook-management-endpoints-via-non-expiring-api-keys
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-56295Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-56295",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"dateUpdated": "2026-06-20T15:24:46.103Z",
"dateReserved": "2026-06-20T12:49:17.829Z",
"datePublished": "2026-06-20T15:24:46.103Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-06-20T15:24:46.103Z"
},
"datePublic": "2026-05-07T00:00:00.000Z",
"title": "Capgo - Policy Enforcement Bypass in Webhook Management Endpoints via Non-Expiring API Keys",
"descriptions": [
{
"lang": "en",
"value": "Capgo before 12.128.2 contains an authorization bypass vulnerability in webhook management endpoints that allows non-expiring API keys to bypass the require_apikey_expiration organization policy. The checkWebhookPermission function fails to call apikeyHasOrgRightWithPolicy, enabling attackers with legacy non-expiring keys to list, create, and delete webhooks despite explicit organizational policy requiring key expiration."
}
],
"affected": [
{
"vendor": "Capgo",
"product": "Capgo",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThan": "12.128.2"
},
{
"version": "12.128.2",
"status": "unaffected",
"versionType": "semver"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Improper Authorization",
"cweId": "CWE-285",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/Cap-go/capgo/security/advisories/GHSA-vwpp-cqv5-cmfm",
"name": "GHSA Advisory GHSA-vwpp-cqv5-cmfm",
"tags": [
"vendor-advisory"
]
},
{
"url": "https://www.vulncheck.com/advisories/capgo-policy-enforcement-bypass-in-webhook-management-endpoints-via-non-expiring-api-keys",
"name": "VulnCheck Advisory: Capgo - Policy Enforcement Bypass in Webhook Management Endpoints via Non-Expiring API Keys",
"tags": [
"third-party-advisory"
]
}
],
"metrics": [
{
"format": "CVSS"
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM"
}
}
],
"credits": [
{
"lang": "en",
"value": "Judel777",
"type": "reporter"
}
]
}
}
}