Privity of contract is an important element of legal malpractice. For policy reasons [and to avoid infinite and endless litigation] courts enforce a rather strict requirement that one may sue their own attorney, but not the opponent’s in legal malpractice. There are exceptions.
In LYDIAN PRIVATE BANK d/b/a VIRTUALBANK, -v- RICHARD A. LEFF, UNITED STATES