{"id":"CVE-2026-113612","kind":"vulnerability","aliases":["CVE-2026-113612"],"related":[],"title":"SparkyFitness: authenticated users can delete other users' food variants","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.","summary":"SparkyFitness versions before 0.17.0 let any logged-in user delete food variants owned by other users through the DELETE /api/foods/food-variants/:id endpoint. An attacker can take variant IDs from public food read endpoints and remove serving and nutrition data from publicly shared foods.","severity":"medium","cvss":5.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["multi-user","package","self-hosted","sparkyfitness"],"not_affected_if":["single-user","upgraded-to-0.17.0"],"how_to_check":"- Check the installed SparkyFitness version (for example in the package or release tag) and confirm whether it is below `0.17.0`\n- Review the deployed code for the `DELETE /api/foods/food-variants/:id` handler and confirm it checks ownership before deleting","fix":"- Upgrade SparkyFitness to `0.17.0` or later\n- Until upgraded, restrict access to the instance to trusted users","status":"open","published_at":"2026-10-20T16:17:11+00:00","first_seen_at":"2026-10-23T21:57:20+00:00","triaged_at":"2026-10-25T04:16:29+00:00","updated_at":"2026-10-25T04:16:29+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T04:16:29Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade SparkyFitness to `0.17.0` or later\n- Until upgraded, restrict access to the instance to trusted users","reach":"network","title":"SparkyFitness: authenticated users can delete other users' food variants","impact":"medium","summary":"SparkyFitness versions before 0.17.0 let any logged-in user delete food variants owned by other users through the DELETE /api/foods/food-variants/:id endpoint. An attacker can take variant IDs from public food read endpoints and remove serving and nutrition data from publicly shared foods.","category":"package","nicknames":[],"who_cares":["self-hosted","sparkyfitness","multi-user"],"confidence":0.7,"needs_auth":"yes","worst_case":"Other users' food variant data is deleted on shared foods","analyst_note":"","how_to_check":"- Check the installed SparkyFitness version (for example in the package or release tag) and confirm whether it is below `0.17.0`\n- Review the deployed code for the `DELETE /api/foods/food-variants/:id` handler and confirm it checks ownership before deleting","needs_analyst":false,"not_affected_if":["single-user","upgraded-to-0.17.0"],"who_is_affected":"Self-hosted or shared SparkyFitness instances below 0.17.0 with multiple user accounts are exposed, because any authenticated user can reach the delete endpoint for food variants they do not own. Single-user instances, where only the owner has an account, carry little risk from other users. Instances already on 0.17.0 or later are not affected.","user_interaction":"no","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000619,"input_tokens":3337,"output_tokens":571,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-113612':12A,15A '-2026':11A,14A '/api/foods/food-variants':44B,89C '0.17.0':27B,70C 'allow':77C 'attack':48B,92C 'authent':2A,78C 'author':74C 'contain':71C 'cve':10A,13A 'data':63B,114C 'delet':5A,34B,43B,81C,88C,103C 'destroy':112C 'endpoint':46B,57B,91C,101C 'food':8A,35B,55B,67B,84C,99C,111C 'host':22B 'id':45B,52B,90C,96C 'let':28B 'log':31B 'logged-in':30B 'miss':73C 'multi':17B 'multi-us':16B 'nutrit':62B,106C 'own':37B 'packag':19B 'public':54B,65B,98C,109C 'read':56B,100C 'remov':59B 'self':21B 'self-host':20B 'serv':60B,104C 'share':66B,110C 'sparkyfit':1A,23B,24B,68C 'take':50B 'use':94C 'user':3A,7A,18B,33B,40B,79C,83C 'variant':9A,36B,51B,85C,95C,107C 'version':25B 'via':86C 'victim':113C 'vulner':75C","nicknames":[],"mitigations":[],"who_affected":"Self-hosted or shared SparkyFitness instances below 0.17.0 with multiple user accounts are exposed, because any authenticated user can reach the delete endpoint for food variants they do not own. Single-user instances, where only the owner has an account, carry little risk from other users. Instances already on 0.17.0 or later are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-20T16:17:11+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-113612","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113612","severity":null,"published_at":"2026-10-20T16:17:11+00:00","modified_at":"2026-10-20T20:11:29+00:00","first_seen_at":"2026-10-23T21:57:20+00:00","fetched_at":"2026-10-23T22:28:58+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}