{"id":"CVE-2024-3955","aliases":["PYSEC-2026-308"],"url":"https://o3.security/vulnerability/CVE-2024-3955","summary":"CraftBeerPi 4 allows arbitrary code execution","details":"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 arbitrary code execution. This issue affects CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7).\n\n","published":"2024-05-02T12:30:40Z","modified":"2026-06-29T12:26:44.612917942Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"cbpi4","fixedVersion":"4.4.1.a1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3955"},{"type":"WEB","url":"https://github.com/PiBrewing/craftbeerpi4/issues/132"},{"type":"WEB","url":"https://cert.pl/en/posts/2024/05/CVE-2024-3955"},{"type":"WEB","url":"https://cert.pl/posts/2024/05/CVE-2024-3955"},{"type":"PACKAGE","url":"https://github.com/PiBrewing/craftbeerpi4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-29T12:26:44.612917942Z"}}