CVE-2020-26226
JSON

8.1high

Secret disclosure in semantic-release

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
1.40% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-r2j6-p67h-q639

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

Product or packageVersionsReported by
semantic-release semantic-release< 6.1.5CVE List
semantic-release (npm)before 17.2.3GitHub Advisory Database
semantic-release_project semantic-releasebefore 17.2.3NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches

Fixed in v17.2.3

Workarounds

Secrets that do not contain characters that become encoded when included in a URL are already masked properly.

NVD (es)

En el paquete npm semantic-release anterior a versión 17.2.3, los secretos que normalmente estarían enmascarados por "semantic-release" pueden ser revelados accidentalmente si contienen caracteres que se codifican cuando se incluían en una URL.&#xa0;Los secretos que no contienen caracteres que vienen codificados cuando se incluían en una URL ya están enmascarados correctamente.&#xa0;El problema es corregido en la versión 17.2.3

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26226 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-r2j6-p67h-q639 changed 2026-09-10CC-BY-4.0
NVDCVE-2020-26226 changed 2026-06-17Public domain