# CVE-2026-33622: A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution

- Severity: Medium 6.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-24T19:43:30.000Z
- Modified: 2026-06-17T10:37:48.133Z
- Also known as: GHSA-w5pc-m664-r62v, GO-2026-4824
- Weaknesses: CWE-94, CWE-284, CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pinchtab pinchtab: >= 0.8.3, <= 0.8.5; from 0.8.3 up to 0.8.5
- github.com/pinchtab/pinchtab/cmd/pinchtab (Go): from 0.8.3 up to 0.8.5
- github.com/pinchtab/pinchtab (Go): from 0.8.3

## Every score

- GitHub_M: CVSS:4.0 6.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pinchtab/pinchtab/security/advisories/GHSA-w5pc-m664-r62v> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33622> (advisory)
- <https://github.com/pinchtab/pinchtab> (package)

## Sources

- CVE List: [CVE-2026-33622](https://www.cve.org/CVERecord?id=CVE-2026-33622), CVE Terms of Use, modified 2026-03-27
- GitHub Advisory Database: [GHSA-w5pc-m664-r62v](https://github.com/advisories/GHSA-w5pc-m664-r62v), CC-BY-4.0, modified 2026-03-27
- Go Vulnerability Database: [GO-2026-4824](https://pkg.go.dev/vuln/GO-2026-4824), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-33622](https://nvd.nist.gov/vuln/detail/CVE-2026-33622), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33622 · Whole record: https://cve.day/CVE-2026-33622.json · Rebuilt by cve.day 2026-11-25T22:59:17.158Z
