Does buying a new car with an open bankruptcy affect your bankruptcy?

If you filed a Chapter 7 bankruptcy and buy a car before the discharge is issued, there's no impact on your case. If you're in Chapter 13, however, your disposable income post-filing until discharge may be considered property of the estate; in addition, if you're financing the new car then you likely need to have the court's permission before entering into the financing agreement.