Skip to main content

SparkyFitness CVE-2026-135684

| EUVDEUVD-2026-133581 LOW
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-24 VulnCheck GHSA-8pmm-r3qw-p7w4
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as any SparkyFitness user
  2. Exploit
    Obtain victim's Nutritionix provider UUID out-of-band
  3. Execution
    Call /foods/nutritionix endpoint with victim's providerId
  4. Impact
    Server 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

SparkyFitness 0 <1.12.0

Affected Packages

euvd sparkyfitness fix: 1.12.0

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

Vendor (VulnCheck) PRIMARY 2.3 LOW
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
vuln.today AI 4.2 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche self-hosted open-source fitness tracker, small deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy