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

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-29T16:50:44.341Z
- Modified: 2026-11-04T02:17:15.520Z
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- monkeytypegame monkeytype: < 26.43.0

## References

- <https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-47v3-j88w-92f8> (exploit)
- <https://github.com/monkeytypegame/monkeytype/commit/592ce1becb9b6824badc14a803bcd9268cbea382>
- <https://github.com/monkeytypegame/monkeytype/releases/tag/v26.43.0>

## Sources

- CVE List: [CVE-2026-118762](https://www.cve.org/CVERecord?id=CVE-2026-118762), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-118762](https://nvd.nist.gov/vuln/detail/CVE-2026-118762), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-118762 · Whole record: https://cve.day/CVE-2026-118762.json · Rebuilt by cve.day 2026-11-25T22:59:47.812Z
