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.
Published: 2026-10-20
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Data Destruction via Unauthorized Delete
Action: Immediate Patch
AI Analysis

Impact

SparkyFitness versions prior to 0.17.0 contain a missing authorization check on the DELETE /api/foods/food-variants/:id endpoint. Authenticated users can delete food variant records belonging to other users. By harvesting variant IDs through publicly readable food endpoints, an attacker can remove serving and nutrition data from foods that the victim has shared, causing loss of data and potentially impacting dietary tracking functionality.

Affected Systems

The vulnerability affects all installations of SparkyFitness running any version before 0.17.0, as identified in the vendor CodeWithCJ. No specific sub‑versions are listed, so all releases in that range are impacted.

Risk and Exploitability

With a CVSS score of 5.3 the vulnerability is classified as medium severity. No EPSS value is provided, and the issue is not listed in the CISA KEV catalog, suggesting limited publicly known exploitation. The attack requires authenticated access and knowledge of variant IDs, which can be obtained from public food read endpoints, indicating that the attack vector is likely internal users or compromised accounts with legitimate credentials.

Generated by OpenCVE AI on October 20, 2026 at 17:34 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SparkyFitness to version 0.17.0 or later, which implements proper authorization checks on the DELETE endpoint.
  • If an upgrade is not immediately possible, apply a temporary configuration that disables the DELETE /api/foods/food-variants/:id endpoint or enforces authorization for that route.
  • Disable or revoke any user accounts that are no longer needed to reduce the set of users able to perform unauthorized deletes.

Generated by OpenCVE AI on October 20, 2026 at 17:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title SparkyFitness before 0.17.0 Missing Authorization via food-variants DELETE Endpoint
First Time appeared Codewithcj
Codewithcj sparkyfitness
Weaknesses CWE-862
CPEs cpe:2.3:a:codewithcj:sparkyfitness:*:*:*:*:*:*:*:*
Vendors & Products Codewithcj
Codewithcj sparkyfitness
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}

cvssV4_0

{'score': 5.3, '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'}


Subscriptions

Codewithcj Sparkyfitness
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T16:25:31.674Z

Reserved: 2026-10-20T11:49:08.126Z

Link: CVE-2026-113612

cve-icon Vulnrichment

Updated: 2026-10-20T16:25:23.902Z

cve-icon NVD

Status : Received

Published: 2026-10-20T16:17:11.787

Modified: 2026-10-20T17:17:35.423

Link: CVE-2026-113612

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T17:45:13Z

Weaknesses