The present invention relates to a cosmetic composition comprising: - a lysate of bacteria belonging to the genus Vitreoscilla sp. in a complete fermentation medium, -one or more thickeners, and -a surfactant system chosen from: (a) a system A comprising one or more anionic surfactants and one or more amphoteric or zwitterionic surfactants; (b) a system B comprising one or more anionic surfactants chosen from ethoxylated alkyl sulfates and salts thereof; and one or more anionic surfactants other than the said ethoxylated alkyl sulfates and salts thereof; or (c) a system C comprising one or more cationic surfactants comprising one or more permanent positive charges. The invention also relates to a cosmetic process for treating the scalp and/or keratin fibres, in particular for washing keratin fibres, using the said composition.La présente invention concerne une composition cosmétique comprenant : - un lysat de bactéries appartenant au genre Vitreoscilla sp. dans un milieu de fermentation complet, -un ou plusieurs épaississants et -un système tensioactif choisi parmi : (a) un système A comprenant un ou plusieurs tensioactifs anioniques et un ou plusieurs tensioactifs amphotères ou zwitterioniques ; (b) un système B comprenant un ou plusieurs tensioactifs anioniques choisis parmi des sulfates d'alkyle éthoxylés et leurs sels ; et un ou plusieurs tensioactifs anioniques autres que lesdits sulfates d'alkyle éthoxylés et leurs sels ; ou (c) un système C comprenant un ou plusieurs tensioactifs cationiques comprenant une ou plusieurs charges positives permanentes. L'invention concerne également un procédé cosmétique permettant de traiter le cuir chevelu et/ou les fibres kératiniques, en particulier pour laver les fibres kératiniques, à l'aide de ladite composition.