Credential stuffing is an automated attack in which someone replays username and password pairs stolen from one service against the login page of another, betting that people reuse passwords. OWASP catalogs it as automated threat OAT-008. Nothing is guessed: every pair tried is one that already worked somewhere else.
In 2023, an attacker spent five months doing exactly that against 23andMe. The Privacy Commissioner of Canada and the UK Information Commissioner later found that 18,222 accounts were accessed directly, and that 6,984,430 customers were affected worldwide. Their joint report concluded that the company had not accounted for the risk of credential stuffing when it designed its safeguards, even though the attack was widely known.
This page covers what credential stuffing is, how an attack runs, how it differs from its neighboring password attacks, what our own testing data says about the authentication flaws behind it, and how to detect it, prevent it and test for it.
What is credential stuffing?
Credential stuffing is the automated replay of stolen credential pairs against a login endpoint. OWASP defines OAT-008 by its signature: "Mass log in attempts used to verify the validity of stolen username/password pairs." The attacker starts with a list that already pairs an identity with a working secret, and only needs to find which of those pairs still works somewhere else.
Credential stuffing exists because of password reuse, not because of a flaw in the application being attacked. A login form that validates input correctly, hashes passwords properly and returns no useful errors can still hand over thousands of accounts, because the credentials presented are real. That is what separates this from most entries in a vulnerability report: the defect that makes it work lives in a database that someone else lost.

Credential stuffing (OAT-008). Source: OWASP, CC BY-SA 4.0
What credential stuffing is not: it is not a password-guessing attack, it is not malware, and it is not a breach of your systems. 23andMe's own investigation found no compromise of its infrastructure. The accounts opened with the correct key.
How does a credential stuffing attack work?
A credential stuffing campaign has four stages: acquire the list, prepare the automation, test at scale, and monetize the accounts that answer. Each stage is cheap, and only the last one requires any judgment.
Acquire. Credentials from past breaches circulate as combo lists on criminal markets and are also harvested fresh by infostealer malware. Our overview of the dark web describes where that trade happens. The value of a list decays as users change passwords, which is why attackers move quickly and resell what they validate.
Prepare. Off-the-shelf tooling handles the login flow, the session handling and the response parsing. Residential proxy pools spread requests across thousands of addresses, so no single source looks abnormal. The attacker's goal at this stage is to look like ordinary traffic.
Test. Here is the detail that defines credential stuffing and defeats most defenses: the attacker tries one or two passwords per account, across millions of accounts. Lockout thresholds built around repeated failures on a single account never fire against credential stuffing. A patient operator stretches the campaign over weeks at a low rate per address.
Monetize. Validated pairs become a takeover. The attacker drains stored value, changes the recovery email, places orders, or resells the verified pair at a premium. In 23andMe's case, the 18,222 accounts were only the entry point: a data-sharing feature turned them into nearly seven million exposed profiles.
Credential stuffing, brute force and password spraying are not the same
Credential stuffing, brute force and password spraying differ in what the attacker already knows, and that difference decides which control stops each one. Treating them as synonyms is why many login defenses fail against the one they were not built for.
What the attacker has | Pattern at the login | Signal it leaves | OWASP code | |
|---|---|---|---|---|
Credential stuffing | Valid pairs from another service's breach | 1–2 attempts across millions of accounts | High volume, low failure rate per account, many source IPs | OAT-008 |
Brute force | A username, and a wordlist or character space | Thousands of attempts against one account | Dense failures on a single account | OAT-007 (credential cracking) |
Password spraying | A list of usernames and a few common passwords | 1 common password across many accounts | Low failures per account, one password repeated | No OAT code |
An account lockout after five failures stops brute force and does nothing against the other two. A rate limit per IP address stops a single noisy source and does nothing against distributed credential stuffing. OWASP's Credential Stuffing Prevention Cheat Sheet is explicit that blocking IP addresses "should not be used as the sole or primary defense."
Credential stuffing at Fluid Attacks
What we test, and under what rules
We do not run credential stuffing against a client's production users. A test that replays real lists would lock out legitimate customers and could degrade the service, which makes it an attack, not an assessment. What we test is the authentication layer that credential stuffing meets: whether credential policy rejects breached and reused passwords, whether bot detection works, whether limits consider more than one signal, whether MFA is enforced where it matters, and whether recovery flows and sessions hold. Testing runs with written authorization, seeded test accounts and agreed rate limits.
What it looks like in practice
Each control the attack has to defeat maps to an entry in the Fluid Attacks Database, so a finding arrives with a requirement attached rather than as advice.
What we check | Weakness or requirement | What a failure means |
|---|---|---|
Credential policy rejects breached, reused and context-specific passwords | A password already in a combo list is accepted at sign-up | |
Login resists automated attempts | No control distinguishes a person from a script | |
Limits are set on authentication requests | Volume alone carries the campaign | |
Account recovery verifies the owner | A reset flow bypasses the login entirely |
Weakness 035 states the consequence plainly: a credential policy that does not enforce the right parameters will "increase the chances of an attacker obtaining valid credentials through brute-force, dictionary, or credential-stuffing attacks."

