# Credential Stuffing

> Trying passwords leaked from one site on many other sites.

**Field:** Software Development  
**Category:** Security  
**Also known as:** Credential Stuffing Attack, Password Reuse Attack

## Think of it like

Think of it like a found key tried in each door on the street.

## Definition

Credential stuffing takes usernames and passwords leaked from one site and tries them on others. It works because many people use the same password in many places. Bots try huge lists of these pairs on login pages. OWASP counts it as a kind of brute-force attack. Unique passwords and a second login step stop most of it.

## Example

A games site leaks Jack's email and password. A week later, a bot logs into his shop account with the same pair.

## Why it matters

One leak anywhere can open accounts everywhere. Your site can be hit even if it was never breached.

## Common mistake

Thinking your site is safe because your own database never leaked. The passwords came from somewhere else.

## Three principles

- **Leaked pairs.** Lists from other sites' breaches.
- **Reuse is the hole.** Same password, many sites.
- **A second factor stops it.** A stolen password is not enough.

## Related terms

- [Brute-Force Attack](https://learn.benibix.com/term/development/brute-force-attack)
- [Multi-Factor Authentication (MFA)](https://learn.benibix.com/term/development/multi-factor-authentication)
- [Passkey](https://learn.benibix.com/term/development/passkey)
- [Rate Limiting](https://learn.benibix.com/term/development/rate-limiting)
- [Authentication](https://learn.benibix.com/term/development/authentication)

![Three panels. Brute force: guesses like 123456, password and qwerty are tried on one account until one works; stop it by limiting tries. Credential stuffing: a pair leaked from a games site, jack@example.com and sunset77, is tried on his shop account and works because he used it twice; stop it with a second factor. Session hijacking: Lucy logs in and gets a session cookie, a script steals it and the site sees Lucy with no password needed; stop it with HttpOnly cookies.](https://learn.benibix.com/diagrams/dev2-login-attacks.svg)

---

Source: https://learn.benibix.com/term/development/credential-stuffing
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
