A race is possible between the file updater and the Druid process reading the file. It could be enforced only with mandatory file locking, but file locking is advisory by default in Linux.
If Druid targets only Linux (is it?) probably some Linux-specific code could be added to configure mandatory file locking for sessionCredentialsFile.