It wouldn't surprise me if they also could execute code.
They sat on external blue for 5 year before it was stolen and they disclosed the vulnerability to Microsoft.
https://en.wikipedia.org/wiki/EternalBlue
I don't see why we wouldn't assume there is always something similar in their armoury.