Vulnerability · Published Mar 26, 2026 · Assigned by GitHub_M
CVE-2026-33622A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution
Medium 6.1
In plain English
A medium-severity code injection in pinchtab from pinchtab. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/pinchtab/pinchtab | no fix listed | GO-2026-4824 |
| Go | github.com/pinchtab/pinchtab | no fix listed | GHSA-w5pc-m664-r62v |
| Go | github.com/pinchtab/pinchtab/cmd/pinchtab | no fix listed | GHSA-w5pc-m664-r62v |
Affected products (as reported)
Weakness: CWE-94, CWE-284, CWE-693 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:H/SI:N/SA:N
References
- https://github.com/pinchtab/pinchtab/security/advisories/GHSA-w5pc-m664-r62v x_refsource_CONFIRM