Live threats

All CVEs / Vim

CVE-2008-4677Vim Netrw

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Oct 22, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-255
Vector
AV:N/AC:M/Au:N/C:P/I:N/A:N

What happens

autoload/netrw.vim (aka the Netrw Plugin) 109, 131, and other versions before 133k for Vim 7.1.266, other 7.1 versions, and 7.2 stores credentials for an FTP session, and sends those credentials when attempting to establish subsequent FTP sessions to servers on different hosts, which allows remote FTP servers to obtain sensitive information in opportunistic circumstances by logging usernames and passwords. NOTE: the upstream vendor disputes a vector involving different ports on the same host, stating "I'm assuming that they're using the same id and password on that unchanged hostname, deliberately."

Original NVD text.

What to do

  1. Apply the vendor's security update for Netrw.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
vimnetrw109
vimnetrw110
vimnetrw111
vimnetrw112
vimnetrw113
vimnetrw114
vimnetrw115
vimnetrw116
vimnetrw118
vimnetrw120
vimnetrw121
vimnetrw122
vimnetrw123
vimnetrw128
vimnetrw131

Official sources

References

Links published by the sources. Open them with care.