Fired at the muzzle, a representative 7.62x39 load (8 g, FMJ, 715 m/s) reaches roughly 361 mm (14.2 inches) into pine wood. That is enough to defeat a typical barrier of this material — treat anything behind it as exposed.
Construction pine — a 2x4 stud is ~38 mm thick.