CVE-2026-33622 A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
PinchTab is a standalone HTTP server that gives AI agents direct control over a Chrome browser. PinchTab v0.8.3 through v0.8.5 allow arbitrary JavaScript execution through POST /wait and POST /tabs/{id}/wait when the request uses fn mode, even if security.allowEvaluate is disabled. POST /evaluate correctly enforces the security.allowEvaluate guard, which is disabled by default. However, in the affected releases, POST /wait accepted a user-controlled fn expression, embedded it directly into executable JavaScript, and evaluated it in the browser context without checking the same policy. This is a security-policy bypass rather than a separate authentication bypass. Exploitation still requires authenticated API access, but a caller with the server token can execute arbitrary JavaScript in a tab context even when the operator explicitly disabled JavaScript evaluation. The current worktree fixes this by applying the same policy boundary to fn mode in /wait that already exists on /evaluate, while preserving the non-code wait modes. As of time of publication, a patched version is not yet available.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pinchtab github.com/pinchtab/pinchtab(Go) | >= 0.8.3; >= 0.8.3, <= 0.8.5 | after 0.8.5 | Partially fixed |
| pinchtab github.com/pinchtab/pinchtab | = >= 0.8.3, <= 0.8.5; >= 0.8.3, <= 0.8.5 | after 0.8.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pinchtab github.com/pinchtab/pinchtab(Go) | >= 0.8.3, <= 0.8.5 | No fix listed |
| pinchtab github.com/pinchtab/pinchtab(Go) | >= 0.8.3 | No fix listed |
| pinchtab github.com/pinchtab/pinchtab | = >= 0.8.3, <= 0.8.5 | No fix listed |
| pinchtab github.com/pinchtab/pinchtab | >= 0.8.3, <= 0.8.5 | No fix listed |
References
- https://github.com/pinchtab/pinchtab/security/advisories/GHSA-w5pc-m664-r62v exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com