It was found that the :source! command was not restricted by the sandbox mode. If modeline was explicitly enabled, opening a specially crafted text file in vim could result in arbitrary command execution.
2:7.4.629-5.el6_10.22:7.4.160-6.el7_62:8.0.1763-11.el8_02:7.4.160-2.el7_4.12:7.4.160-4.el7_5.1Exploitability
AV:LAC:LPR:NUI:RScope
S:UImpact
C:LI:LA:L5.3/CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L