In this paper we address the issue of the non-perturbative quantization of Euclidean Yang-Mills theories in the Curci-Ferrari gauge. In particular, we construct a Refined Gribov-Zwanziger action for this gauge which takes into account the presence of gauge copies as well as the dynamical formation of dimension two condensates. This action enjoys a nonperturbative BRST symmetry recently proposed in [1]. Finally, we give attention to the gluon propagator in different space-time dimensions.A fundamental task in theoretical physics is the understanding of non-perturbative aspects of Yang-Mills theories due to the confinement of quarks and gluons, see [2] for a general and updated overview. In this regime, the standard well developed perturbation theory is not meaningful and different techniques must be invoked. So far, we have a good toolbox to access the strongly coupled regime with different approaches as lattice simulations, Dyson-Schwinger equations, functional renormalization group methods, holographic techniques, effective models and others, see [2,3]. Despite the impressive progress achieved in the last decade, it seems fair to state that many aspects of the confinement are still to be unraveled.A long standing problem in the quantization of Yang-Mills theories is the presence of Gribov/gauge copies after the imposition of the gauge fixing condition * [4]. Within the Faddeev-Popov quantization procedure, these spurious configurations are still being taken into account in * aduarte@if.uff.br †