I once authorised a sandwich for the FO when the crew food was not provided correctly.
It was all recorded on the flight paperwork, with explanation given. Totally honest.
Repercussions?
30 minute interview with a manager for me to give a full explanation for my conduct.
It's not just CC.
No-one defends 'stealing', but there has to be proportionality.