This exceptional photodynamic antimicrobial capability of CAT–Ce6 NCs in hypoxic condition lays a solid foundation for subcutaneous bacterial infection treatment. Here, CAT is linked to bacterial infectious disease.