CVE Explorer
CVE-2026-42307
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"vim","vendor":"vim","versions":[{"status":"affected","version":"< 9.2.0383"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8e2874b2db2f133d6189622842612b6e99ac254aeecbf789b2982f1e168889a8 · sha256:f57721ceb89ddecc… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8e2874b2db2f133d6189622842612b6e99ac254aeecbf789b2982f1e168889a8 · sha256:f57721ceb89ddecc… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8e2874b2db2f133d6189622842612b6e99ac254aeecbf789b2982f1e168889a8 · sha256:f57721ceb89ddecc… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/vim/vim/commit/405e2fb6d54d5653523809e2853d99d1c000a5fc","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/commit/405e2fb6d54d5653523809e2853d99d1c000a5fc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8e2874b2db2f133d6189622842612b6e99ac254aeecbf789b2982f1e168889a8 · sha256:f57721ceb89ddecc… · /containers/cna/references/1
{"name":"https://github.com/vim/vim/releases/tag/v9.2.0383","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/releases/tag/v9.2.0383"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8e2874b2db2f133d6189622842612b6e99ac254aeecbf789b2982f1e168889a8 · sha256:f57721ceb89ddecc… · /containers/cna/references/2
{"name":"https://github.com/vim/vim/security/advisories/GHSA-85ch-p2qr-m5gx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vim/vim/security/advisories/GHSA-85ch-p2qr-m5gx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8e2874b2db2f133d6189622842612b6e99ac254aeecbf789b2982f1e168889a8 · sha256:f57721ceb89ddecc… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.