{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.12.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "932833dad62f104fc334772f88bff745f6556ae8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.12.0",
                "range": [
                  {
                    "fixed": "ac0af73d069577cd03a36a4e44aa57d63a633004"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ac0af73d069577cd03a36a4e44aa57d63a633004"
            },
            {
              "fixed": "932833dad62f104fc334772f88bff745f6556ae8"
            }
          ],
          "repo": "https://github.com/codewithcj/sparkyfitness",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m32j-h3qw-jpvc"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135684.json"
  },
  "details": "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.",
  "id": "CVE-2026-135684",
  "modified": "2026-11-24T01:45:37.694617502Z",
  "published": "2026-11-24T00:11:56.750Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135684.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/CodeWithCJ/SparkyFitness"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/CodeWithCJ/SparkyFitness/blob/v1.11.0/SparkyFitnessServer/integrations/nutritionix/nutritionixService.ts#L21"
    },
    {
      "type": "FIX",
      "url": "https://github.com/CodeWithCJ/SparkyFitness/commit/932833dad62f104fc334772f88bff745f6556ae8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CodeWithCJ/SparkyFitness/releases/tag/v1.12.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CodeWithCJ/SparkyFitness/security/advisories/GHSA-m32j-h3qw-jpvc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135684"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/sparkyfitness-before-1.12.0-idor-via-nutritionix-provider-providerid-parameter"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SparkyFitness before 1.12.0 IDOR via Nutritionix Provider providerId Parameter"
}