# Copart Inc S-8 filed Oct 21, 2026: Legal opinion

- Company: Copart Inc (CPRT)
- Filing: Form S-8 (Initial registration statement for securities to be offered to employees pursuant to employee benefit plans), filed Oct 21, 2026
- Document: Legal opinion (d123686dex51.htm)
- Page for people: https://s6y.io/c/cprt/S-8-20261021/d123686dex51.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/900075/000119312526426897/d123686dex51.htm
- This is the whole document, about 300 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/cprt/S-8-20261021/d123686dex51.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/cprt/S-8-20261021/d123686dex51.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

### Exhibit 5.1

Wilson Sonsini Goodrich & Rosati Professional Corporation 650 Page Mill Road Palo Alto, California 94304-1050 O: 650.493.9300 F: 650.493.6811

October 20, 2026

Copart, Inc.

14185 Dallas Parkway, Suite 300

Dallas, Texas 75254

### Re: Registration Statement on Form S-8

Ladies and Gentlemen:

We have examined the Registration Statement on Form S-8 (the “Registration Statement”) to be filed by Copart, Inc., a Delaware corporation (the “Company”), with the Securities and Exchange Commission on or about the date hereof, in connection with the registration under the Securities Act of 1933, as amended, of an aggregate of 4,500,000 shares of common stock of the Company, par value $0.0001 per share (the “Shares”), issuable pursuant to equity awards granted under the ACV Auctions Inc. 2021 Equity Incentive Plan (the “Plan”), which were assumed in connection with the completion of the merger contemplated by the Agreement and Plan of Merger, dated as of September 10, 2026, by and among the Company, Apple Merger Sub, Inc., a Delaware corporation and a wholly owned subsidiary of the Company, and ACV Auctions Inc.

On the basis of the foregoing, and in reliance thereon, we are of the opinion that the Shares, when issued and sold in the manner referred to in the Plan and pursuant to the agreements that accompany the Plan, will be legally and validly issued, fully paid, and nonassessable.

We consent to the use of this opinion as an exhibit to the Registration Statement, and further consent to the use of our name wherever appearing in the Registration Statement and any amendments thereto.

Very truly yours,
/s/ W ILSON S ONSINI G OODRICH & R OSATI WILSON SONSINI GOODRICH & ROSATI
Professional Corporation

AUSTIN BOSTON BOULDER BRUSSELS HONG KONG LONDON LOS ANGELES NEW YORK PALO ALTO

SALT LAKE CITY SAN DIEGO SAN FRANCISCO SEATTLE SHANGHAI WASHINGTON, DC WILMINGTON, DE
