Mobs that can burn should avoid campfires, but they do not do this and go straight through them. In this regard, taiga villages can self-destruct, as villagers do not avoid campfires and burn down.
Instructions for reproducing:
1. Create a 7x7 square of campfires, and then create a safe exit from this square.
2. Create a villager and a zombie in this square.
Expected results: villager will try to escape from zombies through a safe exit from this square.
The observed result: villager simply runs through campfire and catches fire. And after him, too, a zombie runs right through campfire
Is it only campfires that they don't avoid? This should have been fixed in 1.17.40.21 (MCPE-23835), but that may have only been applied to fire. Can you test fire, lava, and magma as well?