There are two ways to see the CPI:
(1) A measure of price changes for a weighted basket of consumer goods
(2) A measure of the change in cost of obtaining a fixed level of utility (cost-of-living)
If you interpret it as the second one, then there are a number of crucial structural assumptions you need to make, mostly concerning the importance of substitution effects. Also, you may still mismeasure cost-of-living for different demographic groups. Here is an interesting recent paper on this topic. http://scholar.harvard.edu/xavier/publications/unequal-gains-product-innovations-evidence-us-retail-sector
My preferred interpretation of the CPI is the first one. The CPI is a very simple aggregate statistic and this is why it is useful. Of course it does not correctly capture the evolution of cost-of-living for every demographic and under every assumption, but this is an unreasonable requirement for a single index.