CPLR 5015(a)(5) permits a court which rendered an order to relieve a party from the order where there has been a "reversal, modification or vacatur of a prior judgment or order upon which it is based." In addition, a court has the inherent power to grant a motion to vacate its own judgment or order for sufficient reason, in furtherance of justice.
BSD 253, LLC v. Wilmington Sav. Fund Socy., FSB, NY Slip Op 04430 (2d Dep't August 30, 2023)