CVE-2020-15272

Shell-injection in git-tag-annotation GitHub action

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.

Category

8.7
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.34%
Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory github.com
Affected: ericcornelissen git-tag-annotation-action
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2020-15272?
CVE-2020-15272 has been scored as a high severity vulnerability.
How to fix CVE-2020-15272?
To fix CVE-2020-15272, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-15272 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2020-15272 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-15272?
CVE-2020-15272 affects ericcornelissen git-tag-annotation-action.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.