CVE-2024-3955PiBrewing CraftBeerPi 4
Critical 9.8 No auth needed
Follow: this CVE · PiBrewing · PiBrewing CraftBeerPi 4 We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- May 2, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for CraftBeerPi 4.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cbpi4 |
≥ 4.0.0.58 < 4.4.1.a1 |
4.4.1.a1 |
pip install "cbpi4>=4.4.1.a1" |
| PyPI | cbpi4 |
≥ 4.0.0.58 < 4.4.1.a1 |
4.4.1.a1 |
pip install "cbpi4>=4.4.1.a1" |
Per OSV / GitHub Advisories (GHSA-4f92-w438-f484, PYSEC-2026-308). Check the version in your lockfile before upgrading.
Affected products
- PiBrewing · CraftBeerPi 4
- CraftBeerPi - Brewing Controller · CraftBeerPi 4
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.