Two city workers exploited flaws in the city’s welfare system to swipe $2.1 million worth of food stamps and rental subsidies — and then spent $120,000 on Red Bull, authorities said Tuesday.

Petronila Peralta of The Bronx and Cherrise Watson-Jackson of Queens — both longtime employees of the Human Resources Administration — were charged with fraud, along with 11 co-conspirators who allegedly helped carry out the scam between 2008 and 2013.

Officials said Peralta took advantage of a “vulnerability” in the welfare benefits system that allowed her to dole out more than $600,000 in phony benefits to 140 ineligible recipients using paper forms that didn’t register in electronic records.

Peralta also used recruiters to find welfare recipients who would fork over their account information in exchange for cash, authorities said.

She was fired in 2014.

Watson-Jackson, a supervisor at an HRA job center in Queens, allegedly steered illegal food stamp and rental subsidy benefits to accomplices using electronic benefit transfer cards obtained by paying off legitimate public assistance recipients.

In one instance, Watson-Jackson — who earned $63,000 — and her co-conspirators used the benefit cards to buy Red Bull from a BJ’s Wholesale Club that were later “fenced” to retailers, authorities said.

About $120,000 in fraudulent food stamps were doled out over five months to buy the caffeine-filled energy drink, according to the city Department of Investigation.

In another scam, Watson-Jackson registered accomplices as landlords with the city and then issued payments to them in exchange for kickbacks, authorities said.

“This defendant was entrusted to provide government assistance to New York’s neediest families but instead abused that trust and her authority,” said New York state Inspector General Catherine Leahy Scott, whose office assisted in the investigation.