The article even says so if you read all the way to the end.
Which is kind of pointless because the ls command is probably executed through a shell anyways.
So technically correct. But getting root or running a shell usually means you can run arbitrary commands, which is a check here (albeit I wouldn't say there's root access)
It is like reporting that AWS lambda is susceptible to arbitrary code execution.