
140 Scott Drive
Menlo Park, California 94025
Tel: +1.650.328.4600 Fax: +1.650.463.2600
www.lw.com
March 17, 2026
FIRM / AFFILIATE OFFICES
Austin Milan
Beijing Munich
Boston New York
Brussels Orange County
Century City Paris
Chicago Riyadh
Dubai San Diego
Düsseldorf San Francisco
Frankfurt Seoul
Hamburg Silicon Valley
Hong Kong Singapore
Houston Tel Aviv
London Tokyo
Los Angeles Washington, D.C.
Madrid
AN2 Therapeutics, Inc.
1300 El Camino Real, Suite 100
Menlo Park, California 94025
Re: Registration Statement on Form S-8
To the addressee set forth above:
We have acted as special counsel to AN2 Therapeutics, Inc., a Delaware corporation (the “Company”), in connection with the registration by the Company of an aggregate of 1,370,657 shares of Common Stock of the Company, par value $0.00001 per share (the “Shares”), issuable under the Company’s 2022 Equity Incentive Plan (the “2022 Plan”) and 2022 Employee Stock Purchase Plan (together with the 2022 Plan, the “Plans”).
The Shares are included in a registration statement on Form S-8 under the Securities Act of 1933, as amended (the “Securities Act”), filed with the Securities and Exchange Commission (the “Commission”) on March 17, 2026 (the “Registration Statement”). This opinion is being furnished in connection with the requirements of Item 601(b)(5) of Regulation S-K under the Securities Act, and no opinion is expressed herein as to any matter pertaining to the contents of the Registration Statement or related prospectus, other than as expressly stated herein with respect to the issuance of the Shares.
As such counsel, we have examined such matters of fact and questions of law as we have considered appropriate for purposes of this letter. With your consent, we have relied upon certificates and other assurances of officers of the Company and others as to factual matters without having independently verified such factual matters. We are opining herein as to the General Corporation Law of the State of Delaware (the “DGCL”), and we express no opinion with respect to any other laws.
