Testing the cosmic distance duality relation (CDDR) constitutes an important task for cosmology and fundamental physics since any violation of it would be a clear evidence of new physics. In this paper, we propose a new test for the CDDR using only current measurements of the gas mass fraction of galaxy clusters from Sunyaev-Zeldovich (fSZE) and X-ray surface brightness (fX−ray) observations. We show that the relation between fX−ray and fSZE observations is given by fSZE = ηfX−ray, where η quantifies deviations from the CDDR. Since this latter expression is valid for the same object in a given galaxy cluster sample, the method proposed removes possible contaminations from different systematics error sources and redshift differences involved in luminosity and angular diameter distance measurements. We apply this cosmological model-independent methodology to the most recent fX−ray and fSZE data and show that no significant violation of the CDDR is found.