When standing on a campfire and sneaking you don't get damaged (just like with magma blocks). Since campfires are clearly burning, it shouldn't matter whether you sneak or not.
You don't take Damage on campfire if you sneak
Bug with campfire
No damage on magma block while sneaking
Death by campfire is discovering the floor is lava?