What’s Vulnerable › Vulnerabilities
CVE-2026-113612: SparkyFitness before 0.17.0 Missing Authorization via food-variants DELETE Endpoint
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-20 · updated 2026-10-20
- Weakness: CWE-862
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 products
- CodeWithCJ SparkyFitness: before 0.17.0 — fixed in 0.17.0
How to fix
Upgrade to a fixed version: CodeWithCJ SparkyFitness 0.17.0. Check the vendor advisory for mitigations.
References
- https://github.com/CodeWithCJ/SparkyFitness/blob/v0.16.9/SparkyFitnessServer/services/foodCoreService.ts#L479-L498
- https://github.com/CodeWithCJ/SparkyFitness/commit/79215eb4d6dda12262e1bb15b76dceb0e37f6fa1
- https://github.com/CodeWithCJ/SparkyFitness/releases/tag/v0.17.0
- https://github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-qph8-6xrr-7xjw
- https://www.vulncheck.com/advisories/sparkyfitness-before-0.17.0-missing-authorization-via-food-variants-delete-endpoint
- https://github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-qph8-6xrr-7xjw
Get alerted when CVE-2026-113612 or the next vulnerability affects your stack