# CVE-2022-24796: Remote Command Injection in RaspberryMatic

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.74%, higher than 90% of CVEs (2026-12-01)
- Published: 2022-03-31T22:40:17.000Z
- Modified: 2026-06-17T04:32:32.303Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

RaspberryMatic is a free and open-source operating system for running a cloud-free smart-home using the homematicIP / HomeMatic hardware line of IoT devices. A Remote Code Execution (RCE) vulnerability in the file upload facility of the WebUI interface of RaspberryMatic exists. Missing input validation/sanitization in the file upload mechanism allows remote, unauthenticated attackers with network access to the WebUI interface to achieve arbitrary operating system command execution via shell metacharacters in the HTTP query string. Injected commands are executed as root, thus leading to a full compromise of the underlying system and all its components. Versions after `2.31.25.20180428` and prior to `3.63.8.20220330` are affected. Users are advised to update to version `3.63.8.20220330` or newer. There are currently no known workarounds to mitigate the security impact and users are advised to update to the latest version available.

(As written by CVE List.)

## Affected

- jens-maus RaspberryMatic: >= 2.31.25.20180428, < 3.63.8.20220330
- raspberrymatic raspberrymatic: from 2.31.25.20180428 before 3.63.8.20220330

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/jens-maus/RaspberryMatic/security/advisories/GHSA-g7vv-7rmf-mff7> (patch, third-party-advisory)
- <https://github.com/jens-maus/RaspberryMatic/commit/34854659a63e9fb3ad529bb413e96978c6450a53> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-24796](https://www.cve.org/CVERecord?id=CVE-2022-24796), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-24796](https://nvd.nist.gov/vuln/detail/CVE-2022-24796), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24796 · Whole record: https://cve.day/CVE-2022-24796.json · Rebuilt by cve.day 2026-11-25T22:58:10.354Z
