Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15692
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:54 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-15692
Complete source record
{
"id": "dc644b1426becb2d7f17c3e1ad1c0435560cc85f4cc8a157976927efadaa120d",
"url": "https://osv.dev/vulnerability/CVE-2020-15692",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15692",
"summary": "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.",
"evidence": "osv:CVE-2020-15692",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-15692",
"aliases": [
"CVE-2020-15692"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nim-lang/nim",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "bf320ed172f74f60fd274338e82bdc9ce3520dd9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.2.6"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.2.6",
"v1.2.4",
"v1.2.2",
"v1.2.0",
"v1.0.0",
"v0.20.0",
"v0.19.0",
"v0.18.0",
"v0.17.2",
"v0.17.0",
"v0.16.0",
"v0.15.2",
"v0.14.2",
"v0.15.0",
"v0.14.0",
"v0.13.0",
"v0.12.0",
"v0.11.2",
"v0.11.0",
"v0.10.2",
"v0.9.4",
"v0.9.2",
"v0.9.0",
"v0.8.14"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15692.json"
}
}
],
"modified": "2026-10-20T10:52:02.849499205Z",
"provider": "osv",
"references": [
"https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html",
"https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/browsers.nim#L48",
"https://consensys.net/diligence/vulnerabilities/nim-browsers-argument-injection/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15692",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383222,
"published_at": "2020-08-14T19:15:12.317+00:00"
}