Use the shortcut 'c' to open the commit finder anywhere in Bitbucket. Then, the commit finder dialog appears and you can enter any length of a prefix for a SHA hash of a commit of any repository in the dialog box:
Then, if If you got get multiple results, use the arrow keys to navigate to a commit and press ENTER to go to its commit details page.