It has has a communist government - or more specifically, a socialist government.
The Constitution of Cuba defines the country actually as a socialist country, following the Ideas of Marx and Engels and of Lenin, in which the Communist Party of Cuba has the power and is ruling the country