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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.88% (percentile 57, 2026-11-26)
- **CWE:** CWE-94, CWE-284, CWE-693
- **Aliases:** GHSA-w5pc-m664-r62v, GO-2026-4824
- **Published:** 2026-03-24T19:43:30.000Z
- **Modified:** 2026-06-17T10:37:48.133Z

## Who should check

- Projects that depend on Go package github.com/pinchtab/pinchtab/cmd/pinchtab (\>= 0.8.3, \<= 0.8.5)
- Projects that depend on Go package github.com/pinchtab/pinchtab (\>= 0.8.3)
- Anyone running pinchtab \>= 0.8.3, \<= 0.8.5

## 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 and fixed versions

- Go `github.com/pinchtab/pinchtab/cmd/pinchtab`: affected \>= 0.8.3, \<= 0.8.5; fixed no fix listed yet (osv)
- Go `github.com/pinchtab/pinchtab`: affected \>= 0.8.3; fixed no fix listed yet (osv)
- pinchtab: \>= 0.8.3, \<= 0.8.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33622. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33622.md
Affected: github.com/pinchtab/pinchtab/cmd/pinchtab >= 0.8.3, <= 0.8.5; github.com/pinchtab/pinchtab >= 0.8.3
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for github.com/pinchtab/pinchtab/cmd/pinchtab (Go), github.com/pinchtab/pinchtab (Go), pinchtab: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33622 being exploited?

There is no confirmed exploitation: CVE-2026-33622 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.88% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33622?

Medium: CVSS 6.1 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-33622?

github.com/pinchtab/pinchtab/cmd/pinchtab \>= 0.8.3, \<= 0.8.5; github.com/pinchtab/pinchtab \>= 0.8.3.

### Is there a fix for CVE-2026-33622?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-33622?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/pinchtab/pinchtab/security/advisories/GHSA-w5pc-m664-r62v>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-33622>
- other: <https://github.com/pinchtab/pinchtab>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33622>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w5pc-m664-r62v> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4824> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-33622> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33622>
