As the margin required for a spread is substantially less than the full price of the security (which is the whole point of the spread), you can end up in a situation where you're forced to buy more stock than the total liquidation value of your portfolio. Plus this happens at the close on a Friday (as that's when option expiration happens) so you can't liquidate the stock until Monday morning and you're at the mercy of the opening price. If the quantity of options sold is large enough and the price moves against you far enough, you can get completely wiped out.
It's your responsibility to close out your spreads prior to close. FYI, this situation can happen even if they're out of the money as the counter party to the worthless option could still choose to exercise it.
To me, it sounds like you are describing a naked short call, or a short put.
It is not a spread. By definition, spreads have limited risk, and limited rewards.
The four main types of spreads. Take a look at the PNL diagrams. It is limited risk. https://www.optionseducation.org/strategies_advanced_concept... https://www.optionseducation.org/strategies_advanced_concept... https://www.optionseducation.org/strategies_advanced_concept... https://www.optionseducation.org/strategies_advanced_concept...
The situation I’m describing is when the sold option expires in the money but the purchased cover does not. It won’t automatically execute and you’re left with essentially a naked short.