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