CVE-2026-118762monkeytypegame monkeytype
Arbitrary code execution in Monkeytype CI workflow via malicious pull request
Critical 9.3 No auth needed
Follow: this CVE · monkeytypegame · monkeytypegame monkeytype We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Oct 29, 2026
- Updated
- Nov 4, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-829
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
What happens
Monkeytype's fix-formatting.yml workflow prior to version 26.43.0 executes untrusted code from external pull requests with repository write permissions. An attacker can label their pull request with "format" to execute arbitrary code, exfiltrate the GITHUB_TOKEN, and modify repository content. This vulnerability affects only the CI workflow, not the application or user data.
Show the original NVD text
Monkeytype is a minimalistic and customizable typing test. Prior to 26.43.0, the .github/workflows/fix-formatting.yml workflow runs on pull_request_target with repository write permissions, checks out a fork pull request, installs dependencies from the fork's package.json, and invokes the fork-controlled oxfmt binary. Because actions/checkout persists the elevated GITHUB_TOKEN in Git configuration until after untrusted code executes, an external contributor whose pull request receives the format label can run arbitrary code, read or exfiltrate the token, and push repository content or modify pull requests and issues. The issue affects the repository CI workflow, not the Monkeytype application or user data. This issue is fixed in version 26.43.0.
What to do
Patch available · fixed versions: 26.43.0
Update Monkeytype to version 26.43.0 or later to apply the CI workflow fix.
- Apply the vendor's security update for monkeytype.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- monkeytypegame · monkeytype
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.