WinRAR shouldn't be setting those attributes, and the 7z format shouldn't really preserve them in the first place IMO (and Windows shouldn't allow them to be set in that way, but does for some reason).
We fixed the same problem with 7z archives in Opus a few years ago by filtering what the archive reports as the attributes to only allow attributes that make sense. WinRAR probably needs the same fix to avoid causing the same problem when extracting such archives.