{"id":"JLSEC-2026-1877","details":"Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3complete.vim for Vim with the +python3 interpreter enabled (and the legacy pythoncomplete.vim for builds with the +python interpreter) executes the import and from statements found in the current buffer through Python's import machinery. Because the buffer's working directory is on sys.path, opening a hostile .py file with a sibling Python package and invoking omni-completion runs that package's top-level code as the editing user. This issue has been patched in version 9.2.0561.","modified":"2026-12-02T14:45:11.556489356Z","published":"2026-12-02T14:32:56.182Z","upstream":["CVE-2026-52858","EUVD-2026-36282"],"database_specific":{"sources":[{"id":"CVE-2026-52858","imported":"2026-12-02T14:11:18.576Z","modified":"2026-06-17T10:57:53.500Z","published":"2026-06-11T19:16:47.487Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-52858","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52858","database_specific":{"status":"Analyzed"},"affected":{"vim:vim":["\u003c 9.2.0561"]}},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36282","affected":{"vim:vim":["\u003c 9.2.0561"]},"id":"EUVD-2026-36282","imported":"2026-12-02T14:11:20.010Z","modified":"2026-06-12T12:48:03Z","published":"2026-06-11T18:32:32Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-36282"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/vim/vim/commit/4b850457e12e1a678dd209f2868154f7553cbf8d"},{"type":"WEB","url":"https://github.com/vim/vim/releases/tag/v9.2.0561"},{"type":"WEB","url":"https://github.com/vim/vim/security/advisories/GHSA-52mc-rq6p-rc7c"}],"affected":[{"package":{"name":"Vim_jll","ecosystem":"Julia","purl":"pkg:julia/Vim_jll?uuid=1e82aed4-b73c-514c-b6b0-721e3fbe9c02"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1877.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}