Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as any SparkyFitness user
-
ExploitObtain victim's Nutritionix provider UUID out-of-band
-
ExecutionCall /foods/nutritionix endpoint with victim's providerId
-
ImpactServer signs calls with victim credentials, draining paid quota
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires (1) a valid authenticated SparkyFitness account (any user; PR:L) and (2) knowledge of the victim's Nutritionix provider UUID. Per the advisory this UUID is a per-user random value that is NOT listable or enumerable across users - the application enforces ownership on the generic provider-read and FatSecret paths (both return 403), so the attacker must learn it out of band (leaked referrer/URL, shared screenshot, log entry, or prior access). The victim must have configured a private Nutritionix provider holding valid paid app_id/app_key credentials. Only the Nutritionix handlers are affected (/foods/nutritionix/search, /nutritionix/nutrients, /nutritionix/item, and /exercises/search?providerType=nutritionix), all funneling through getNutritionixHeaders, in versions <= 1.11.0. Limiting factors: authentication is mandatory, the non-enumerable UUID requirement prevents mass exploitation, the attacker cannot read the credentials themselves, and impact is confined to abusing the victim's Nutritionix quota/cost. |
| Impact | All decision signals point to low real-world priority, and they are mutually consistent. The vendor CVSS 4.0 base is 2.3 (Low) and the vuln.today SSVC-style Decision label is 'monitor' - not act_now or emergency. There is no CISA KEV listing, so this is NOT confirmed actively exploited, and no EPSS score was provided to estimate exploitation probability. A detailed public PoC exists inside the GHSA advisory (curl/Burp walkthrough), but it was demonstrated with deliberately fake credentials and is not verified as weaponized exploit code. The CVSS vector confirms the key limiters: PR:L means the attacker must be an authenticated application user, and AT:P (Attack Requirements: Present) reflects the central gating condition stated in the advisory - the attacker must already know the victim's per-user random provider UUID, which is explicitly not listable across users and must be obtained out of band (leaked URL/referrer, screenshot, logs, prior access). That requirement keeps the flaw from being mass-exploitable or automatable. Impact is narrow: VC:N (the attacker never sees the keys - they are only emitted as outbound headers to a fixed Nutritionix host), with VI:L/VA:L limited to spending the victim's paid Nutritionix quota and potentially tripping their rate limits/cost. This is a genuine BOLA/IDOR authorization defect, but it is a low-urgency, quota-abuse issue against a niche self-hosted product, not a high-CVSS-but-overrated critical. Patch on a normal maintenance cycle. |
| Exploit ScenarioDerived | An authenticated SparkyFitness user who has obtained another user's Nutritionix provider UUID out of band (e.g., a leaked URL, shared screenshot, or log entry) calls /api/foods/nutritionix/search?providerId=<victim_uuid>; the server loads the victim's provider via an RLS-bypassing system pool with no ownership check, decrypts the victim's app_id/app_key, and signs the Nutritionix API call with them, draining the victim's paid quota. A full public PoC demonstrating this flow (with deliberately fake keys) is published in the GHSA advisory; attack complexity is low once the UUID is known, but it requires authentication and that out-of-band UUID. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Missing object-level authorization in SparkyFitness 1.11.0 and earlier lets any authenticated user make the server sign outbound Nutritionix requests with another user's stored app_id and app_key, consuming that victim's paid API quota and potentially triggering rate limits or cost on their Nutritionix account. Four Nutritionix-backed endpoints (food search, nutrients, item lookup and exercise search) skip the ownership check that every other food provider in the application enforces, so knowledge of a victim's provider UUID is enough to use it, while the attacker never sees the credentials themselves. Exploitation requires a valid account plus that UUID obtained out of band, since the value is a per-user random identifier the API refuses to disclose across users; the vendor advisory includes a reproduction built on placeholder keys, and no verified working exploit code against real credentials was identified at time of analysis.
RemediationAI
Upgrade SparkyFitness Server to 1.12.0 or later, the release in which the Nutritionix handlers were routed through the same ownership gate used by every other provider; the patch commit is 932833dad62f104fc334772f88bff745f6556ae8 and the vendor advisory is at https://github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-m32j-h3qw-jpvc. The advisory frames the fix purely as code-level, calling getFoodDataProviderDetails(req.authenticatedUserId, providerId) in the four Nutritionix handlers, and does not document any configuration toggle or setting that closes the gap on 1.11.0, so updating is the remediation it identifies. Because a candidate release is available and the exploitation preconditions (an authenticated account plus a non-enumerable victim provider UUID plus a victim holding paid Nutritionix credentials) are narrow and non-mass-exploitable, this sits at a monitor priority; operators should prioritise it where multi-tenant or shared-instance deployments host many users whose Nutritionix provider identifiers may leak through URLs, screenshots or logs, and should verify after upgrading that the Nutritionix endpoints return 403 for providers owned by another user.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SparkyFitness is an Express/TypeScript server backed by PostgreSQL with row-level security layered over a React frontend. The Nutritionix integration assembles outbound headers in getNutritionixHeaders (SparkyFitnessServer/integrations/nutritionix/nutritionixService.ts line 21), which calls getExternalDataProviderById; that repository function runs on the 'system' database pool that bypasses row-level security and filters only on the row id, never on the caller. The vulnerable route at foodIntegrationRoutes.ts line 549 applies only the authenticate middleware and passes the client-supplied providerId query parameter straight into searchNutritionixFoods, so the decrypted third-party credentials are emitted as x-app-id and x-app-key headers for whatever provider row the attacker names. This is CWE-639 (authorization bypass through user-controlled key), overlapping CWE-862 (missing authorization); the same flaw reaches /foods/nutritionix/nutrients, /foods/nutritionix/item and /exercises/search?providerType=nutritionix, all of which funnel through getNutritionixHeaders. Every other provider type (FatSecret, Mealie, Tandoor, Norish, USDA) first calls foodService.getFoodDataProviderDetails(req.authenticatedUserId, providerId) and returns 403 when the caller does not own the record, and the advisory's decision table demonstrates that both the generic provider read and the FatSecret search path correctly reject a second user while the Nutritionix paths do not. Because the credentials are only ever sent to the fixed trackapi.nutritionix.com host, the exposure is quota and cost abuse on the victim's provider rather than credential disclosure.
Know when Sparkyfitness gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Authenticated user (PR:L) must know the victim's non-enumerable provider UUID obtained out-of-band (AC:H); keys are never exposed (C:N); only quota/cost abuse, giving I:L/A:L.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SparkyFitness before 1.12.0 contains a missing ownership check in getNutritionixHeaders that allows authenticated users to use another user's Nutritionix API credentials via the providerId parameter. Attackers who know a victim's provider UUID can call the Nutritionix search, nutrients, item, or exercise endpoints to consume the victim's paid API quota.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in SparkyFitness Authentication and Authorization Flaws
View all 2More in Sparkyfitness
View allSparkyFitness v0.15.8.2 is vulnerable to Cross Site Scripting (XSS) via user input and LLM output. [CVSS 6.1 MEDIUM]
OS command injection in SparkyFitness versions prior to 1.6.0 allows an authenticated global administrator to execute ar
Server-side request forgery in SparkyFitness (self-hosted AI health and fitness tracker) before version 1.6.0 lets an au
Missing authorization in SparkyFitness before 0.17.0 allows any authenticated user to delete other users' food variants
EUVD-2026-133581
GHSA-8pmm-r3qw-p7w4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB