CVE-2026-118762
JSON

9.3critical

Monkeytype: fork PR can execute code with elevated GITHUB_TOKEN

Severity
9.3critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
monkeytypegame monkeytype< 26.43.0CVE List

Classification

CWE-829

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-118762 changed 2026-11-04CVE Terms of Use
NVDCVE-2026-118762 changed 2026-11-04Public domain