CVE-2026-118762 Monkeytype: fork PR can execute code with elevated GITHUB_TOKEN
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| monkeytypegame monkeytype | = < 26.43.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| monkeytypegame monkeytype | = < 26.43.0 | No fix listed |
References
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-47v3-j88w-92f8 exploit
- https://github.com/monkeytypegame/monkeytype/commit/592ce1becb9b6824badc14a803bcd9268cbea382
- https://github.com/monkeytypegame/monkeytype/releases/tag/v26.43.0
- ENISA EUVD EUVD-2026-113222 third-party-advisory