Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
monkeytypegame monkeytype
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Monkeytype 是一款极简且可定制的打字测试工具。在 26.43.0 版本之前,其 工作流在 事件上触发,并拥有仓库写入权限;该工作流会检出来自分支的拉取请求(PR),从该分支的 安装依赖,并执行由分支控制者提供的 二进制文件。由于 会在不受信任的代码执行之前,将高权限的 持久化到 Git 配置中,任何外部贡献者只要其拉取请求被标记为 "format",即可执行任意代码、读取或窃取该令牌,进而推送仓库内容或修改拉取请求与问题(Issues)。此问题仅影响该仓库的 CI 工作流,不涉及 Monkeytype 应

CVSS 9.3 · Critical EPSS 0.32% · P25

Affected Version Matrix 1

VendorProduct Version RangeStatus
monkeytypegame monkeytype < 26.43.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-118762

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Monkeytype: fork PR can execute code with elevated GITHUB_TOKEN
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
从非可信控制范围包含功能例程
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
monkeytypegame monkeytype < 26.43.0 -

II. Public POCs for CVE-2026-118762

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-118762

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-118762 (1)

Vendor Advisories for CVE-2026-118762 (1)

Vendor Pages for CVE-2026-118762 (1)

IV. Related Vulnerabilities