Depends on what aspects of "safe" you consider. Below I'll address two aspects: safe from thermal runaway / venting and safe from accelerated degradation.
First, 50
°C is well below the lowest reported thermal runaway temperatures. However, we need to consider the affect of the temperature on the entire system - including the charger. Higher temperatures will cause greater stress on the components of the charger (esp. caps) which may lead to premature failure of the charger. For consumer-level chargers (unlike laptops etc) there are no design standards that help to ensure that the charger will likely fail in a safe manner. Nor does anyone test their failure modes. It is possible that the charger may fail in a way that causes the cell to be overcharged or shorted, which could possibly lead to thermal runaway.
Second, higher temperatures will accelerate internal degradation processes in the cell (esp. at higher SOC). For example,
the graphs here show that at your 50
°C, Sanyo UR18650E cells have 107 days lifetime stored at 100% SOC, but 2.7x that (288 days) stored at 95% vs. 100% SOC, and 14x that (4 years) stored at 0% SOC.
Generally, the rule of thumb is that the more time the cells spend close to 50% charge and non-extreme temperatures the healthier and safer they will be.