{"cve":"CVE-2026-33622","nvd":{"published":"2026-03-26T21:17:06.780","modified":"2026-06-17T10:37:48.133","status":"Analyzed","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.","cvss_v4":{"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","score":6.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94","CWE-284","CWE-693"],"references":["https://github.com/pinchtab/pinchtab/security/advisories/GHSA-w5pc-m664-r62v"],"products":["pinchtab:pinchtab"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-33622","score":0.00532,"percentile":0.44971,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w5pc-m664-r62v","url":"https://osv.dev/vulnerability/GHSA-w5pc-m664-r62v","summary":"A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution","modified":"2026-03-27T21:32:44.052394Z","packages":[{"ecosystem":"Go","name":"github.com/pinchtab/pinchtab/cmd/pinchtab","purl":"pkg:golang/github.com/pinchtab/pinchtab/cmd/pinchtab","ranges":[">=0.8.3 <=0.8.5"],"fixed":[]},{"ecosystem":"Go","name":"github.com/pinchtab/pinchtab","purl":"pkg:golang/github.com/pinchtab/pinchtab","ranges":[">=0.8.3"],"fixed":[]}]},{"id":"GO-2026-4824","url":"https://osv.dev/vulnerability/GO-2026-4824","summary":"A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution in github.com/pinchtab/pinchtab","modified":"2026-03-26T21:03:46.815842Z","packages":[{"ecosystem":"Go","name":"github.com/pinchtab/pinchtab","purl":"pkg:golang/github.com/pinchtab/pinchtab","ranges":[">=0.8.3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}