can of worms

Noun
  1. a source of unpredictable trouble and complexity
can of worms
Opening that old contract turned out to be a real can of worms.