# CVE-2021-32724: check-spelling workflow vulnerable to GITHUB\_TOKEN leakage via symlink attack

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.33% (percentile 84, 2026-11-26)
- **CWE:** CWE-532
- **Published:** 2021-09-09T21:00:11.000Z
- **Modified:** 2026-06-17T03:53:30.233Z

## Who should check

- Anyone running check-spelling \< 0.0.19

## Description

check-spelling is a github action which provides CI spell checking. In affected versions and for a repository with the \[check-spelling action\](https://github.com/marketplace/actions/check-spelling) enabled that triggers on \`pull\_request\_target\` (or \`schedule\`), an attacker can send a crafted Pull Request that causes a \`GITHUB\_TOKEN\` to be exposed. With the \`GITHUB\_TOKEN\`, it's possible to push commits to the repository bypassing standard approval processes. Commits to the repository could then steal any/all secrets available to the repository. As a workaround users may can either: \[Disable the workflow\](https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow) until you've fixed all branches or Set repository to \[Allow specific actions\](https://docs.github.com/en/github/administering-a-repository/managing-repository-settings/disabling-or-limiting-github-actions-for-a-repository\#allowing-specific-actions-to-run). check-spelling isn't a verified creator and it certainly won't be anytime soon. You could then explicitly add other actions that your repository uses. Set repository \[Workflow permissions\](https://docs.github.com/en/github/administering-a-repository/managing-repository-settings/disabling-or-limiting-github-actions-for-a-repository\#setting-the-permissions-of-the-github\_token-for-your-repository) to \`Read repository contents permission\`. Workflows using \`check-spelling/check-spelling@main\` will get the fix automatically. Workflows using a pinned sha or tagged version will need to change the affected workflows for all repository branches to the latest version. Users can verify who and which Pull Requests have been running the action by looking up the spelling.yml action in the Actions tab of their repositories, e.g., https://github.com/check-spelling/check-spelling/actions/workflows/spelling.yml - you can filter PRs by adding ?query=event%3Apull\_request\_target, e.g., https://github.com/check-spelling/check-spelling/actions/workflows/spelling.yml?query=event%3Apull\_request\_target.

## Affected and fixed versions

- check-spelling: \< 0.0.19 (cvelist)

## Mitigation

- Upgrade check-spelling to 0.0.19 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-32724. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-32724.md
Affected: check-spelling < 0.0.19
Fixed in: check-spelling 0.0.19

Steps:
1. Search this machine and project for check-spelling: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-32724 being exploited?

There is no confirmed exploitation: CVE-2021-32724 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-32724?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2021-32724?

check-spelling \< 0.0.19.

### Is there a fix for CVE-2021-32724?

Yes. Fixed in check-spelling 0.0.19. Upgrade check-spelling to 0.0.19 or later.

### How do I check if I'm affected by CVE-2021-32724?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p>
- patch: <https://github.com/check-spelling/check-spelling/commit/436362fc6b588d9d561cbdb575260ca593c8dc56>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-32724>

HTML: <https://flawdb.com/CVE-2021-32724> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-32724>
