---
title: "GHSA-r2j6-p67h-q639: Secret disclosure when containing characters that become URI encoded"
description: "High severity. Secret disclosure when containing characters that become URI encoded. Affects semantic-release; fixed in 17.2.3."
url: https://inlinr.com/advisories/GHSA-r2j6-p67h-q639
lang: en
---

[Packages](https://inlinr.com/packages) / [semantic-release](https://inlinr.com/packages/semantic-release) / [Security](https://inlinr.com/packages/semantic-release/security)

High Vulnerability GHSA-r2j6-p67h-q639 CVE-2020-26226 Published 18 Nov 2020

# Secret disclosure when containing characters that become URI encoded

Your version 

Affected releases · [semantic-release](https://inlinr.com/packages/semantic-release)

- 17.x 17.0.0 – 17.2.2 Fixed in 17.2.3
- 16.x and older 0.0.0 – 16.0.4 No fix, no longer updated

On 17.x, the newest line:

```
npm install semantic-release@17.2.3
```

Every release on a timeline

26.x 

1. Not affected

26.0.0 – 26.0.1  
2 releases, latest

17.x 

1. Affected

17.0.0 – 17.2.2  
15 releases
2. Fixed

17.2.3 – 17.4.7  
20 releases

16.x 

1. Affected

16.0.0 – 16.0.4  
5 releases

15.x 

1. Affected

15.0.0 – 15.14.0  
112 releases

14.x 

1. Affected

14.0.0 – 14.0.4  
5 releases

13.x 

1. Affected

13.0.0 – 13.4.1  
14 releases

12.x 

1. Affected

12.0.0 – 12.4.1  
12 releases

11.x 

1. Affected

11.0.0 – 11.2.0  
6 releases

10.x 

1. Affected

10.0.0 – 10.0.1  
2 releases

9.x 

1. Affected

9.0.0 – 9.1.1  
6 releases

8.x 

1. Affected

8.0.0 – 8.2.3  
12 releases

7.x 

1. Affected

7.0.0 – 7.0.2  
3 releases

6.x 

1. Affected

6.0.0 – 6.3.6  
15 releases

5.x 

1. Affected

5.0.0 – 5.0.2  
3 releases

4.x 

1. Affected

4.0.0 – 4.3.5  
14 releases

3.x 

1. Affected

3.0.0 – 3.4.1  
15 releases

2.x 

1. Affected

2.0.0  
1 release

1.x 

1. Affected

1.0.0 – 1.2.1  
5 releases

0.x 

1. Affected

0.0.0 – 0.0.5  
6 releases

352 stable releases of semantic-release, oldest to newest, one row per major.

## What happens

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.

## How it is exploited

Exploitable over the network, with no account and a user to do something.

- **Confidentiality**: high
- **Integrity**: high
- **Availability**: none

CVSS:3.1/​AV:N/​AC:L/​PR:N/​UI:R/​S:U/​C:H/​I:H/​A:N

## References

- [Reference](https://github.com/semantic-release/semantic-release/security/advisories/GHSA-r2j6-p67h-q639 "https://github.com/semantic-release/semantic-release/security/advisories/GHSA-r2j6-p67h-q639")  
github.com/semantic-release/semantic-release/se…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-26226 "https://nvd.nist.gov/vuln/detail/CVE-2020-26226")  
nvd.nist.gov/vuln/detail/CVE-2020-26226
- [Fix commit](https://github.com/semantic-release/semantic-release/commit/ca90b34c4a9333438cc4d69faeb43362bb991e5a "https://github.com/semantic-release/semantic-release/commit/ca90b34c4a9333438cc4d69faeb43362bb991e5a")  
ca90b34

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
