Vim is an open source, command line text editor. Prior to version 9.2.0383, an OS command injection vulnerability exists in the netrw standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the sftp:// or file:// protocol handlers), an attacker can execute arbitrary shell commands with the privileges of the Vim process. This issue has been patched in version 9.2.0383.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42307.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "9.2.0383"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "9.2.0383"
},
{
"fixed": "9.2.0383"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "405e2fb6d54d5653523809e2853d99d1c000a5fc"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v9.2.0383",
"range": [
{
"fixed": "405e2fb6d54d5653523809e2853d99d1c000a5fc"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "9.2.0383"
}
],
"source": "CPE_RANGE"
}
]
}