# CVE-2021-32074: Vault GitHub Action did not correctly mask multi-line secrets in output

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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.88%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-07T04:01:29.000Z
- Modified: 2026-06-17T03:52:45.423Z
- Also known as: GHSA-4mgv-m5cm-f9h7
- Weaknesses: CWE-532
- Assigned by: mitre

## Description

HashiCorp vault-action (aka Vault GitHub Action) before 2.2.0 allows attackers to obtain sensitive information from log files because a multi-line secret was not correctly registered with GitHub Actions for log masking.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- hashicorp/vault-action (GitHub Actions): before 2.2.0
- hashicorp vault-action: from 0.1.0 before 2.2.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/hashicorp/vault-action/issues/205> (exploit, third-party-advisory, web)
- <https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md> (third-party-advisory, web)
- <https://github.com/hashicorp/vault-action/pull/208> (patch, third-party-advisory, web)
- <https://discuss.hashicorp.com/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32074> (advisory)
- <https://github.com/hashicorp/vault-action/commit/3526e1be65cf8faf42d6088bc5da8bff596c718a> (web)
- <https://github.com/hashicorp/vault-action> (package)

## Sources

- CVE List: [CVE-2021-32074](https://www.cve.org/CVERecord?id=CVE-2021-32074), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-4mgv-m5cm-f9h7](https://github.com/advisories/GHSA-4mgv-m5cm-f9h7), CC-BY-4.0, modified 2024-01-25
- NVD: [CVE-2021-32074](https://nvd.nist.gov/vuln/detail/CVE-2021-32074), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32074 · Whole record: https://cve.day/CVE-2021-32074.json · Rebuilt by cve.day 2026-11-25T22:58:01.190Z
