A percutaneous surgical device and method for creating a cavity within tissue during a minimally invasive procedure. A cavitation device includes a shaft interconnected to a flexible cutting element. A flexible cutting element has a first shape suitable for minimally invasive passage into tissue. The flexible cutting element has a means to move toward a second shape suitable for forming a cavity in tissue. When used in bone, the resulting cavity is usually filled with bone cement or suitable bone replacement material that is injectable and hardens in situ. The disclosed cavitation device and methods can be used for the following applications: (1) treatment or prevention of bone fracture, (2) joint fusion, (3) implant fixation, (4) tissue harvesting (especially bone), (5) removal of diseased tissue (hard or soft tissue), and (6) general tissue removal (hard or soft tissue).