Vulnerabilities

CVE-2026-33622

High 8.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-03-26
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.5 % higher than 41 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
github.com/pinchtab pinchtab (Go) ≥ 0.8.3 Affected
github.com/pinchtab/pinchtab/cmd pinchtab (Go) ≥ 0.8.3, ≤ 0.8.5 Affected
Pinchtab Pinchtab ≥ 0.8.3, ≤ 0.8.5 Affected

Weakness type

  • CWE-284: Improper Access Control

    The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

  • CWE-693: Protection Mechanism Failure

    The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.

  • CWE-94: Improper Control of Generation of Code

    The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or b…

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1014: Rootkit stealth
  • T1027.006: HTML Smuggling stealth
  • T1027.009: Embedded Payloads stealth
  • T1037: Boot or Logon Initialization Scripts persistence, privilege-escalation
  • T1040: Network Sniffing credential-access, discovery
  • T1080: Taint Shared Content lateral-movement
  • T1083: File and Directory Discovery discovery
  • T1505.005: Terminal Services DLL persistence
  • T1542.003: Bootkit stealth, persistence
  • T1543: Create or Modify System Process persistence, privilege-escalation
  • T1543.001: Launch Agent persistence, privilege-escalation
  • T1543.003: Windows Service persistence, privilege-escalation
  • T1543.004: Launch Daemon persistence, privilege-escalation
  • T1546.001: Change Default File Association privilege-escalation, persistence
  • T1546.004: Unix Shell Configuration Modification privilege-escalation, persistence
  • T1546.008: Accessibility Features privilege-escalation, persistence
  • T1546.016: Installer Packages privilege-escalation, persistence
  • T1547: Boot or Logon Autostart Execution persistence, privilege-escalation
  • T1547.006: Kernel Modules and Extensions persistence, privilege-escalation
  • T1553.004: Install Root Certificate defense-impairment

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities