Hardware wallets are regarded as one of the safest means of storing bitcoin and other cryptocurrencies, but they are not immune from all forms of attack.
Source: Ledger Addresses Man in the Middle Attack That Threatens Millions of Hardware Wallets – Bitcoin News