CVE-2026-33622
published medium CVSS 4.0 · 6.1A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pinchtab | — | pinchtab>= 0.8.3, <= 0.8.5 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pinchtab | pinchtab | >= 0.8.3, <= 0.8.5 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-284 CWE-284: Improper Access Control
- CWE-693 CWE-693: Protection Mechanism Failure
References
1Provider assertions
2GitHub_M · cna
A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5035c46ff3f9b1adefd457fcb35553aa8434aa79d8228f83dc8f75f7ce063d90
- Ingested
- 23 Sep 2026, 09:10:36 UTC
- Source record
- Official CVE record