A group of Israeli researchers explored the security of the Visual Studio Code marketplace and managed to "infect" over 100 organizations by trojanizing a copy of the popular 'Dracula Official theme to include risky code. Further research into the VSCode Marketplace found thousands of extensions with millions of installs.
You can install themes directly from the theme selector.
Even worse, it also previews the theme when selected. I hope that the logic they use for that feature works in a simpler way.
I checked the logic and there is no rce.