idiom

Open a can of worms.

Theme: consequences Keyword: container

means

To create or uncover a complicated set of problems.

Example

Changing the inheritance rules opened a can of worms.