Exhibit 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the reference to our firm under the caption Experts and to the use of our report dated March 31, 2023, in the Registration Statement on Form S-1 and related Prospectus of ContraFect Corporation dated October 30, 2023.
/s/ Ernst & Young LLP
Hartford, Connecticut
October 30, 2023