Attachment is a poison. Why is attachment to the Buddha and to Buddhist philosophy not a problem? Attachment (aka craving or greed) is one of the Three Poisons.  Why is attachment to Buddha not a poison?  Perhaps it's related to the Tibetan Buddhist lojong "Don't make gods into demons"?
Sez who?

Attachment to Buddhism and to Buddhist philosophy is a very serious problem, which every practitioner should be careful about, since it's so seductive: it's easy to be perceived as progress, whereas it's the very opposite of progress.

To counter this hazard, some Zen schools recommend that "if you come across the Buddha on the road, kill him!" (Not to be taken too literally.)