# CVE-2026-113612: SparkyFitness before 0.17.0 Missing Authorization via food-variants DELETE Endpoint

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T15:40:36.888Z
- Modified: 2026-10-20T20:11:29.833Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- CodeWithCJ SparkyFitness: before 0.17.0

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-qph8-6xrr-7xjw> (exploit, vendor-advisory)
- <https://github.com/CodeWithCJ/SparkyFitness/commit/79215eb4d6dda12262e1bb15b76dceb0e37f6fa1> (patch)
- <https://github.com/CodeWithCJ/SparkyFitness/releases/tag/v0.17.0> (release-notes)
- <https://github.com/CodeWithCJ/SparkyFitness/blob/v0.16.9/SparkyFitnessServer/services/foodCoreService.ts#L479-L498> (technical-description)
- <https://www.vulncheck.com/advisories/sparkyfitness-before-0.17.0-missing-authorization-via-food-variants-delete-endpoint> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-113612](https://www.cve.org/CVERecord?id=CVE-2026-113612), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-113612](https://nvd.nist.gov/vuln/detail/CVE-2026-113612), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-113612 · Whole record: https://cve.day/CVE-2026-113612.json · Rebuilt by cve.day 2026-11-25T22:59:46.070Z
