Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 88%

Vim: Vimscript Code Injection in netrw NetrwBookHistSave() via crafted directory name

0
Unknown
Published: 06/02/2026 (06/02/2026, 00:00:00 UTC)
Source: GCVE Database
Vendor/Project: Microsoft Security Response Center
Product: Microsoft

Description

To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle

Affected software

GitHub Actionsmore threats →ai
vim/vim
pkg:github/vim/vim
Affected versions
=3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/13/2026, 10:26:25 UTC

Technical Analysis

This vulnerability allows Vimscript code injection via the netrw plugin's NetrwBookHistSave() function by using a specially crafted directory name. The issue is identified as CWE-74, which involves improper neutralization of code elements leading to code injection. The affected product is Vim version 3.0. There is no CVSS score or detailed vendor advisory available, and no patch or fix information is provided at this time.

Potential Impact

Successful exploitation could allow an attacker to inject and execute arbitrary Vimscript code within the context of the affected Vim process. This could lead to unauthorized actions or compromise of the user's environment where Vim is run. However, no known exploits are currently reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should exercise caution when opening directories with untrusted or suspicious names in Vim version 3.0, especially involving the netrw plugin.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_vex
Csaf Version
2.0
Publisher
Microsoft Security Response Center
Advisory Id
msrc_CVE-2026-47162
Cve Count
1
Additional Cves
[]
Cvss Version
null

Threat ID: 6a2d2f90e617e2d834b6ed6a

Added to database: 06/13/2026, 10:23:12 UTC

Last enriched: 06/13/2026, 10:26:25 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 100

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses