{"id":"CVE-2026-33622","published":"2026-03-26T20:44:48Z","modified":"2026-03-27T20:20:00Z","title":"A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution","vendor":"pinchtab","product":"pinchtab","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00595,"percentile":0.4933,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/pinchtab/pinchtab/security/advisories/GHSA-w5pc-m664-r62v","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":9.87},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"pinchtab","affectedVersions":[{"vendor":"pinchtab","product":"pinchtab","versions":[">= 0.8.3, <= 0.8.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-27T20:19:52.439419Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/pinchtab/pinchtab/cmd/pinchtab","vulnerableRanges":[">=0.8.3, <=0.8.5"],"patched":[],"from":["GHSA-w5pc-m664-r62v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/pinchtab/pinchtab","vulnerableRanges":[">=0.8.3"],"patched":[],"from":["GHSA-w5pc-m664-r62v","GO-2026-4824"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-16405","exploited":false,"provenance":"source"}}