CVE Catalog

CVE-2026-118762

CriticalCVSS 9.3
Published: Updated: Translated: NVD NIST

Summary

In the Monkeytype repository, 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 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, and is fixed in version 26.43.0.

Risk Assessment

An attacker could steal a write-scoped repository token and inject malicious changes into code or CI configuration, risking software supply chain compromise. The risk concerns repository integrity and the release process, not application user data.

Recommendation

Upgrade the repository to version 26.43.0, which fixes the issue, and review pull_request_target-based workflows for least privilege and avoidance of executing untrusted fork code.

Other vulnerabilities in Monkeytype

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS