The B2 Command Line Tool contains a key disclosure vulnerability that can be exploited by local attackers through a time-of-check-time-of-use (TOCTOU) race condition. The tool saves API keys in a local database file (`$XDG CONFIG HOME/b2/account info`, `~/.b2 account info` or a user-defined path) when `b2 authorize-account` is first run. The file is initially world readable and later altered to be private to the user, allowing a local attacker to read the contents during the brief period between file creation and permission modification.