The CBI on Wednesday detained a TMC councillor, who is known to share close ties with arrested party strongman Anubrata Mondal, following a search operation at his residence here in connection with the probe into the alleged cattle smuggling scam, an agency official said.