# CVE-2020-15692: In Nim 1.2.4, the standard library browsers mishandles the URL argument to browsers.openDefaultBrowser.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 4.21%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-08-14T18:45:35.000Z
- Modified: 2026-06-17T02:57:03.703Z
- Weaknesses: CWE-88
- Assigned by: mitre

## Description

In Nim 1.2.4, the standard library browsers mishandles the URL argument to browsers.openDefaultBrowser. This argument can be a local file path that will be opened in the default explorer. An attacker can pass one argument to the underlying open command to execute arbitrary registered system commands.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nim-lang nim: up to 1.2.6

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <http://www.openwall.com/lists/oss-security/2021/02/04/1> (exploit, mailing-list, third-party-advisory)
- <https://consensys.net/diligence/vulnerabilities/nim-browsers-argument-injection/> (exploit, third-party-advisory)
- <https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/browsers.nim#L48> (patch, third-party-advisory)
- <https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2020-15692](https://www.cve.org/CVERecord?id=CVE-2020-15692), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-15692](https://nvd.nist.gov/vuln/detail/CVE-2020-15692), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15692 · Whole record: https://cve.day/CVE-2020-15692.json · Rebuilt by cve.day 2026-11-25T22:57:54.190Z
