The potential for an issuer to default on its obligation to pay interest or principal on its debt security. Most government securities are considered to have little, if any credit risk.