Weakness 035 in the Fluid Attacks Database: the credential policy conditions that make stuffing work.
Authentication is the top risk in our own data
Across a full year of client testing, authentication flaws carried more risk than any other category we report. In our State of Attacks 2026 report, covering 1,119,396 vulnerabilities and 27,440,146 CVSSF units reported on client systems between January 1 and December 31, 2025, "authentication mechanism absence or evasion" led the top 10 weaknesses by risk exposure with 19.1% of the total, and appeared in 32.9% of the systems assessed. In running applications it also ranked first, with the highest mean risk exposure in that target's top five.
Who finds those flaws matters as much as the ranking. In the same dataset, our automated tools detected 88.4% of all vulnerabilities but only 13% of the critical-severity ones; our pentesters reported the other 87%. Authentication logic, the layer this attack lands on, is where that gap is widest: the defect is usually a sequence a scanner cannot reason about rather than a pattern it can match.

Authentication mechanism absence or evasion led our 2025 testing data with 19.1% of total risk exposure.
What a scanner cannot tell you
A scanner can report that your credential policy accepts breached passwords, or that your login has no anti-automation control. It cannot tell you that your application resists credential stuffing, and neither can we, because the variable that decides such a campaign sits outside your code: how many of your users reused a password that is already on a list. Our benchmark of 36 third-party AppSec tools against an application seeded with 1,201 vulnerabilities is a useful measure of detection, not of resilience to credential stuffing, whose inputs are external.
The threat landscape deserves the same caution. The 2026 Data Breach Investigations Report puts credential abuse at 13% of breaches as the initial access vector, down from 22% the year before, with exploitation of vulnerabilities now ahead of it. That is not a reason to relax: the same report finds credential abuse somewhere in 39% of breaches. It is a reason to be skeptical of anyone claiming credential stuffing is overtaking everything else. It is a persistent, industrialized background threat, and it should be budgeted as one.
How to detect credential stuffing
Credential stuffing detection fails when it watches one account or one IP address instead of the shape of the traffic. A distributed credential stuffing campaign produces few failures anywhere you would normally look.
Failure rate, not failure count: a credential stuffing run shows an unusual ratio of failed to successful logins across the whole endpoint, even when each account looks quiet.
Source diversity: thousands of addresses each making a handful of attempts, often from residential ranges and hosting providers at once.
Request uniformity: identical headers, timing or client fingerprints across sources that should have nothing in common.
Low-and-slow activity: a persistent trickle over weeks. OWASP recommends watching for both bursts and sustained low-volume activity, since a threshold tuned for one misses the other.
Post-login behavior: a session that logs in once, changes the recovery email and never returns is a stronger signal than the login itself.
Recovery and signup endpoints: attackers probe password reset and registration to confirm which accounts exist before they spend credentials on them.
Treat an account takeover as a detection event, not only an incident. Our analysis of security and fraud risk describes how fraud teams and engineering end up watching the same credential stuffing campaign from two dashboards that never meet.
How to prevent credential stuffing
No single control prevents credential stuffing, and the ones that help most do not live in the login form.
Multi-factor authentication: OWASP calls MFA by far the best defense against most password-related attacks, because a valid pair stops being sufficient. Phishing-resistant factors raise the bar further. Where universal MFA is not viable, require a second factor on risk signals and before sensitive operations.
Breached-password screening: check candidate passwords against known breach corpora such as Have I Been Pwned at creation and at change. This is the control aimed directly at the cause, and it is requirement 332 in our catalog.
Adaptive rate limiting: rate limiting that combines request volume with device, geography and behavior signals, rather than a fixed count per IP address.
Graduated responses instead of hard lockout: a rigid lockout after N failures becomes a denial-of-service tool, since an attacker can lock legitimate users out deliberately. Step up friction before you block.
Bot detection: invisible challenges and device fingerprinting raise the cost per attempt, and cheap attempts are the economics credential stuffing depends on.
Protect recovery and session management: verify the owner on reset, expire temporary credentials quickly, and invalidate existing sessions on password change. Otherwise the attacker routes around the login and the rest of your credential stuffing defenses with it.
Do not force periodic password changes: our own catalog advises against arbitrary expiration without evidence of compromise, citing NIST SP 800-63B, because mandatory rotation pushes users toward weaker, predictable passwords. Change on evidence, not on a calendar.
For users, the guidance against credential stuffing is shorter: unique passwords everywhere, a password manager to make that practical, and MFA wherever it is offered. Our post on password cracking explains why a long passphrase beats a short complex one.
How to test an application against credential stuffing
A credential stuffing assessment answers whether the controls above exist and work together, without touching real users.
Map every authentication surface: web login, API endpoints, mobile flows, SSO, and any legacy path that still accepts a password.
Probe the credential policy: try weak, reused and known-breached passwords at sign-up and at change.
Test automation controls at low rate: confirm that detection catches the distributed, low-intensity pattern of credential stuffing, not only bursts from one address.
Check that rate limiting uses more than the IP address, and that a graduated response exists before a hard block.
Verify MFA enforcement on risk signals and sensitive operations, not only at first login.
Exercise account recovery: token entropy, expiry, single use, and whether reset bypasses MFA.
Review session management: whether password change, recovery and lockout invalidate live sessions.
Validate alerting: whether anomalous access is detected and whether the user is notified of changes that matter.
Penetration testing is what covers these steps end to end. This is work for Pentesting as a Service (PTaaS) combined with Dynamic Application Security Testing (DAST), under authorization, with test accounts and agreed limits.
Conclusions
Password reuse makes credential stuffing the cheapest way into an application that is working exactly as designed, which is why it keeps succeeding against companies with no vulnerability to fix. No single product prevents credential stuffing; a layered authentication design does: screen against breached passwords, enforce MFA where loss is real, limit adaptively on several signals, and protect recovery and sessions as carefully as the login.
Our 2025 testing data puts authentication flaws at the top of the risk ranking, and our pentesters, not our tools, found 87% of the critical findings. That is the practical conclusion: the controls that stop credential stuffing are logic, and logic has to be tested by someone who can reason about the sequence, not only matched against a pattern.
Frequently asked questions
What is the difference between credential stuffing and brute force?
The attacker's starting knowledge. Credential stuffing replays username and password pairs already stolen from another service, usually one or two attempts per account across millions of accounts. Brute force guesses, running many password attempts against a single account. OWASP separates them as OAT-008 and OAT-007. The practical consequence is that an account lockout stops brute force and barely affects the other.
Does MFA stop credential stuffing?
It stops the attack from turning a valid password into account access, which is most of the damage. OWASP identifies multi-factor authentication as by far the best defense against most password-related attacks. It does not stop the attempts themselves, so you still need detection to know a campaign is running, and you still need to protect account recovery, which is the route attackers take when the login holds.
How do you test an application against credential stuffing?
By testing the authentication layer that credential stuffing meets, not by replaying real credentials. That means probing credential policy, anti-automation controls, adaptive limits, MFA enforcement, recovery flows and session invalidation, with authorization and test accounts. It matters because authentication flaws led our State of Attacks 2026 top 10 by risk exposure, with 19.1% of the total across 1,119,396 vulnerabilities reported on client systems in 2025.
Does Fluid Attacks detect the weaknesses that enable credential stuffing?
Yes. Our scanners and pentesters report weak credential policy (weakness 035), lack of protection against automated attacks (weakness 053) and account takeover paths (weakness 417), each linked to the requirement that closes it. The platform also groups these findings under the Account Takeover category of the Fraud Risk Center, so fraud and engineering teams read the same list.
Test the login before someone else does
Our pentesters and scanners assess your authentication layer continuously, so the flaws that turn a stolen password into account takeover get fixed before a campaign finds them. Start free trial · Contact us.
Get started with Fluid Attacks' application security solution right now















