What’s Vulnerable › Vulnerabilities
CVE-2020-15272: Shell-injection in git-tag-annotation GitHub action
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-10-26 · updated 2026-06-17
- Weakness: CWE-78
Description
In the git-tag-annotation-action (open source GitHub Action) before version 1.0.1, an attacker can execute arbitrary (*) shell commands if they can control the value of [the `tag` input] or manage to alter the value of [the `GITHUB_REF` environment variable]. The problem has been patched in version 1.0.1. If you don't use the `tag` input you are most likely safe. The `GITHUB_REF` environment variable is protected by the GitHub Actions environment so attacks from there should be impossible. If you must use the `tag` input and cannot upgrade to `> 1.0.0` make sure that the value is not controlled by another Action.
Affected products
- ericcornelissen git-tag-annotation-action: before 1.0.1 — fixed in 1.0.1
How to fix
Upgrade to a fixed version: ericcornelissen git-tag-annotation-action 1.0.1. Check the vendor advisory for mitigations.
References
- https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a
- https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1
- https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g
- https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a
- https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1
- https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g
Get alerted when CVE-2020-15272 or the next vulnerability affects your stack