{"id":"CVE-2026-55419","aliases":["CVE-2026-55419","GHSA-m2pc-3q4q-w6jr","PYSEC-2026-3916"],"related":[],"kind":"vulnerability","state":"published","title":"Reachy Mini: Unrestricted Upload of File with Dangerous Type","summary":"Reachy Mini is an SDK for controlling Reachy Mini robots. Prior to 1.8.2, the Reachy Mini daemon exposes the /api/media/sounds/upload endpoint implemented by the upload_sound method in src/reachy_mini/daemon/app/routers/media.py without authentication, file-extension checks, content validation, or size validation. The daemon binds to 0.0.0.0 by default and uses permissive CORS allow_origins=[\"*\"], allowing an unauthenticated network attacker to upload arbitrary file types that are written to /tmp/reachy_mini_sounds/<original_filename>. Malicious files can compromise stored-data integrity and can serve as a foothold when combined with other vulnerabilities. This issue is fixed in version 1.8.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Reachy Mini is an SDK for controlling Reachy Mini robots. Prior to 1.8.2, the Reachy Mini daemon exposes the /api/media/sounds/upload endpoint implemented by the upload_sound method in src/reachy_mini/daemon/app/routers/media.py without authentication, file-extension checks, content validation, or size validation. The daemon binds to 0.0.0.0 by default and uses permissive CORS allow_origins=[\"*\"], allowing an unauthenticated network attacker to upload arbitrary file types that are written to /tmp/reachy_mini_sounds/<original_filename>. Malicious files can compromise stored-data integrity and can serve as a foothold when combined with other vulnerabilities. This issue is fixed in version 1.8.2.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe Reachy Mini daemon exposes the “/api/media/sounds/upload” endpoint without authentication and file validation mechanisms.  \nAn attacker can use this endpoint to upload malicious files into the file system that will propagate in future attacks.\n\n## Compromise Chain: Unauthenticated to Full Root Access\n\nThis issue is part of a full compromise chain allowing an unauthenticated user to gain root access on the Reachy’s operating system:\n\n1. Unrestricted File Upload in Media Sounds Upload API \\<= current finding  \n2. Bluetooth Authentication Bypass  \n3. Bluetooth Directory Traversal\n\n\n## Description\n\nThe root cause of the issue is at the handler located in “***src/daemon/app/routers/media.py***” file at the “upload\\_sound” method:\n\n```py\n@router.post(\"/sounds/upload\")\nasync def upload_sound(\n    file: UploadFile = File(...),\n) -> dict[str, str]:\n    \"\"\"Upload a sound file to the daemon's temporary sound directory.\n    The file is saved to ``/tmp/reachy_mini_sounds/<original_filename>``.\n    If a file with the same name already exists it is overwritten.\n    Returns:\n        JSON with the absolute *path* of the saved file on the daemon.\n    \"\"\"\n    if not file.filename:\n        raise HTTPException(status_code=400, detail=\"Filename is required\")\n    # Reject path traversal\n    filename = Path(file.filename).name\n    if not filename or filename in (\".\", \"..\"):\n        raise HTTPException(status_code=400, detail=\"Invalid filename\")\n    os.makedirs(SOUNDS_TMP_DIR, exist_ok=True)\n    dest = os.path.join(SOUNDS_TMP_DIR, filename)\n    content = await file.read()\n    with open(dest, \"wb\") as f:\n        f.write(content)\n    return {\"status\": \"ok\", \"path\": dest}\n```\n\nThis endpoint lacks multiple defence mechanisms:\n\n1. No authentication mechanism.  \n2. No file extension validation.  \n3. No file content/size validation.\n\nAdditionally, the daemon is bound to the 0.0.0.0 network interfaces (a.k.a. all network interfaces) by default along with permissive CORS ( allow\\_origins=\\[“\\*”\\] ) meaning the following API endpoint is exposed to every network interface the daemon is connected to.\n\n# PoC\n\n1. Start the daemon in simulation mode (command depends on the installed environment):\n\n```shell\n .venv/bin/mjpython -m reachy_mini.daemon.app.main --sim --no-media\n```\n\n2. After that check that the media upload API endpoint is activated and you can upload a wav file:\n\n```shell\ncurl -X POST http://<daemon_domain>:<daemon_port>/api/media/sounds/upload \\\n    -F \"file=@/path/to/your/file.wav\"\n```\n\n3. Now attempt to create a “.sh” file containing a script and upload it:\n\n```shell\ncurl -X POST http://<daemon_domain>:<daemon_port>/api/media/sounds/upload \\\n    -F \"file=@/path/to/your/script.sh\"\n```\n\n4. Now error message will be received and you will see that the script file was successfully uploaded to disk.\n\n# Impact\n\nDue to this issue, an attacker can upload malicious files instead of the intended sounds files, harming the integrity of the stored data and allowing an attacker to propagate a foothold in cases another vulnerabilities would arise.\n\n## Fix suggestion\n\nPerform the following check on the API endpoint:\n\n1. Validate that the file extension contains only desired extensions (allow-list approach).  \n2. Validate that the uploaded file’s content matches the desired extension (Magic numbers, and known file structure per file type).  \n3. Enforce authentication on the file upload endpoint.\n\n## Credit\n\nThe vulnerability was discovered by Natan Nehorai of the JFrog Vulnerability Research team.","format":"markdown","source":"ghsa"}],"published":"2026-08-25T17:34:58.892Z","modified":"2026-09-10T12:25:30.194Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"< 1.8.2","status":"affected"}],"vendor":"pollen-robotics","product":"reachy_mini","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.2"}],"ecosystem":"PyPI","package":"reachy-mini","purl":"pkg:pypi/reachy-mini","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.2"}],"ecosystem":"PyPI","package":"reachy-mini","purl":"pkg:pypi/reachy-mini","source":"pysec"}],"references":[{"url":"https://github.com/pollen-robotics/reachy_mini/security/advisories/GHSA-m2pc-3q4q-w6jr","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pollen-robotics/reachy_mini/pull/1209","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pollen-robotics/reachy_mini/commit/984c7723b3ec5da63f4e0a2bcf9f120ceb563e04","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pollen-robotics/reachy_mini/releases/tag/v1.8.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pollen-robotics/reachy_mini","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/reachy-mini","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-m2pc-3q4q-w6jr","tags":["advisory"],"sources":["pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55419","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-26T18:47:41.781Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55419","url":"https://www.cve.org/CVERecord?id=CVE-2026-55419","licence":"CVE Terms of Use","modified":"2026-08-26T18:52:20.336Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m2pc-3q4q-w6jr","url":"https://github.com/advisories/GHSA-m2pc-3q4q-w6jr","licence":"CC-BY-4.0","modified":"2026-09-10T12:25:30.194Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55419","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55419","licence":"Public domain","modified":"2026-09-09T21:07:31.353Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3916","url":"https://osv.dev/vulnerability/PYSEC-2026-3916","licence":"CC-BY-4.0","modified":"2026-09-10T12:15:11.905Z"}],"updatedAt":"2026-11-25T22:59:35.199Z","epss":{"score":0.00416,"percentile":0.37946,"date":"2026-12-01T12:00:22.000Z"}}