Credential Stuffing

Credential stuffing is an automated attack in which criminals take usernames and passwords leaked in one breach and try them on many other sites, betting that people reuse the same password.

IntermediateCategory: Passwords, authentication and identity

Also called: credential stuffing attack, password reuse attack, account takeover

OWASP describes credential stuffing as the automated injection of stolen username and password pairs into website login forms to gain access to user accounts. Billions of credentials from past breaches circulate online, and attackers use bots to try them against email, banking, retail and business apps at scale.

It differs from a brute-force attack. The attacker isn't guessing passwords. They are replaying real ones, so even a small success rate yields many accounts. It works because people reuse passwords, including between personal and work accounts.

For a business, credential stuffing threatens two things:

  • Your staff accounts, such as email, VPN and cloud apps, if employees reuse passwords that leaked from another site.
  • Your customer logins, if you run a website or app with accounts.

OWASP lists multifactor authentication as the main defense. Other controls include checking new passwords against known breached passwords, rate limiting login attempts, bot detection, and alerting on spikes in failed logins. Passkeys remove the problem entirely, because there is no reusable password to steal.

A penetration test of a customer-facing app should include login protections against automated attacks.

Related terms

Sources

  1. Credential stuffing (OWASP)
  2. Bot Management and Anti-Automation Cheat Sheet (OWASP)
  3. A07:2025 Authentication Failures (OWASP)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.