What’s Vulnerable › Vulnerabilities
CVE-2020-26226: Secret disclosure in semantic-release
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-11-18 · updated 2026-06-17
- Weakness: CWE-116
Description
In the npm package semantic-release before version 17.2.3, secrets that would normally be masked by `semantic-release` can be accidentally disclosed if they contain characters that become encoded when included in a URL. Secrets that do not contain characters that become encoded when included in a URL are already masked properly. The issue is fixed in version 17.2.3.
Affected products
- semantic-release: before 17.2.3 — fixed in 17.2.3
How to fix
Upgrade to a fixed version: semantic-release 17.2.3. Check the vendor advisory for mitigations.
References
- https://github.com/semantic-release/semantic-release/commit/ca90b34c4a9333438cc4d69faeb43362bb991e5a
- https://github.com/semantic-release/semantic-release/security/advisories/GHSA-r2j6-p67h-q639
- https://github.com/semantic-release/semantic-release/commit/ca90b34c4a9333438cc4d69faeb43362bb991e5a
- https://github.com/semantic-release/semantic-release/security/advisories/GHSA-r2j6-p67h-q639
Get alerted when CVE-2020-26226 or the next vulnerability affects your stack