Cal. Civ. Code § 2788
A person may become surety even without the knowledge or consent of the principal.