7.8

CVE-2026-55895: Vim: Vimscript Code Injection in netrw NetrwLocalRmFile() via crafted filename

Analyzed
AliasesALPINE-CVE-2026-55895UBUNTU-CVE-2026-55895DEBIAN-CVE-2026-55895
Published 25-06-2026Last modified 26-06-2026

Vulnerability summary

CVE-2026-55895 is a high (CVSS 7.8) vulnerability in vim. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.15%
0%100%
Low · -0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 1

Timeline

  1. 25-06-2026
    PublishedVulnerability first disclosed.
  2. 26-06-2026
    Last modifiedVulnerability information updated.

Description

Vim is an open source, command line text editor. Prior to 9.2.0663, a Vimscript code injection vulnerability exists in s:NetrwLocalRmFile() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when deleting a local file from the browser. A filename derived from the buffer's directory listing is interpolated into an Ex command line passed to :execute with only the backslash character escaped, allowing a crafted filename containing a bar (|) to terminate the intended command and execute arbitrary Vimscript, including shell commands via :call system() and :!. This vulnerability is fixed in 9.2.0663.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

Decrease -0.07 pp

From 0.23% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • vim< 9.2.0854-r0 | < 9.2.0663-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.1.1230-2+deb13u1 | < 2:9.2.0782-1
Ubuntu1 product
  • vim< 2:7.4.1689-3ubuntu1.5+esm36 | < 2:8.0.1453-1ubuntu1.13+esm21 | < 2:8.1.2269-1ubuntu5.32+esm9 | < 2:8.2.3995-1ubuntu2.33 | < 2:9.1.0016-1ubuntu7.17 | < 2:9.1.0967-1ubuntu6.8 | < 2:9.1.2141-1ubuntu4.6
Vim1 product

4 vendors · 4 products

References

9 links