Duolingo
Breach Date
January 1, 2023
Records Affected
2,676,696
Verified
Yes
Source
wikipedia
Summary
In January 2023, data from approximately 2.7 million Duolingo users was scraped through an exposed API endpoint and subsequently posted for sale on a hacking forum. The language learning platform's API allowed anyone to query user information by submitting email addresses, returning profile data including real names, usernames, email addresses, languages studied, and other profile details. The data was initially offered for $1,500 on the now-defunct Breached forum and later appeared on BreachForums in August 2023 for just 8 site credits (approximately $2.13).
The breach exploited a classic API misconfiguration rather than a traditional hack. Attackers used a list of known email addresses to query Duolingo's API en masse, enriching previously leaked email addresses with Duolingo-specific profile data. This technique — known as API scraping or enumeration — is increasingly common and sits in a gray area between legitimate data access and unauthorized harvesting.
Duolingo initially downplayed the incident, stating that the scraped data was already publicly available profile information. However, the inclusion of email addresses — which are not publicly visible on Duolingo profiles — contradicted this characterization. The company eventually patched the vulnerable API endpoint, but the incident highlighted the growing challenge of API security and the risks of treating data scraping as less serious than traditional hacking.
Breach Details
- Breach Date
- January 1, 2023
- Records Affected
- 2,676,696
- Source
- Wikipedia
- Verified
- Verified
- Industry
- Education
- Type
- Web Scraping
Impact Analysis
Scale of Impact
- ~2.7 million user records scraped via API enumeration
- Duolingo has over 500 million registered users globally
- Affected users primarily those whose email addresses were already in circulation from previous breaches
Data Types Exposed
- Email addresses
- Real names
- Duolingo usernames
- Profile pictures
- Languages studied and proficiency levels
- Account creation dates
- XP (experience points) and streak data
- Country and bio information
Financial Impact
| Category | Impact |
|---|---|
| Direct fines | None reported |
| Remediation costs | API endpoint patching and security review |
| Data sold for | Initially $1,500, later ~$2.13 |
| Stock impact | Minimal — Duolingo (DUOL) stock was not significantly affected |
Downstream Effects
- Scraped data combined with email addresses enables highly targeted phishing campaigns using language learning interests as a social engineering hook
- The incident demonstrated how API scraping can enrich previously leaked data, adding context that makes phishing more convincing
- Duolingo's dismissive initial response was criticized by security researchers, who noted that email addresses were not publicly visible
- The breach contributed to growing regulatory attention to API scraping as a data protection concern
Timeline
- January 2023: Scraped Duolingo data offered for sale on Breached forum for $1,500
- January 2023: Duolingo acknowledges the scraping, states data was publicly available profile information
- January 2023: Security researchers point out that email addresses (not publicly visible) were included in the scraped data
- March 2023: Breached forum is shut down by law enforcement
- August 2023: The full dataset of 2.7 million records appears on BreachForums for ~$2.13
- August 2023: Duolingo states it is investigating and has taken steps to address the issue
- Late 2023: Duolingo patches the vulnerable API endpoint that allowed email-based user enumeration
Lessons Learned
1. API Security Must Be a First-Class Concern
Duolingo's API allowed unauthenticated enumeration of user data via email addresses. APIs that accept user-supplied identifiers and return profile data without rate limiting, authentication, or abuse detection are vulnerable to mass scraping. API security must be treated with the same rigor as application security.
2. Data Enrichment Amplifies Breach Impact
The scraped data was most valuable because it linked email addresses (from other breaches) to Duolingo-specific profile data. This enrichment creates more complete victim profiles for spear phishing. Organizations must consider how their data could be combined with other breached datasets.
3. "Publicly Available" Does Not Mean "Safe to Scrape"
Duolingo's initial defense that the data was publicly available was inaccurate (email addresses were not public) and reflected a common misconception. Even genuinely public data, when aggregated at scale, creates privacy risks that differ from individual profile viewing.
4. Low-Value Data Sales Indicate Wide Distribution
The price drop from $1,500 to $2.13 within months indicated the data was already widely distributed. When data is sold cheaply, it has already been shared extensively, amplifying the risk to affected users.
5. Rate Limiting and Enumeration Protection Are Essential
APIs that respond to enumeration queries ("does this email have an account?") without rate limiting or CAPTCHAs are trivially exploitable at scale. Enumeration protection must be built into API design from the start.
Technical Details
Attack Vector: API Scraping via Email Enumeration
The breach exploited an unauthenticated API endpoint that accepted email addresses and returned associated user profile data.
Technical Flow
- Email list acquisition: Attackers compiled a list of email addresses, likely from previous breaches ("combo lists")
- API querying: Each email was submitted to Duolingo's API endpoint
- Data collection: For registered emails, the API returned the full user profile including real name, username, languages studied, and other details
- Aggregation: Results were compiled into a structured dataset of 2.7 million records
Why the API Was Vulnerable
- No authentication required: The API endpoint could be queried without any authentication token
- No rate limiting: There was no apparent limit on the number of queries from a single source
- Full profile exposure: The API returned more data than was publicly visible on user profiles (notably, email addresses)
- Predictable endpoint: The API's enumeration capability was discoverable and straightforward to exploit
Data Sold on Hacking Forums
| Platform | Date | Price | Records |
|---|---|---|---|
| Breached (defunct) | January 2023 | $1,500 | 2.7M |
| BreachForums | August 2023 | ~$2.13 | 2.7M |
Scraping vs. Hacking Distinction
This incident sits in the increasingly debated gray area between scraping (using legitimate API access in unintended ways) and hacking (unauthorized system access). While no authentication was bypassed, the mass automated querying and collection of non-public data (email addresses) goes beyond normal API usage.
Frequently Asked Questions
What happened in the Duolingo data breach?
In January 2023, approximately 2.7 million Duolingo user records were scraped through an exposed API endpoint. Attackers queried the API with known email addresses and collected profile data including names, usernames, email addresses, and languages studied. The data was sold on hacking forums.
How was the data obtained?
Attackers exploited an unauthenticated Duolingo API that accepted email addresses and returned full user profiles. By submitting millions of email addresses from previous breaches, they identified and scraped data for 2.7 million Duolingo users.
What data was exposed?
The scraped data included email addresses, real names, Duolingo usernames, profile pictures, languages studied, XP levels, streaks, and other profile information.
Was this actually a "hack"?
Technically, no authentication was bypassed — the API was publicly accessible. However, the mass automated querying of an API to collect non-public data (email addresses) at scale goes beyond normal usage and is considered a data breach under most privacy frameworks.
What should affected Duolingo users do?
Be alert for phishing emails that reference your language learning activity — the combination of your email and Duolingo profile data makes phishing attempts more convincing. Ensure your Duolingo password is unique and not reused on other services.
Did Duolingo fix the issue?
Duolingo eventually patched the vulnerable API endpoint. However, the initial response was criticized for downplaying the severity, particularly the claim that only publicly available data was exposed when email addresses — not publicly visible — were included.
Protect Your Organization From Data Breaches
Our security experts can help you identify vulnerabilities and strengthen your defenses.