CVE-2026-118762 Monkeytype: fork PR can execute code with elevated GITHUB_TOKEN

Critical 9.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-118762?

CVE-2026-118762 is a critical vulnerability in monkeytypegame monkeytype, published on 29 Oct 2026.

Official 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.

Weakness: CWE-829

Which versions are affected by CVE-2026-118762?

How do I fix CVE-2026-118762?

No fix has been published for CVE-2026-118762 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-118762 being exploited?

There is no known exploitation of CVE-2026-118762 in the wild and no public exploit code.

Sources

Also known as GHSA-47v3-j88w-92f8.

Is CVE-2026-118762 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free