Carbocyclic ribofuranosyl and arabinofuranosyl pyrimidine nucleosides were synthesized stereoselectively from 2-azabicyclo[2.2.1]hept-5-en-3-one via NaBH4 promoted C-N bond cleavage reaction as a key step.