The synthesis of new 4- and 5-substituted-3-cyanopyridine nucleosides has been performed by reacting the silylated pyridines and penta-omicron-acetyl-alpha -D-glycopyranose in dichloroethane in the presence of SnCl4. The free nucleosides were tested for their potential activity against HIV and different types of tumor.