CVE-2026-118762
published critical CVSS 3.1 · 9.3Monkeytype: fork PR can execute code with elevated GITHUB_TOKEN
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| monkeytypegame | — | monkeytype< 26.43.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| monkeytypegame | monkeytype | < 26.43.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere
References
3Provider assertions
2GitHub_M · cna
Monkeytype: fork PR can execute code with elevated GITHUB_TOKEN
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4132319dec28ccb087ba9302bfb291fd69daf91828445c1c26230d179aa67d2e
- Ingested
- 04 Nov 2026, 01:43:02 UTC
- Source record
- Official CVE record