hang by a thread

verb

1.
depend on a small thing or be at risk