# CVE-2021-32724: check-spelling workflow vulnerable to GITHUB_TOKEN leakage via symlink attack

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- 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): 2.33%, higher than 84% of CVEs (2026-12-01)
- Published: 2021-09-09T21:00:11.000Z
- Modified: 2026-07-08T06:28:43.930Z
- Also known as: GHSA-g86g-chm8-7r2p
- Weaknesses: CWE-532
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- check-spelling check-spelling: < 0.0.19; before 0.0.19
- check-spelling/check-spelling (GitHub Actions): before 0.0.19

## Every score

- GitHub_M: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p> (mitigation, third-party-advisory, web)
- <https://github.com/check-spelling/check-spelling/commit/436362fc6b588d9d561cbdb575260ca593c8dc56> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32724> (advisory)
- <https://github.com/check-spelling/check-spelling> (package)
- <https://github.com/check-spelling/check-spelling/releases/tag/v0.0.19> (web)

## Sources

- CVE List: [CVE-2021-32724](https://www.cve.org/CVERecord?id=CVE-2021-32724), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-g86g-chm8-7r2p](https://github.com/advisories/GHSA-g86g-chm8-7r2p), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-32724](https://nvd.nist.gov/vuln/detail/CVE-2021-32724), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32724 · Whole record: https://cve.day/CVE-2021-32724.json · Rebuilt by cve.day 2026-11-25T22:58:03.872Z
