A new study suggests that a planet-sized object may have passed through the solar system billions of years ago.