While your dog should never eat a ton of people food, it's proven that cranberries (raw, dried or cooked) are an okay treat to give your pup in moderation.
Stay away from cranberry sauce and cranberry juice, though.
These can be high in sugar and other ingredients that might be harmful for your dog.