Tom Goyda, a Wells Fargo spokesman, said: “The housing downturn was a challenging time for our nation, and Wells Fargo has acknowledged that we made mistakes in the handling of mortgage foreclosures along the way. Lenders, investors, along with policy makers and regulators — all sides — learned foreclosure processes had to be addressed, and Wells Fargo made significant improvements to the way we work with customers when they fall behind in their payments and during the foreclosure process.”

During the financial crisis, Wells Fargo was at a remove from Wall Street and was not a big player in creating toxic and complex mortgage securities that were engineered to fail. But the bank’s ability to emerge from the crisis with a relatively good reputation is something of a mystery to anyone who paid attention to its aggressive foreclosure activities.

There were enough problematic foreclosure cases involving Wells Fargo moving through the courts that the bank’s dubious practices seemed as pervasive then as the questionable account-opening scheme does now. And some of the elements of both scandals — improper fees and forgeries — are the same.

The only difference: Mr. Stumpf, who was named Wells’s chief executive in 2007, has apologized to the customers his bank harmed with its account opening charade. Lawyers who represented troubled borrowers say no such apology came from Mr. Stumpf during the foreclosure mess.

“I sure as heck haven’t seen it,” said Linda Tirelli, a longtime foreclosure defense lawyer at Garvey Tirelli & Cushner in White Plains, who has often battled Wells Fargo. “I don’t remember ever hearing him apologize, because that would admit wrongdoing, and that’s not part of Wells Fargo’s corporate culture. Their culture is about not holding anybody at the top accountable.”