Cylindrical molecular filaments are observed to be the main sites of Sunlike star formation, while massive stars form in dense hubs at the junction of multiple filaments. The role of hub–filament configurations has not been discussed yet in relation to the birth environment of the solar system and to infer the origin of isotopic ratios of short-lived radionuclides (SLR, such as 26Al) of calcium–aluminum-rich inclusions (CAIs) observed in meteorites. In this work, we present simple analytical estimates of the impact of stellar feedback on the young solar system forming along a filament of a hub–filament system. We find that the host filament can shield the young solar system from stellar feedback, both during the formation and evolution of stars (stellar outflow, wind, and radiation) and at the end of their lives (supernovae). We show that a young solar system formed along a dense filament can be enriched with supernova ejecta (e.g., 26Al) during the formation timescale of CAIs. We also propose that the streamers recently observed around protostars may be channeling the SLR-rich material onto the young solar system. We conclude that considering hub–filament configurations as the birth environment of the Sun is important when deriving theoretical models explaining the observed properties of the solar system.