UnratedFix available
vim: Fix of CVE-2026-42307
Type: advisorySources: OSV
- CVE-2026-42307: fix OS command injection in netrw plugin via crafted sftp:// URLs by hardening the tempfile suffix regex and escaping the tempfile argument before passing it to the sftp command
- Products
- vim-X11, vim-common, vim-enhanced, vim-filesystem, vim-minimal
- Affected versions
- Not specified
- Fixed versions
- 2:7.4.629-8.0.1.el7_9.tuxcare.els16
- CVEs
- CVE-2026-42307
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 11:00 UTC · Revision 1
Source evidence
- CVE-2026-42307: fix OS command injection in netrw plugin via crafted sftp:// URLs by hardening the tempfile suffix regex and escaping the tempfile argument before passing it to the sftp command
osv:CLSA-2026-1779280197
vim-X11
Fixed versions: 2:7.4.629-8.0.1.el7_9.tuxcare.els16
vim-common
Fixed versions: 2:7.4.629-8.0.1.el7_9.tuxcare.els16
vim-enhanced
Fixed versions: 2:7.4.629-8.0.1.el7_9.tuxcare.els16
vim-filesystem
Fixed versions: 2:7.4.629-8.0.1.el7_9.tuxcare.els16
vim-minimal
Fixed versions: 2:7.4.629-8.0.1.el7_9.tuxcare.els16
Complete source record
{
"id": "5061df2fd9d27fb80a31a4f91d4e139256d0e647260dbcaa7558228d1e750e7f",
"url": "https://osv.dev/vulnerability/CLSA-2026-1779280197",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "vim: Fix of CVE-2026-42307",
"summary": "- CVE-2026-42307: fix OS command injection in netrw plugin via crafted sftp:// URLs by hardening the tempfile suffix regex and escaping the tempfile argument before passing it to the sftp command",
"evidence": "osv:CLSA-2026-1779280197",
"products": [
{
"name": {
"value": "vim-X11",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:7.4.629-8.0.1.el7_9.tuxcare.els16",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-common",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:7.4.629-8.0.1.el7_9.tuxcare.els16",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-enhanced",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:7.4.629-8.0.1.el7_9.tuxcare.els16",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-filesystem",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:7.4.629-8.0.1.el7_9.tuxcare.els16",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-minimal",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:7.4.629-8.0.1.el7_9.tuxcare.els16",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2026-1779280197",
"aliases": [
"CLSA-2026-1779280197"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:7.4.629-8.0.1.el7_9.tuxcare.els16"
}
]
}
],
"package": {
"name": "vim-X11",
"purl": "pkg:rpm/tuxcare/vim-X11?distro=centos-7",
"ecosystem": "TuxCare:CentOS:7"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1779280197.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:7.4.629-8.0.1.el7_9.tuxcare.els16"
}
]
}
],
"package": {
"name": "vim-common",
"purl": "pkg:rpm/tuxcare/vim-common?distro=centos-7",
"ecosystem": "TuxCare:CentOS:7"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1779280197.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:7.4.629-8.0.1.el7_9.tuxcare.els16"
}
]
}
],
"package": {
"name": "vim-enhanced",
"purl": "pkg:rpm/tuxcare/vim-enhanced?distro=centos-7",
"ecosystem": "TuxCare:CentOS:7"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1779280197.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:7.4.629-8.0.1.el7_9.tuxcare.els16"
}
]
}
],
"package": {
"name": "vim-filesystem",
"purl": "pkg:rpm/tuxcare/vim-filesystem?distro=centos-7",
"ecosystem": "TuxCare:CentOS:7"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1779280197.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:7.4.629-8.0.1.el7_9.tuxcare.els16"
}
]
}
],
"package": {
"name": "vim-minimal",
"purl": "pkg:rpm/tuxcare/vim-minimal?distro=centos-7",
"ecosystem": "TuxCare:CentOS:7"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1779280197.json"
}
}
],
"modified": "2026-10-26T09:31:41.100633429Z",
"provider": "osv",
"upstream": [
"CVE-2026-42307"
],
"references": [
"https://errata.tuxcare.com/els_os/centos7els/CLSA-2026-1779280197.html"
]
},
"related_cves": [
{
"value": "CVE-2026-42307",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 448094,
"published_at": "2026-05-21T15:42:59+00:00"
}