Partners at the law firm caught in the middle of the Panama Papers are suing Netflix over its new movie “The Laundromat,” saying the flick wrongly paints them as villains in the global tax-evasion scandal.

Lawyers Jurgen Mossack and Ramon Fonseca — who are portrayed in the new movie by Gary Oldman and Antonio Banderas, respectively — claim that they are depicted as “ruthless uncaring lawyers who are involved in money laundering, tax evasion, bribery and/or other criminal conduct.”

The movie slated for release on Netflix on Friday, which was directed by Steven Soderbergh and also stars Meryl Streep, allegedly presents the law partners as “villains profiting from the death of 20 people,” according to a federal suit filed in Connecticut on Tuesday.

US prosecutors haven’t filed any charges against them, but Mossack and Fonseca said they fear the film could deny them the right to a fair trial in the US, where they are the subjects of an FBI investigation in the Southern District of New York.

“Once the cat is out of the bag, it is impossible to put it back without the consequence of tainting a verdict,” they fret in a legal memorandum. “This is especially true where the cat is named ‘Laundromat’ and the charges would include money laundering.”

The firm itself, Mossack Fonseca & Co., is also a plaintiff in the suit, despite the fact it shut down in March after a whistleblower leaked 11.5 million documents from its files four years ago, exposing the tax gambits of its wealthy roster of clients.

Mossack and Fonseca, who are set to go on trial in Panama on charges related to their firm, claim the Netflix flick will subject them to “additional bail and/or conditions for each new crime imputed to them in the movie,” according to the suit.

Netflix told The Post on Wednesday that it has filed a motion to dismiss the suit, which accuses Netflix of libel, false advertising and trademark dilution.