CVE-2026-118762
monkeytypegame monkeytype
- monkeytypegame monkeytype
- Critical
- CVSS 9.3
- No fixed version listed
Summary
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.
From the CVE record.
Read the original description
CVE record
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
No fixed version listed
Affected products
| Product | Affected | Fixed in |
|---|---|---|
| monkeytypegame monkeytype | < 26.43.0 | None listed |
Scores and signals
- Exploitation
- No known exploitation
- Severity
- Critical, CVSS 9.3 (v3.1, scored by GitHub_M)
- Weakness
- CWE-829: Inclusion of Functionality from Untrusted Control Sphere
- Vendor
- monkeytypegame, monkeytype
Timeline
- First listed as critical by cve.now. Affected and fixed versions come from the CVE record, once one is published.