Status DataClose notification

LinkedIn Data Breach: 66 Million Scraped Records Exposed in an Unsecured Database

Alex Horlan
Alex Horlan
СТО HackenProof

What Happened: 66 Million Scraped LinkedIn Records Exposed

Starting October 5th, 2018, researchers identified an unsecured MongoDB database containing personal information scraped from LinkedIn profiles. What began as a single exposed instance grew as further investigation uncovered additional databases holding the same kind of data—bringing the total to approximately 66,147,856 unique records.

JSON viewer showing a single exposed record from the unsecured database—a scraped LinkedIn profile with email address, hashed email, LinkedIn username and profile URL, first and last name, country, state, city, industry, and a full employment history including company names, job titles, and start/end dates.
A single record from the exposed database, illustrating how much was captured per profile—name, location, industry, and a full employment history—well beyond what a basic scrape would typically pull.

The database's owner was never identified. As with similar cases, the exposed records were uploaded to Have I Been Pwned so affected individuals could check whether their information was included.


What Data Was Exposed

The exposed records included:

  • Full names
  • Personal and professional email addresses
  • Location details
  • Skills and employment history
  • Phone numbers
  • IP addresses
  • Physical addresses

No financial data—credit card numbers, passwords, or similar credentials—was found in the exposed set. That's a meaningful distinction, but it doesn't make the exposure low-risk: names, emails, employers, and phone numbers together are more than enough for targeted phishing or social engineering.


Scraping data from a website without consent generally violates that site's terms of service, but "against the terms of service" and "illegal" aren't automatically the same thing—and this is genuinely contested legal territory. The most relevant precedent is hiQ Labs v. LinkedIn, in which LinkedIn tried to block a data analytics company from scraping public profile data. U.S. courts ultimately sided with hiQ, ruling that scraping publicly accessible information generally does not violate the Computer Fraud and Abuse Act—though the case doesn't settle every scenario, and using scraped data against the interests of the people or platform it came from can still create legal exposure, particularly under data protection law.


This Isn't LinkedIn's Only Scraping Incident

This 2018 case is small next to what happened to LinkedIn three years later. In April 2021, a much larger scraping operation harvested data from roughly 700 million LinkedIn profiles—the vast majority of LinkedIn's user base at the time—and the dataset was later sold and circulated in hacking communities. Have I Been Pwned's entry for that incident catalogs 125.7 million unique email addresses from the exposure, alongside names, locations, genders, job titles, and education details.

LinkedIn's official position on the 2021 incident was that it "did not constitute a data breach," since the scraped data was already publicly visible on profiles rather than pulled from a hacked internal system. That's a legally meaningful distinction, but it's worth noting for anyone piecing together "how many times has my LinkedIn data been exposed": if your profile was public in 2018 or 2021, it's plausible your information appears in more than one of these datasets.


How Not to Be Scraped: Basic Steps

  • Limit what you make publicly visible on professional profiles—a phone number or personal email doesn't need to be public just because your job title is.
  • Use separate credentials (and ideally separate email addresses) for financial accounts versus social and professional platforms, so one exposure doesn't cascade into another.
  • Periodically review a platform's privacy settings; defaults tend to favor visibility, not privacy.
  • Think about combined exposure risk: a name and job title alone are low-risk, but the same name paired with a phone number, employer, and location is enough for a convincing phishing attempt.

What Is the GDPR?

The General Data Protection Regulation, enforced since May 25, 2018, protects the personal data of EU and EEA residents regardless of where the company processing that data is based. Non-compliance can carry fines of up to €20 million or 4% of global annual turnover. See how bug bounty programs support GDPR compliance for more on what that means in practice.


LinkedIn Data Breach: FAQ

How many LinkedIn records were exposed in this 2018 incident?

Approximately 66,147,856 unique records were found across multiple unsecured MongoDB instances, including names, emails, employment history, and contact details—but no passwords or financial data.

Is this the same as the LinkedIn data leak people talk about today?

Probably not—most current discussion of a "LinkedIn data breach" refers to a much larger 2021 incident involving roughly 700 million scraped profiles (125.7 million unique emails, per Have I Been Pwned). This 2018 case is a separate, smaller exposure of scraped LinkedIn data found in an open database.

Is scraping public LinkedIn data illegal?

Not necessarily. U.S. courts ruled in hiQ Labs v. LinkedIn that scraping publicly accessible profile data generally doesn't violate the Computer Fraud and Abuse Act, though using scraped data in ways that harm the platform or its users can still create legal risk, especially under GDPR.

How can I check if my data was exposed?

Search your email address on Have I Been Pwned—both this 2018 dataset and the larger 2021 LinkedIn scrape are tracked there separately.

Share article:
More topics:

Read more on HackenProof Blog