{"id":"CVE-2026-113612","title":"SparkyFitness before 0.17.0 Missing Authorization via food-variants DELETE Endpoint","summary":"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 publ…","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","cvssSource":"cna","cwe":["CWE-862"],"vendor":"CodeWithCJ","product":"SparkyFitness","affected":["SparkyFitness < 0.17.0"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T16:24:11.606376Z"},"exploitAvailable":true,"published":"2026-10-20","updated":"2026-10-20","sourceUpdated":"2026-10-20T16:25:31.674Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-113612","references":[{"url":"https://github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-qph8-6xrr-7xjw","label":"GitHub Security Advisory (GHSA-qph8-6xrr-7xjw)"},{"url":"https://github.com/CodeWithCJ/SparkyFitness/commit/79215eb4d6dda12262e1bb15b76dceb0e37f6fa1"},{"url":"https://github.com/CodeWithCJ/SparkyFitness/releases/tag/v0.17.0","label":"SparkyFitness v0.17.0 Release Notes"},{"url":"https://github.com/CodeWithCJ/SparkyFitness/blob/v0.16.9/SparkyFitnessServer/services/foodCoreService.ts#L479-L498"},{"url":"https://www.vulncheck.com/advisories/sparkyfitness-before-0.17.0-missing-authorization-via-food-variants-delete-endpoint","label":"VulnCheck Advisory: SparkyFitness before 0.17.0 Missing Authorization via food-variants DELETE Endpoint"}],"tags":["cve.org","exploit-available"],"ingestedAt":"2026-10-20T16:10:53.301Z","slug":"CVE-2026-113612","body":"## Overview\n\nSparkyFitness 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.\n\n## Affected\n\n- `SparkyFitness < 0.17.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":42,"depthScoreParts":{"impact":29.7,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":226004,"id":"CVE-2026-113612","ts":1792516423221,"field":"exploit_available","old":"false","new":"true"}]}