Toyota suffered a data breach due to accidentally exposing a secret key on GitHub, which was accessible for nearly 5 years and potentially exposed data for over 290,000 customers. The key was hardcoded in a public repository, allowing access to a server that managed customer information. Toyota has since invalidated the key and begun outreach to affected customers. The incident highlights the importance of proper key management and security practices.