Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-33622 EUVD-2026-16405GHSA-w5pc-m664-r62vGO-2026-4824

A PinchTab Security Policy Bypass in /wait Allows Arbitrary JavaScript Execution

Published Mar 26, 2026 · Updated Mar 27, 2026 · 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.

Affected products

VendorProductAffectedFixed
pinchtab pinchtab >= 0.8.3, <= 0.8.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260326T203309-150000.1.155.2 SUSE-SU-2026:1135-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/pinchtab/pinchtab >= 0.8.3 — GHSA-w5pc-m664-r62v
Go github.com/pinchtab/pinchtab/cmd/pinchtab >= 0.8.3, <= 0.8.5 — GHSA-w5pc-m664-r62v

Advisories 2

References