The mother, absent from her home at the time of the intervention, was arrested a few hours later. She was placed in police custody.
The two children were lying on a mattress, near a space heater. They were wearing only a T-shirt and underwear, a police source told France Télévisions.
According to the same source, the cellar door had been locked from the outside. The children were freezing, with neither food nor a blanket.
It was a neighbor who called the emergency police line to report that the two children were alone and locked in the cellar.
Investigators are trying to establish since when and for what reasons the two children had been locked up.
The children were placed in the care of child welfare services.
An investigation had already been opened after the All Saints' Day holidays by the Versailles public prosecutor's office, following a report from the children's teacher.