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.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g
Patch, Third Party Advisory x_refsource_misc
https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a
Third Party Advisory x_refsource_misc
https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1
Scores
CVSS v3
8.7
EPSS
0.0034
EPSS Percentile
56.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Details
CWE
CWE-78
Status
published
Products (1)
git-tag-annotation-action_project/git-tag-annotation-action
< 1.0.1
Published
Oct 26, 2020
Tracked Since
Feb 18, 2026