Short answer: not well on its own
Vinegar is unlikely to remove black shoe polish from carpet by itself. Polish is built from waxes, oils, and pigment. Vinegar is mostly water with a mild acid, and it does not dissolve oils and waxes well. It is a weak option for this stain. Dish soap and rubbing alcohol are better first choices.
Why vinegar struggles with polish
Shoe polish sits in the carpet fibers as an oily, waxy film. Water-based products often only spread an oily polish around rather than lifting it. Acidity doesn’t help much against oil. For that reason, vinegar is best treated as a backup, not the main method.
Where vinegar fits, if anywhere
Vinegar’s best use here is after the main work, as a diluted rinse to help cut any soap residue. Use a small amount, dilute it well with water, and test it on a hidden spot first. Let the area dry fully before you try anything else. Some guides suggest a vinegar mix when polish remains after other treatments, but expect it to do less than dish soap or rubbing alcohol.
Start with dish soap instead
A few drops of plain liquid dish soap in warm water is a safer first step. Dampen a white cloth, blot from the outside in, and switch to clean sections often. For how to use dish soap on a spot, read can I use Dawn dish soap to spot clean my carpet.
Then rubbing alcohol, if needed
If the mark remains, use rubbing alcohol on a white cloth. Test a hidden spot first, and blot rather than rub. Keep the room ventilated, and keep the bottle away from heat or flame.
Never mix vinegar with bleach
Vinegar and bleach should never be combined, since the mix can release harmful fumes. Rinse the area with plain water between products, and don’t mix cleaners in the same spot.
If you’ve already used vinegar
Blot the area with plain water to remove what’s left, then let it dry completely. Diluted vinegar and a good rinse are unlikely to harm most carpets, but test first on wool or delicate rugs.
Next steps
For the full sequence, including what to avoid, see how to remove black shoe polish from carpet.