# CVE-2024-3955: Arbitrary code execution in CraftBeerPi 4

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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): 1.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2024-05-02T09:43:51.941Z
- Modified: 2026-10-27T16:30:06.791Z
- Also known as: GHSA-4f92-w438-f484, PYSEC-2026-308
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CERT-PL

## Description

URL GET parameter "logtime" utilized within the "downloadlog" function from "cbpi/http_endpoints/http_system.py" is subsequently passed to the "os.system" function in "cbpi/controller/system_controller.py" without prior validation allowing to execute arbitrary code.This issue affects CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7).

(As written by CVE List.)

## Affected

- PiBrewing CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7); 4.0.0.58 (commit 563fae9)
- CraftBeerPi - Brewing Controller CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) up to *
- cbpi4 (PyPI): from 4.0.0.58 before 4.4.1.a1

## Every score

- CISA-ADP: 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`
- GitHub: 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`
- PyPA Advisory Database: 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`

## References

- <https://cert.pl/en/posts/2024/05/CVE-2024-3955/> (third-party-advisory)
- <https://cert.pl/posts/2024/05/CVE-2024-3955/> (third-party-advisory)
- <https://github.com/PiBrewing/craftbeerpi4/issues/132> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-3955> (advisory)
- <https://cert.pl/en/posts/2024/05/CVE-2024-3955> (web)
- <https://cert.pl/posts/2024/05/CVE-2024-3955> (web)
- <https://github.com/PiBrewing/craftbeerpi4> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/cbpi4/PYSEC-2026-308.yaml> (web)
- <https://pypi.org/project/cbpi4> (package, web)
- <https://github.com/advisories/GHSA-4f92-w438-f484> (advisory)

## Sources

- CVE List: [CVE-2024-3955](https://www.cve.org/CVERecord?id=CVE-2024-3955), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-4f92-w438-f484](https://github.com/advisories/GHSA-4f92-w438-f484), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-3955](https://nvd.nist.gov/vuln/detail/CVE-2024-3955), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-308](https://osv.dev/vulnerability/PYSEC-2026-308), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-3955 · Whole record: https://cve.day/CVE-2024-3955.json · Rebuilt by cve.day 2026-11-25T22:58:39.842Z
