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.
References6
- github.com/CodeWithCJ/SparkyFitness/blob/v0.16.9/SparkyFitnessS…
- github.com/CodeWithCJ/SparkyFitness/commit/79215eb4d6dda12262e1…
- github.com/CodeWithCJ/SparkyFitness/releases/tag/v0.17.0
- github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-qp…
- www.vulncheck.com/advisories/sparkyfitness-before-0.17.0-missin…
- github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-qp…
Metrics
- CVSS 3.1
-
5.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - CVSS 4.0
-
5.3
MEDIUM
Score source: CNA
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 - EPSS — exploit probability
- 0% percentile: 33 · as of 9 November 2026
- CWE
- CWE-862
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.