Monkeytype: fork PR can execute code with elevated GITHUB_TOKEN
Impact
Monkeytype versions prior to 26.43.0 have a vulnerability where a forked pull request can execute code with elevated GITHUB_TOKEN permissions. An external contributor can run arbitrary code and access the token. The issue affects the repository CI workflow.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
monkeytypegame · GitHub_M
monkeytype
1 range
monkeytypegame · GitHub_M
monkeytype
Compare with this publisher’s ranges. This does not inspect your installation.
affected
< 26.43.0
Other versions: unknown
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-118762View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.