SAN FRANCISCO — Two women who claim they were sexually assaulted by Uber drivers have filed a lawsuit claiming Uber Technologies Inc. allowed the crimes by putting “profits over safety.”

The women, identified as Jane Doe 1 and Jane Doe 2, were assaulted in Boston and Charleston, South Carolina, according to the complaint. Both drivers are accused of taking the women to a secluded area, locking the car doors, and forcing themselves on their passengers.