{"id":"CVE-2026-113612","revision":"fd74a6e4bfd1405eb89f36a0d0d8d032","records":[{"revision":"fd74a6e4bfd1405eb89f36a0d0d8d032","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-113612","aliases":[],"title":"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.","state":0,"publishedAt":"2026-10-20T15:40:36.888+00:00","modifiedAt":"2026-10-20T16:25:31.674+00:00","affected":[{"ecosystem":"Vendor product","name":"SparkyFitness","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"CodeWithCJ\",\n                    \"product\": \"SparkyFitness\",\n                    \"packageURL\": \"pkg:github/CodeWithCJ/SparkyFitness\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"0.17.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/CodeWithCJ/SparkyFitness\"\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"severity":"MEDIUM"}],"references":["https://github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-qph8-6xrr-7xjw","https://github.com/CodeWithCJ/SparkyFitness/commit/79215eb4d6dda12262e1bb15b76dceb0e37f6fa1","https://github.com/CodeWithCJ/SparkyFitness/releases/tag/v0.17.0","https://github.com/CodeWithCJ/SparkyFitness/blob/v0.16.9/SparkyFitnessServer/services/foodCoreService.ts#L479-L498","https://www.vulncheck.com/advisories/sparkyfitness-before-0.17.0-missing-authorization-via-food-variants-delete-endpoint"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-113612","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-113612","identifiers":["CVE-2026-113612"]},"retained":false,"historicalAffected":[]}],"coverage":[]}