CVE-2026-56335: Capgo API Authorization Bypass – Channel Configuration Exploitation
Capgo versions before 12.128.2 have a flaw that lets attackers with write-level API keys bypass security checks and directly modify protected channel settings in ways that should be prevented. An attacker could change sensitive flags like whether a channel is public or if it allows emulator connections, potentially exposing functionality or bypassing security controls that the application intended to enforce. The vulnerability exists because a database trigger that should prevent unauthorized changes has a null-check flaw that allows PostgREST requests with valid write credentials to slip through.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weaknesses (CWE)
- CWE-284
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-10 / 2026-07-10
NVD description (verbatim)
Capgo before 12.128.2 contains an authorization bypass vulnerability where write-scoped API keys can directly mutate protected channel configuration fields through PostgREST by exploiting a null authentication check in the immutability trigger. Attackers with write API keys can modify sensitive channel attributes such as public, allow_emulator, and security-related flags outside intended application routes.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-56335 is an authorization bypass in Capgo's PostgREST integration that allows write-scoped API keys to mutate immutable channel configuration fields. The root cause is a null authentication check in the immutability trigger—a database-level constraint designed to prevent modification of protected attributes. An attacker with valid write credentials can craft direct database requests that bypass application-layer validation and modify fields such as 'public', 'allow_emulator', and security-related flags. This is classified under CWE-284 (Improper Access Control / Permissions) and does not require user interaction. The CVSS 3.1 score of 6.5 (MEDIUM) reflects the high integrity impact but requires authenticated API access to exploit.
Business impact
Organizations using Capgo may experience unauthorized modification of critical channel configurations, potentially leading to unintended public exposure of services, activation of emulator support when disabled for security, or manipulation of other security-related flags. This could compromise the intended isolation and access controls of the application's deployment channels. Since exploitation requires valid API credentials, the risk is elevated in environments with poor API key hygiene or where keys have been compromised or shared inappropriately. Depending on what channel settings control, this could affect deployment integrity or feature availability.
Affected systems
Capgo versions prior to 12.128.2 are vulnerable. The source data does not enumerate specific vendor/product classifications beyond Capgo itself, so organizations should verify their installed version against the Capgo release notes and security advisories to determine exact exposure. All instances of affected Capgo versions should be considered in scope.
Exploitability
Exploitation requires network access and possession of a valid write-scoped API key. An attacker with these credentials can directly invoke PostgREST mutations without needing to go through the application's intended authorization routes. The flaw is a logic error in a database trigger, making it exploitable without complex tooling—a simple HTTP request to the PostgREST endpoint with authenticated credentials can trigger the bypass. There is no known public exploit code or CISA KEV listing at this time. The barrier to exploitation is moderate: while it requires authentication, the flaw is straightforward and does not require interaction or special timing.
Remediation
Upgrade Capgo to version 12.128.2 or later. This version patches the null authentication check in the immutability trigger, restoring proper authorization enforcement. Before patching, limit API key distribution, rotate keys that may have been exposed, and audit recent API logs for suspicious mutations to protected channel fields. Implement network-level controls to restrict direct PostgREST access if possible, forcing requests through application validation layers.
Patch guidance
Deploy Capgo 12.128.2 or later as soon as feasible. Review the Capgo release notes and security advisory at https://capgo.app (or your distribution source) to confirm the patch contents and any configuration changes required. Test the upgrade in a non-production environment first to ensure compatibility with your application. Verify via version checks that the patch has been applied: `capgo --version` or equivalent depending on your deployment method. If you are on an older version, also check for any intermediate security patches or breaking changes in the release history.
Detection guidance
Monitor API audit logs for write requests targeting channel configuration fields (public, allow_emulator, security flags) that originate from unexpected IP addresses, API keys, or service accounts. Look for direct PostgREST mutations that bypass application routes or show null values in authentication contexts. Inspect PostgREST request patterns and correlate with database trigger logs to identify attempts to exploit the null-check flaw. If your organization has exported or shared API keys widely, prioritize rotation and audit logs associated with those credentials. Consider setting alerts on changes to sensitive channel attributes outside normal deployment workflows.
Why prioritize this
Although scored MEDIUM in CVSS, this vulnerability should be prioritized for patching because it enables full mutation of security-relevant configuration with only authenticated write access. The integrity impact is high—an attacker can silently alter deployment settings in ways that undermine security posture or bypass intended controls. The fact that exploitation does not require user interaction and can be triggered programmatically makes it a reliable attack vector if credentials are leaked or misused. Organizations should treat this as a standard patch cycle priority, not low-priority maintenance.
Risk score, explained
The CVSS 3.1 score of 6.5 (MEDIUM) reflects: (1) Network accessibility (AV:N) at no special requirement, (2) Low attack complexity (AC:L) since the flaw is a straightforward logic error, (3) Low privileges required (PR:L) because a valid write API key is sufficient, (4) No user interaction (UI:N), (5) Unchanged scope (S:U), (6) No confidentiality impact (C:N), and (7) High integrity impact (I:H) because protected channel fields can be freely modified. The score is not elevated to 'high' because the vulnerability does require pre-existing authentication; however, the high integrity impact and ease of exploitation justify urgent attention within your patch schedule.
Frequently asked questions
Can an attacker exploit this without an API key?
No. The vulnerability requires a valid write-scoped API key. However, if keys have been leaked, committed to repositories, or shared insecurely, the barrier to exploitation drops significantly. Audit your key distribution practices and rotate keys proactively.
What is the difference between this and a simple privilege escalation?
This is an authorization bypass: a write-scoped key should only modify approved fields through application logic, but the null-check flaw in the database trigger lets it modify protected immutable fields directly. It's a logic flaw in the access control implementation, not a misuse of privileges per se.
Will upgrading break my existing API integrations?
The patch fixes the authorization check but should not change the intended API surface. Integrations that rely on legitimate, application-sanctioned channel mutations should continue to work. However, any custom code that was exploiting this flaw to modify protected fields will break—which is the intended security hardening. Test in staging first.
Is this vulnerability on the CISA KEV list?
No. As of the data provided, CVE-2026-56335 is not on CISA's Known Exploited Vulnerabilities catalog, and there is no evidence of active exploitation in the wild. However, this does not lower its priority; KEV status reflects observed attacks, not inherent risk.
This analysis is provided for informational purposes and based on the CVE record and vendor advisories available as of the publication date. Security vulnerabilities can evolve, and new information may emerge. Verify all patch versions, vendor contact information, and advisory links against official Capgo sources and your own systems. SEC.co does not host exploit code or weaponized proof-of-concept materials. Organizations should conduct their own risk assessments and consult with their security teams before deploying patches. This vulnerability summary does not constitute legal advice or a guarantee of security. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2024-27891MEDIUMArista EOS MACsec + Egress ACL Policy Enforcement Failure
- CVE-2025-24165MEDIUMmacOS Permissions Issue Enables Unexpected System Termination
- CVE-2025-24816MEDIUMNokia MantaRay API Authorization Bypass – Information Disclosure Vulnerability
- CVE-2025-43339MEDIUMmacOS Tahoe Sandbox Access Control Bypass Allows User Data Disclosure
- CVE-2025-46308MEDIUMApple iOS, iPadOS, macOS Authorization Bypass—Sensitive Data Disclosure
- CVE-2026-10152MEDIUMImproper Access Control in TaleLin lin-cms-spring-boot Book Endpoint
- CVE-2026-10172MEDIUMBdtask Multi-Store Inventory 1.0 Unrestricted File Upload Vulnerability
- CVE-2026-10205MEDIUMUnrestricted File Upload in Metasoft MetaCRM 6.4.0 – Exploit Details & Remediation