Skip to content
HighVulnerability

CVE-2026-33622: PinchTab arbitrary JavaScript execution through POST /wait fn mode

Identifier
CVE-2026-33622
Published
Record updated
View JSON
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 was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

PinchTab v0.8.3 through v0.8.5 let a caller with the server token run arbitrary JavaScript in a tab through POST /wait and POST /tabs/{id}/wait when fn mode is used, even with security.allowEvaluate disabled. POST /evaluate enforces that guard, but /wait embedded the user-supplied fn expression into executable JavaScript without checking it. The flaw is a policy bypass rather than an authentication bypass, since authenticated API access is still required.

Mitigation

The current worktree applies the same policy boundary to fn mode in /wait that already exists on /evaluate, while preserving the non-code wait modes. As of publication, a patched version is not yet available.