Exhibit 4.2

Consent of Independent Registered Public Accounting Firm

We consent to the use in this Registration Statement on Form S-6 (File No. 333-293629) of our report dated May 22, 2026, relating to the financial statement of Advisors Disciplined Trust 2339, appearing in the Prospectus, which is a part of such Registration Statement, and to the reference to us under the heading “Other Matters” in such Prospectus.

  /s/ DELOITTE & TOUCHE LLP
   
   
Denver, Colorado  
May 22, 2026