7 Segment LED reverse voltage problem

It could only be a problem if you wire things like in your diagram.

You have no resistors, and wiring the common anode to an Arduino pin is going to fry the Arduino because it can’t supply enough current to drive seven LEDs in parallel.

The common anode should be driven by a high sided switch that can handle the expected current, and no reverse bias will occur.