Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-15272

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-15272
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:53 UTC · Revision 1

Source evidence

CVE-2020-15272

core-osv · Original source

Published 26 Oct 2020, 19:15 UTC

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.

osv:CVE-2020-15272
Complete source record
{
  "id": "c33cca328e7fe5e039d1269459bda8ef74dd152192e97f4ece9585ae7e41ba95",
  "url": "https://osv.dev/vulnerability/CVE-2020-15272",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-15272",
    "summary": "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.",
    "evidence": "osv:CVE-2020-15272",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-15272",
      "aliases": [
        "CVE-2020-15272",
        "GHSA-hgx2-4pp9-357g"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ericcornelissen/git-tag-annotation-action",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "21fa0360d55070a1d6b999d027db44cc21a7b48d"
                },
                {
                  "fixed": "9f30756375cc4b1b6c66f274fc9c591fa901455a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:git-tag-annotation-action_project:git-tag-annotation-action:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9f30756375cc4b1b6c66f274fc9c591fa901455a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "21fa0360d55070a1d6b999d027db44cc21a7b48d"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.0.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15272.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:54.433958141Z",
      "provider": "osv",
      "references": [
        "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"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-15272",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383118,
  "published_at": "2020-10-26T19:15:12.77+00:00"
}