What’s Vulnerable › Vulnerabilities

CVE-2026-113612: SparkyFitness before 0.17.0 Missing Authorization via food-variants DELETE Endpoint

Description

SparkyFitness before 0.17.0 contains a missing authorization vulnerability that allows authenticated users to delete other users' food variants via the DELETE /api/foods/food-variants/:id endpoint. Attackers can use variant IDs from public food read endpoints to delete serving and nutrition variants of publicly shared foods, destroying victims' data.

Affected products

How to fix

Upgrade to a fixed version: CodeWithCJ SparkyFitness 0.17.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-113612 or the next vulnerability affects your stack