🕑 Estimated reading time: 6 minutes | Last updated: July 2, 2024
The Computer Fraud and Abuse Act (CFAA), 18 U.S.C. § 1030, is the main US federal anti-hacking law. It makes it a crime to access a computer “without authorization” or to “exceed authorized access.” In Van Buren v. United States (2021), the Supreme Court adopted a narrow “gates-up-or-down” reading: you exceed authorised access only by entering parts of a system that are off-limits to you, not by misusing information you are allowed to access. In 2022 the Justice Department also said it will not charge good-faith security research under the CFAA.

For decades, a single vague phrase in an American law worried programmers, researchers and ordinary employees alike. Could checking personal email on a work computer really be a federal crime? The Supreme Court finally weighed in.
Passed in 1986, when few Americans owned a personal computer, the Computer Fraud and Abuse Act (CFAA) was written to protect government and financial institution computers from intruders. Over the following decades it was amended repeatedly and now covers essentially any computer connected to the internet. Its broad and sometimes vague language has made it one of the most debated laws in technology.
Here, we explain what the CFAA prohibits, why its key terms were controversial, how the Supreme Court narrowed it in Van Buren, and what it means for employees, businesses and security researchers today.
Table of Contents
What the CFAA Prohibits
The CFAA, codified at 18 U.S.C. § 1030, creates several criminal offences, including:
- accessing a computer without authorisation, or exceeding authorised access, to obtain information from a “protected computer”;
- accessing a computer to further a fraud and obtain something of value;
- knowingly transmitting code or commands that intentionally cause damage, such as malware or denial-of-service attacks;
- trafficking in passwords or similar access information;
- threatening to damage a computer to extort money, which covers many ransomware demands.
A “protected computer” includes any computer used in or affecting interstate or foreign commerce, so in practice almost every internet-connected device is covered. Penalties range from fines and short prison terms for minor first offences to long sentences where serious damage, risk to public safety or repeat offending is involved.
The CFAA Is Also a Civil Law
Beyond criminal prosecution, the CFAA allows anyone who suffers damage or loss because of a violation to sue for compensation and injunctive relief, provided certain thresholds are met, most commonly at least $5,000 in loss over a one-year period. This civil remedy has been widely used by companies against former employees who take data when they leave, against competitors, and against businesses that scrape websites.
The Problem: What Does “Exceeds Authorized Access” Mean?
For years, federal courts disagreed about the phrase “exceeds authorized access.” Some read it narrowly to mean accessing data you have no permission to access at all. Others read it broadly to include accessing data you are permitted to see, but for an improper purpose, or in breach of a company policy or website terms of service.
The broad reading alarmed many commentators. It suggested that an employee who checked personal email on a work computer against policy, or a user who lied about their age on a social network, might technically be committing a federal crime. The 2013 prosecution of internet activist Aaron Swartz, who downloaded large numbers of academic articles, became a symbol of concerns that the CFAA gave prosecutors excessive power.
Van Buren v. United States (2021)
The Supreme Court finally addressed the issue in Van Buren v. United States, decided in June 2021. Nathan Van Buren, a Georgia police sergeant, ran a licence plate search in a law enforcement database in exchange for money. He was allowed to use the database for legitimate police work, but he used it for an improper purpose. He was convicted of exceeding authorised access.
In a 6–3 decision written by Justice Amy Coney Barrett, the Court reversed his conviction. It held that a person “exceeds authorized access” when they access a computer with authorisation but then obtain information located in particular areas of the computer, such as files, folders or databases, that are off-limits to them. It does not cover people who have improper motives for obtaining information that is otherwise available to them.
Commentators describe this as a “gates-up-or-down” test: the question is whether you passed through a gate that was closed to you, not why you went through a gate that was open.
What Changed After Van Buren
Employees and insiders
Employees who misuse data they are entitled to access are much less likely to face CFAA liability. Employers now rely more on contracts, trade secret law and the Defend Trade Secrets Act to deal with insider misuse, and on technical access controls to ensure that sensitive data is truly “gated.”
Web scraping
In the long-running hiQ Labs v. LinkedIn litigation, the Ninth Circuit concluded, including after reconsidering the case in light of Van Buren, that scraping data from publicly accessible web pages is unlikely to be access “without authorization” under the CFAA. The dispute ultimately ended with hiQ found to have breached LinkedIn’s user agreement, which shows that scrapers can still face contract and other claims even where the CFAA does not apply.
Security research
In May 2022 the Department of Justice revised its charging policy, directing prosecutors not to bring CFAA charges against good-faith security research, meaning access solely to test, investigate or correct a security flaw, carried out in a way designed to avoid harm, with the results used to improve security. The policy does not bind private parties or state prosecutors, and it does not protect people who use “research” as a pretext for extortion.
Don’t Forget State Laws
Every US state also has its own computer crime law, and some are broader than the CFAA. Conduct that falls outside the federal statute after Van Buren may still be prosecuted or sued over under state law.
Practical Takeaways
- For businesses: Define access rights clearly in systems, not just in policies. Use role-based access controls, log access to sensitive data and remove access promptly when employees leave.
- For employees: Do not access systems or areas you have not been given permission to use, and do not share or reuse colleagues’ credentials.
- For researchers: Follow published vulnerability disclosure policies, avoid accessing more data than needed to prove an issue, and keep records showing good faith.
- For anyone scraping data: Public availability reduces CFAA risk but does not remove contract, copyright or privacy risks.
Where the CFAA draws the access boundary
The CFAA remains a powerful tool against genuine hacking, fraud and ransomware. Van Buren brought welcome clarity by focusing the law on breaking into areas you are not allowed to enter, rather than on breaking workplace rules or terms of service. Understanding that distinction helps organisations design better access controls and helps individuals avoid crossing a serious legal line.
Frequently Asked Questions
Is it illegal to use someone else’s password with their permission?
It can still be risky. Courts have sometimes found that sharing credentials in violation of the system owner’s rules is unauthorised access, particularly where the account owner had no right to authorise others.
Does violating a website’s terms of service violate the CFAA?
After Van Buren, merely breaching terms of service is generally not enough on its own, but it may give rise to breach-of-contract claims.
Can I be sued under the CFAA as well as prosecuted?
Yes. The CFAA has a civil cause of action for victims who meet its loss or damage thresholds.