PYSEC-2026-308

Vulnerability from pysec - Published: 2026-06-29 11:50 - Updated: 2026-07-01 20:22
VLAI
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).

Impacted products
Name purl
cbpi4 pkg:pypi/cbpi4

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "cbpi4",
        "purl": "pkg:pypi/cbpi4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.0.0.58"
            },
            {
              "fixed": "4.4.1.a1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.0.5",
        "4.0.5a13",
        "4.0.5a14",
        "4.0.5a15",
        "4.0.5a16",
        "4.0.6",
        "4.0.7",
        "4.0.7rc1",
        "4.0.7rc3",
        "4.1.0",
        "4.1.0a2",
        "4.1.0a3",
        "4.1.0rc1",
        "4.1.0rc2",
        "4.1.0rc5",
        "4.1.0rc8",
        "4.1.10",
        "4.1.10rc2",
        "4.1.11",
        "4.1.2",
        "4.1.6",
        "4.1.7",
        "4.1.7rc1",
        "4.2.0",
        "4.2.0a6",
        "4.2.0rc1",
        "4.3.0",
        "4.3.1",
        "4.3.2",
        "4.4.0"
      ]
    }
  ],
  "aliases": [
    "CVE-2024-3955",
    "GHSA-4f92-w438-f484"
  ],
  "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",
  "id": "PYSEC-2026-308",
  "modified": "2026-07-01T20:22:50.205186Z",
  "published": "2026-06-29T11:50:40.064038Z",
  "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"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/cbpi4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-4f92-w438-f484"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "CraftBeerPi 4 allows arbitrary code execution"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…