It happened at Creggan Road shortly before 05:00 GMT on Wednesday morning.
The woman was taken to Altnagelvin hospital for wounds to her abdomen and bruising to her face. Her injuries are not believed to be life-threatening.
A 36-year-old man who was arrested by police has been bailed pending further enquiries.
A woman is being treated for stab wounds after being attacked in Derry.