Calculating path to avoid specific nodes

I’m looking to make a simple local avoidance system, I was curious if there was a way to calculate a path avoiding a set of nodes without having to update the whole grid graph permanently? I’m looking to, when the user collides with an object, recalculate a path around the object. Either using the object’s collider, or find the set of nodes the collider contains.