Dual-energy cone beam computed tomography (DE-CBCT) has been shown to provide more information and improve performance compared to a conventional single energy spectrum CBCT. Here we report a low-cost DE-CBCT by spectral filtration of a carbon nanotube x-ray source array. The x-ray photons from two focal spots were filtered respectively by a low and a high energy filter. Projection images were collected by alternatively activating the two beams while the source array and detector rotated around the object, and were processed by a one-step materials decomposition and reconstruction method. The performance of the DE-CBCT scanner was evaluated by imaging a water-equivalent plastic phantom with inserts containing known densities of calcium or iodine and an anthropomorphic head phantom with dental implants. A mean energy separation of 15.5 keV was achieved at acceptable dose rates and imaging time. Accurate materials quantification was obtained by materials decomposition. Metal artifacts were reduced in the virtual monoenergetic images synthesized at high energies. The results demonstrated the feasibility of high quality DE-CBCT imaging by spectral filtration without using either an energy sensitive detector or rapid high voltage switching.