sadrobot

← Back to the monthly list

CVE-2026-118762 monkeytypegame · monkeytype

9.3 Critical

AI summary

The Monkeytype repository's fix-formatting.yml GitHub workflow before 26.43.0 runs fork-controlled code under pull_request_target with write permissions. An external contributor whose pull request gets the format label can run arbitrary code, steal the GITHUB_TOKEN and modify repository content, issues and PRs. Only the CI is affected, not the app or user data; critical (CVSS 9.3), fixed in 26.43.0.

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.

Published
2026-10-29 17:18 UTC
Modified
2026-11-04 02:17 UTC
CVSS
9.3 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS
0.46% (percentile 32)
ENISA EUVD
EUVD-2026-113222
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: total
CWE
CWE-829

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
required
Scope
changed
Confidentiality
high
Integrity
high
Availability
none

References