Kampala, the capital city of Uganda, is rapidly expanding without adequate wastewater treatment facilities to accommodate the current estimated population of 1.68 million people. Hence, freshwater bodies and natural ecosystems around the city are heavily polluted with organic and inorganic contaminants. Yet, there is a paucity of data on pathogenic microorganisms, which potentially threatens health of local communities. We performed a qualitative microbial analysis using a whole metagenome sequencing approach encompassing over 150 gigabases of sequencing data to characterize the Nakivubo wastewater system, which includes a wastewater channel and surrounding wetlands. We found that microbial diversity is heterogeneous throughout the system and that three community state types could be differentiated. We showed the presence of various waterborne agents of gastrointestinal infections in humans, which were associated with leakage occurring around two locations along the wastewater channel. Our data indicate that the microbial decontamination capacity of the local wastewater treatment facility was insufficient at the time of sampling, and that several areas of the wetlands were contaminated with human pathogens, indicating that parts of the wetlands are potentially unsafe for urban agriculture.