{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-33622","id":"CVE-2026-33622","title":"A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution","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. How","descriptionLong":"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.","published":"2026-03-26T20:44:48.220Z","updated":"2026-10-28T02:30:39.173878597Z","reserved":"2026-03-23T14:24:11.617Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.1,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.1,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"medium","products":["pinchtab"],"affectedProducts":[{"vendor":"pinchtab","product":"pinchtab","defaultStatus":null,"versions":[{"version":">= 0.8.3, <= 0.8.5","status":"affected"}],"platforms":[]}],"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":[],"advisory":"GHSA-w5pc-m664-r62v"},{"ecosystem":"Go","name":"github.com/pinchtab/pinchtab","purl":"pkg:golang/github.com/pinchtab/pinchtab","ranges":[">=0.8.3"],"fixed":[],"advisory":"GHSA-w5pc-m664-r62v"}],"cwes":["CWE-94","CWE-284","CWE-693"],"aliases":["GHSA-w5pc-m664-r62v","GO-2026-4824"],"references":[{"url":"https://github.com/pinchtab/pinchtab/security/advisories/GHSA-w5pc-m664-r62v","tags":["x_refsource_CONFIRM","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33622.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33622","tags":["advisory"]},{"url":"https://github.com/pinchtab/pinchtab","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00544,"epssPercentile":0.46416,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-33622","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33622","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-33622","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w5pc-m664-r62v","ok":true,"note":"GHSA-w5pc-m664-r62v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-33622","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}