CVE-2026-56307: Cap-go Broken Cursor Pagination Vulnerability
Cap-go versions before 12.128.12 contain a pagination flaw in the device-management API endpoint that allows authenticated users with read access to devices to encounter broken pagination loops. When requesting lists of devices, the cursor mechanism fails to advance properly, causing the same pages of results to repeat indefinitely while later data becomes unreachable. This can disrupt workflows that depend on iterating through device inventories and may cause duplicate processing of device records.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Weaknesses (CWE)
- CWE-670
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-20 / 2026-06-22
NVD description (verbatim)
Cap-go before 12.128.12 contains a broken cursor pagination vulnerability in the /private/devices endpoint on the Cloudflare/workerd path that allows authenticated attackers to cause duplicate-page loops and make later rows unreachable. Attackers with app.read_devices access can exploit non-advancing cursor filters to trigger infinite pagination loops, prevent dataset traversal, and cause repeated processing in device-management workflows.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-56307 is a cursor pagination vulnerability affecting Cap-go's /private/devices endpoint on the Cloudflare/workerd runtime. The flaw stems from non-advancing cursor filters that fail to progress through result sets correctly. Authenticated attackers holding app.read_devices permissions can trigger infinite pagination loops by exploiting this broken cursor state. The vulnerability prevents full dataset traversal, leaving portions of the device inventory inaccessible beyond the looping segment. This maps to CWE-670 (Improper Input Validation) and carries a CVSS 3.1 score of 4.3 (MEDIUM severity).
Business impact
Device-management integrations relying on Cap-go's API to enumerate or audit device fleets will encounter operational friction. Automated workflows that walk through device lists—such as inventory synchronization, compliance audits, or bulk operations—may stall or repeat work on the same subset of devices, consuming resources and delaying business processes. Organizations using Cap-go for multi-tenant device orchestration should expect degraded visibility and potential data inconsistencies if pagination loops prevent complete enumeration.
Affected systems
Cap-go versions prior to 12.128.12 are affected. The vulnerability is specific to the /private/devices endpoint when deployed on Cloudflare/workerd infrastructure. Only authenticated users with app.read_devices permission can trigger the issue, limiting exposure to users with explicit device-read roles.
Exploitability
The vulnerability requires valid authentication credentials and the app.read_devices permission—it is not exploitable by unauthenticated users. Exploitation is straightforward once those preconditions are met: a user simply requests the devices endpoint and encounters pagination that loops rather than advances. No specialized tooling or unusual interaction patterns are required; standard API pagination logic will trigger the flaw. The barrier to exploitation is low for privileged insiders but absent for external attackers without credentials.
Remediation
Upgrade Cap-go to version 12.128.12 or later. This version includes a corrected cursor implementation that properly advances through result sets and eliminates infinite pagination loops. Organizations should test the upgrade in a non-production environment first to confirm that existing device-management automation resumes normal operation.
Patch guidance
Deploy Cap-go 12.128.12 or any subsequent release. Verify the upgrade in a staging environment by confirming that pagination through large device lists completes without looping and that all devices in the inventory are reachable. If you are on a version between the affected range and 12.128.12, verify against the vendor advisory to confirm the exact minimum version required for your deployment.
Detection guidance
Monitor API logs for repeated pagination tokens or cursor values in successive /private/devices requests from the same authenticated session. If a cursor does not advance between requests, or if the same device records appear across multiple paginated responses, the broken pagination is likely active. Additionally, track device-management job logs for workflows that do not complete or that process the same device subset repeatedly, which may indicate an encounter with this vulnerability.
Why prioritize this
While the CVSS score is MEDIUM (4.3), this is primarily a denial-of-service and workflow disruption issue rather than a confidentiality or integrity threat. Prioritization should reflect operational impact: if device management is mission-critical or if compliance audits depend on complete device enumeration, treat this as higher priority. If device-management workflows are less frequent or redundant, this can be scheduled in a normal maintenance window. The vulnerability is not in the CISA KEV catalog, further supporting a standard (not emergency) remediation timeline.
Risk score, explained
The CVSS 3.1 score of 4.3 reflects low attack complexity, requirement for valid authentication, and network-based access, but no confidentiality or integrity impact. The only impact vector is availability—pagination loops disrupt workflow completion and dataset traversal. The MEDIUM severity is appropriate because the flaw does not expose secrets, corrupt data, or grant unauthorized access; it merely obstructs the ability to retrieve complete result sets.
Frequently asked questions
Can an unauthenticated attacker exploit this vulnerability?
No. The flaw requires valid authentication credentials and the app.read_devices permission. Only users or services with explicit device-read access can encounter or trigger the pagination loop.
Does this vulnerability leak sensitive device data or allow unauthorized access?
No. The pagination flaw does not bypass authorization controls or expose confidential information. It only prevents complete traversal of data that the authenticated user is already permitted to read.
How can I tell if I'm affected before upgrading?
Check your Cap-go version against 12.128.12. If you are running any version prior to 12.128.12, you are vulnerable. You can also observe pagination behavior in API logs: if a cursor value repeats across multiple requests or the same device records reappear, the vulnerability is present.
Is there a workaround if I cannot upgrade immediately?
Limit app.read_devices permissions to users and services that absolutely require them, which reduces the number of actors who can trigger the vulnerability. However, this is a partial mitigation only; upgrading remains the primary remediation.
This analysis is based on published vulnerability data current as of the CVE publication date. Exploit details, CVSS scores, affected version ranges, and patch versions originate from authoritative CVE and vendor sources. Organizations should verify patch availability and compatibility with their specific deployment before applying updates. SEC.co provides this information for educational and remediation planning purposes only and does not guarantee the completeness or real-time accuracy of third-party vendor advisories. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2026-12321MEDIUMFirefox and Thunderbird JIT Compiler Vulnerability – Medium Risk
- CVE-2016-20064MEDIUMWP Vault 0.8.6.6 Arbitrary File Read via Directory Traversal
- CVE-2016-20067MEDIUMWordPress CP Polls CSRF Vulnerability
- CVE-2016-20070MEDIUMPrivilege Escalation & Stored XSS in WordPress Booking Calendar Contact Form 1.0.23
- CVE-2016-20074MEDIUMWordPress Lazy Content Slider CSRF Vulnerability – Patch & Detection Guide
- CVE-2016-20077MEDIUMWordPress Photocart Link Plugin Local File Inclusion Vulnerability
- CVE-2016-20078MEDIUMWordPress IMDb Profile Widget Local File Inclusion Vulnerability
- CVE-2016-20079MEDIUMWordPress Dharma Booking Local File Inclusion Vulnerability