I guess in the sense that Poland also borders Russia via Kaliningrad, and wasn't part of the USSR.
The Soviet Army occupied Poland in 1939, got pushed back by German attacks, re-entered and occupied Poland in 1944, and then Soviet Army kept presence in Poland until 1993.