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
- 3:7.4.629-5.2.el6.tuxcare.els51
- CVEs
- CVE-2026-42307
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 10:58 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-1779273587
vim-X11
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els51
vim-common
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els51
vim-enhanced
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els51
vim-filesystem
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els51
vim-minimal
Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els51
Complete source record
{
"id": "4e79e594c6691b67f1d3b503ecdfc716035783e4fddd69cd644f90c26d9d427d",
"url": "https://osv.dev/vulnerability/CLSA-2026-1779273587",
"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-1779273587",
"products": [
{
"name": {
"value": "vim-X11",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els51",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-common",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els51",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-enhanced",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els51",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-filesystem",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els51",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "vim-minimal",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:7.4.629-5.2.el6.tuxcare.els51",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2026-1779273587",
"aliases": [
"CLSA-2026-1779273587"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els51"
}
]
}
],
"package": {
"name": "vim-X11",
"purl": "pkg:rpm/tuxcare/vim-X11?distro=centos-6",
"ecosystem": "TuxCare:CentOS:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos6els/CLSA-2026-1779273587.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els51"
}
]
}
],
"package": {
"name": "vim-common",
"purl": "pkg:rpm/tuxcare/vim-common?distro=centos-6",
"ecosystem": "TuxCare:CentOS:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos6els/CLSA-2026-1779273587.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els51"
}
]
}
],
"package": {
"name": "vim-enhanced",
"purl": "pkg:rpm/tuxcare/vim-enhanced?distro=centos-6",
"ecosystem": "TuxCare:CentOS:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos6els/CLSA-2026-1779273587.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els51"
}
]
}
],
"package": {
"name": "vim-filesystem",
"purl": "pkg:rpm/tuxcare/vim-filesystem?distro=centos-6",
"ecosystem": "TuxCare:CentOS:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos6els/CLSA-2026-1779273587.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:7.4.629-5.2.el6.tuxcare.els51"
}
]
}
],
"package": {
"name": "vim-minimal",
"purl": "pkg:rpm/tuxcare/vim-minimal?distro=centos-6",
"ecosystem": "TuxCare:CentOS:6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos6els/CLSA-2026-1779273587.json"
}
}
],
"modified": "2026-10-26T09:31:38.654896103Z",
"provider": "osv",
"upstream": [
"CVE-2026-42307"
],
"references": [
"https://errata.tuxcare.com/els_os/centos6els/CLSA-2026-1779273587.html"
]
},
"related_cves": [
{
"value": "CVE-2026-42307",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 447968,
"published_at": "2026-05-21T10:40:11+00:00"
}