SparkyFitness before 0.17.0 Missing Authorization via food-variants DELETE Endpoint
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.
CVE-2026-113612
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-113612
SparkyFitness
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/CodeWithCJ/SparkyFitness",
"vendor": "CodeWithCJ",
"product": "SparkyFitness",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.17.0",
"versionType": "custom"
}
],
"packageURL": "pkg:github/CodeWithCJ/SparkyFitness",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-113612
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #42376 · Revision 1
- Added to Heist Feed
- Publisher date