OS command injection in SparkyFitness backup restore
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
SparkyFitness by CodeWithCJ versions before 1.6.0 are affected. The backup restore endpoint inserts an uploaded filename into a shell command, an OS command injection flaw (CWE-78). An authenticated global administrator can upload a restore archive with a crafted filename containing shell metacharacters to run arbitrary operating-system commands with the server process privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
SparkyFitness is a self-hosted, AI-powered health and fitness tracker for families. Prior to 1.6.0, the api/admin/backup/restore endpoint interpolates an uploaded filename into a shell command. An authenticated global administrator uploads a restore archive with a crafted filename. The administrator can supply a restore archive with a filename containing shell metacharacters. Successful exploitation can execute arbitrary operating-system commands with the server process privileges. This issue is fixed in version 1.6.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| CodeWithCJ | SparkyFitness | before 1.6.0 | 1.6.0 | Patch available | CNA |
- SparkyFitness VendorCodeWithCJ Affected before 1.6.0 Fixed in 1.6.0 Patch available CNA
Remediation
Update SparkyFitness to version 1.6.0, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA SparkyFitness (CodeWithCJ) Fixed in 1.6.0
Timeline
- 2026-10-16 Threatist record created from CVE-2026-92263
- 2026-10-18 Priority changed: MEDIUM → LOW
- 2026-10-21 CISA SSVC decision points changed
- 2026-10-21 Priority changed: LOW → HIGH
References
More CodeWithCJ vulnerabilities
- TI-2025-40340 SparkyFitness v0.15.8.2 is vulnerable to Cross Site Scripting (XSS) via user input and LLM output. CVSS 3.1MEDIUM 6.1
- TI-2026-75335 Server-side request forgery in SparkyFitness AI service settings CVSS 3.1MEDIUM 5.4
- TI-2026-76941 SparkyFitness missing authorization lets users delete others' food variants CVSS 4.0MEDIUM 5.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences