Cystic fibrosis is a genetic disease. People with CF have inherited two copies of the defective CF gene — one copy from each parent. Both parents must have at least one copy of the defective gene.