new file mode 100644
@@ -0,0 +1,104 @@
+From 8af0f098c3a42a28661d0295364e6e0fd7dbc92c Mon Sep 17 00:00:00 2001
+From: Christian Brabandt <cb@256bit.org>
+Date: Thu, 14 May 2026 16:43:15 +0000
+Subject: [PATCH] patch 9.2.0480: [security]: runtime(netrw): code injection
+ via mf command
+
+Problem: [security]: runtime(netrw): code injection via mf command
+ (Christopher Lusk, Zdenek Dohnal)
+Solution: Do not use string concatenation inside the filter() commands
+ (Zdenek Dohnal)
+
+Github Security Advisory:
+https://github.com/vim/vim/security/advisories/GHSA-66hr-7p6x-x5j3
+
+Signed-off-by: Christian Brabandt <cb@256bit.org>
+
+Upstream-Status: Backport [https://github.com/vim/vim/commit/8af0f098c3a42a28661d0295364e]
+CVE: CVE-2026-43961
+Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
+---
+ runtime/pack/dist/opt/netrw/autoload/netrw.vim | 7 +++----
+ src/testdir/test_plugin_netrw.vim | 15 +++++++++++++++
+ src/version.c | 2 ++
+ 3 files changed, 20 insertions(+), 4 deletions(-)
+
+diff --git a/runtime/pack/dist/opt/netrw/autoload/netrw.vim b/runtime/pack/dist/opt/netrw/autoload/netrw.vim
+index 78ce0cbc3c..3a460e675b 100644
+--- a/runtime/pack/dist/opt/netrw/autoload/netrw.vim
++++ b/runtime/pack/dist/opt/netrw/autoload/netrw.vim
+@@ -5175,7 +5175,7 @@ function s:NetrwMarkFile(islocal,fname)
+
+ else
+ " remove filename from buffer's markfilelist
+- call filter(s:netrwmarkfilelist_{curbufnr},'v:val != a:fname')
++ call filter(s:netrwmarkfilelist_{curbufnr}, {_, v -> v !=# a:fname})
+ if s:netrwmarkfilelist_{curbufnr} == []
+ " local markfilelist is empty; remove it entirely
+ call s:NetrwUnmarkList(curbufnr,curdir)
+@@ -5196,7 +5196,6 @@ function s:NetrwMarkFile(islocal,fname)
+
+ else
+ " initialize new markfilelist
+-
+ let s:netrwmarkfilelist_{curbufnr}= []
+ call add(s:netrwmarkfilelist_{curbufnr},substitute(a:fname,'[|@]$','',''))
+
+@@ -5216,7 +5215,7 @@ function s:NetrwMarkFile(islocal,fname)
+ call add(s:netrwmarkfilelist,netrw#fs#ComposePath(b:netrw_curdir,a:fname))
+ else
+ " remove new filename from global markfilelist
+- call filter(s:netrwmarkfilelist,'v:val != "'.dname.'"')
++ call filter(s:netrwmarkfilelist, {_, v -> v !=# dname})
+ if s:netrwmarkfilelist == []
+ unlet s:netrwmarkfilelist
+ endif
+@@ -7235,7 +7234,7 @@ function s:NetrwTreeDisplay(dir,depth)
+ " hide given patterns
+ let listhide= split(g:netrw_list_hide,',')
+ for pat in listhide
+- call filter(w:netrw_treedict[dir],'v:val !~ "'.escape(pat,'\\').'"')
++ call filter(w:netrw_treedict[dir], {_, v -> v !~# pat})
+ endfor
+
+ elseif g:netrw_hide == 2
+diff --git a/src/testdir/test_plugin_netrw.vim b/src/testdir/test_plugin_netrw.vim
+index 6be32911ce..7b34b52562 100644
+--- a/src/testdir/test_plugin_netrw.vim
++++ b/src/testdir/test_plugin_netrw.vim
+@@ -629,4 +629,19 @@ func Test_netrw_RFC2396()
+ endtry
+ endfunc
+
++func Test_netrw_mf_command_injection()
++ CheckUnix
++ CheckExecutable touch
++ let path = tempname()
++ let fname = 'x" . execute("silent! !touch poc") . "'
++ call mkdir(path, 'R')
++ exe "cd " path
++ call writefile([], fname)
++ Explore .
++ call search('^x')
++ :norm mf
++ :norm mf
++ call assert_false(filereadable('poc'), 'Command injection via mf command')
++endfunc
++
+ " vim:ts=8 sts=2 sw=2 et
+diff --git a/src/version.c b/src/version.c
+index 4508ae3f18..64008e0f37 100644
+--- a/src/version.c
++++ b/src/version.c
+@@ -734,6 +734,8 @@ static char *(features[]) =
+
+ static int included_patches[] =
+ { /* Add new patch number below this line */
++/**/
++ 480,
+ /**/
+ 383,
+ /**/
+--
+2.34.1
+
@@ -34,6 +34,7 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV}
file://CVE-2026-59857.patch \
file://CVE-2026-59858.patch \
file://CVE-2026-42307.patch \
+ file://CVE-2026-43961.patch \
"
PV .= ".0340"