# CVE-2020-15272: Shell-injection in git-tag-annotation GitHub action

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- 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): 1.18%, higher than 68% of CVEs (2026-12-01)
- Published: 2020-10-26T18:20:20.000Z
- Modified: 2026-06-17T02:56:24.117Z
- Weaknesses: CWE-78
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- ericcornelissen git-tag-annotation-action: < 1.0.1
- git-tag-annotation-action_project git-tag-annotation-action: before 1.0.1

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: 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.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g> (third-party-advisory)
- <https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a> (patch, third-party-advisory)
- <https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-15272](https://www.cve.org/CVERecord?id=CVE-2020-15272), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-15272](https://nvd.nist.gov/vuln/detail/CVE-2020-15272), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15272 · Whole record: https://cve.day/CVE-2020-15272.json · Rebuilt by cve.day 2026-11-25T22:57:55.465Z
