Original 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 software
- SparkyFitness < 0.17.0 Fixed in: 0.17.0 repository or package match
Details
- Published
- 2026-10-21
- Last modified
- 2026-10-21
- 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- CWE
- CWE-862
- EPSS (30-day exploit probability)
- 0.39% (percentile 34)
References
- cve.org/CVE-2026-113612
- nvd.nist.gov/vuln/detail/CVE-2026-113612
- github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-qph8-6xrr-7xjw
- github.com/CodeWithCJ/SparkyFitness/commit/79215eb4d6dda12262e1bb15b76dceb0e37f6fa1
- github.com/CodeWithCJ/SparkyFitness/releases/tag/v0.17.0
- github.com/CodeWithCJ/SparkyFitness/blob/v0.16.9/SparkyFitnessServer/services/foodCoreServ...
- www.vulncheck.com/advisories/sparkyfitness-before-0.17.0-missing-authorization-via-food-va...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.