If other people have access to your computer
Is the important bit (as you know)...
Also, the issue isn't really the absence of a root password per se, since root is not enabled by default on MacOS (and never has been), but that it turns out it is trivially easy to enable it. I suspect Apple made the (obviously erroneous) assumption that only people who knew what they were doing would know how to enable root. So although the workaround is to add a password, that isn't the fix because it should be (but isn't) moot for most users.
This (if I have read correctly - was in a bit of a rush) was found looking for a solution to a different issue - how to reinstate an admin (non-root) account that has been accidentally de-admined.