https://en.wikipedia.org/wiki/List_of_nuclear_close_calls
https://en.wikipedia.org/wiki/List_of_military_nuclear_accid...
https://en.wikipedia.org/wiki/List_of_nuclear_close_calls
https://en.wikipedia.org/wiki/List_of_military_nuclear_accid...
In both cases, they were razor-thin near misses. If either accident happened even once more, we absolutely would have either a radiological disaster or accidental nuclear war.
It's this sort of thing that makes me think maybe we shouldn't have any nuclear technology at all, the risks are just too high. Climate change is bad, but not as bad as burning our entire planet to the ground in under an hour, then poisoning it forever.
[1] https://en.wikipedia.org/wiki/1983_Soviet_nuclear_false_alar...
[2] https://en.wikipedia.org/wiki/1980_Damascus_Titan_missile_ex...
The Soviet incident sure, but the missile explosion was pretty much as bad as it could have been. You could explode the rocket fuel in every nuclear missile on the planet and you wouldn't get a single nuclear explosion, just scattered chunks of fresh nuclear fuel over a small area, which isn't really a huge deal compared to, for example, an oil pipeline leak.
Still, in principle, the Russians and Americans, and I believe the Chinese, have satellites that detect the distinctive radiation burst from a nuclear explosion. (There's a detector on each GPS satellite.) So it /should/ fail to pass some of the automatic and manual thresholds before we're off to press the button. But in a tense situation, ambiguous data... one does worry a bit. There's been ambiguity with the detectors before. (Was there, or wasn't there, a nuclear explosion in the south Indian ocean in 1979? https://en.m.wikipedia.org/wiki/Vela_incident )