SUSE-SU-2026:21813-1

Vulnerability from csaf_suse - Published: 2026-05-18 09:43 - Updated: 2026-05-18 09:43
Summary
Security update for python-GitPython
Severity
Important
Notes
Title of the patch: Security update for python-GitPython
Description of the patch: This update for python-GitPython fixes the following issues - CVE-2026-42215: command injection via Git options bypass (bsc#1264604). - CVE-2026-42284: unsafe option check validates multi_options before shlex.split transforms it (bsc#1264605). - CVE-2026-44243: path traversal in GitPython reference APIs allows arbitrary file write and delete outside the repository (bsc#1264606). - CVE-2026-44244: newline injection in config_writer().set_value() enables RCE via core.hooksPath (bsc#1264608).
Patchnames: SUSE-SLES-16.0-775
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
Affected products
Product Identifier Version Remediation
Unresolved product id: SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch
Vendor Fix
Unresolved product id: SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch
Vendor Fix
Threats
Impact important
Affected products
Product Identifier Version Remediation
Unresolved product id: SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch
Vendor Fix
Unresolved product id: SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch
Vendor Fix
Threats
Impact important
Affected products
Product Identifier Version Remediation
Unresolved product id: SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch
Vendor Fix
Unresolved product id: SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch
Vendor Fix
Threats
Impact moderate
Affected products
Product Identifier Version Remediation
Unresolved product id: SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch
Vendor Fix
Unresolved product id: SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch
Vendor Fix
Threats
Impact important

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for python-GitPython",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for python-GitPython fixes the following issues\n\n- CVE-2026-42215: command injection via Git options bypass (bsc#1264604).\n- CVE-2026-42284: unsafe option check validates multi_options before shlex.split transforms it (bsc#1264605).\n- CVE-2026-44243: path traversal in GitPython reference APIs allows arbitrary file write and delete outside the\n  repository (bsc#1264606).\n- CVE-2026-44244: newline injection in config_writer().set_value() enables RCE via core.hooksPath (bsc#1264608).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-SLES-16.0-775",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_21813-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2026:21813-1",
        "url": "https://www.suse.com/support/update/announcement/2026/suse-su-202621813-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2026:21813-1",
        "url": "https://lists.suse.com/pipermail/sle-updates/2026-May/046800.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1264604",
        "url": "https://bugzilla.suse.com/1264604"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1264605",
        "url": "https://bugzilla.suse.com/1264605"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1264606",
        "url": "https://bugzilla.suse.com/1264606"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1264608",
        "url": "https://bugzilla.suse.com/1264608"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-42215 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-42215/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-42284 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-42284/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-44243 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-44243/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-44244 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-44244/"
      }
    ],
    "title": "Security update for python-GitPython",
    "tracking": {
      "current_release_date": "2026-05-18T09:43:07Z",
      "generator": {
        "date": "2026-05-18T09:43:07Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2026:21813-1",
      "initial_release_date": "2026-05-18T09:43:07Z",
      "revision_history": [
        {
          "date": "2026-05-18T09:43:07Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python313-GitPython-3.1.44-160000.3.1.noarch",
                "product": {
                  "name": "python313-GitPython-3.1.44-160000.3.1.noarch",
                  "product_id": "python313-GitPython-3.1.44-160000.3.1.noarch"
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Server 16.0",
                "product": {
                  "name": "SUSE Linux Enterprise Server 16.0",
                  "product_id": "SUSE Linux Enterprise Server 16.0",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sles:16:16.0:server"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Server for SAP applications 16.0",
                "product": {
                  "name": "SUSE Linux Enterprise Server for SAP applications 16.0",
                  "product_id": "SUSE Linux Enterprise Server for SAP applications 16.0",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sles:16:16.0:server-sap"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python313-GitPython-3.1.44-160000.3.1.noarch as component of SUSE Linux Enterprise Server 16.0",
          "product_id": "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
        },
        "product_reference": "python313-GitPython-3.1.44-160000.3.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Server 16.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python313-GitPython-3.1.44-160000.3.1.noarch as component of SUSE Linux Enterprise Server for SAP applications 16.0",
          "product_id": "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
        },
        "product_reference": "python313-GitPython-3.1.44-160000.3.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Server for SAP applications 16.0"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-42215",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-42215"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "GitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git options such as --upload-pack and --receive-pack by default, but the equivalent Python kwargs upload_pack and receive_pack bypass that check. If an application passes attacker-controlled kwargs into Repo.clone_from(), Remote.fetch(), Remote.pull(), or Remote.push(), this leads to arbitrary command execution even when allow_unsafe_options is left at its default value of False. This issue has been patched in version 3.1.47.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
          "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-42215",
          "url": "https://www.suse.com/security/cve/CVE-2026-42215"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1264604 for CVE-2026-42215",
          "url": "https://bugzilla.suse.com/1264604"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
            "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
            "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-05-18T09:43:07Z",
          "details": "important"
        }
      ],
      "title": "CVE-2026-42215"
    },
    {
      "cve": "CVE-2026-42284",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-42284"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates multi_options as the original list, then executes shlex.split(\" \".join(multi_options)). A string like \"--branch main --config core.hooksPath=/x\" passes validation (starts with --branch), but after split becomes [\"--branch\", \"main\", \"--config\", \"core.hooksPath=/x\"]. Git applies the config and executes attacker hooks during clone. This issue has been patched in version 3.1.47.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
          "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-42284",
          "url": "https://www.suse.com/security/cve/CVE-2026-42284"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1264605 for CVE-2026-42284",
          "url": "https://bugzilla.suse.com/1264605"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
            "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
            "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-05-18T09:43:07Z",
          "details": "important"
        }
      ],
      "title": "CVE-2026-42284"
    },
    {
      "cve": "CVE-2026-44243",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-44243"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "GitPython is a python library used to interact with Git repositories. Prior to version 3.1.48, a vulnerability in GitPython allows attackers who can supply a crafted reference path to an application using GitPython to write, overwrite, move, or delete files outside the repository\u0027s .git directory via insufficient validation of reference paths in reference creation, rename, and delete operations. This issue has been patched in version 3.1.48.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
          "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-44243",
          "url": "https://www.suse.com/security/cve/CVE-2026-44243"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1264606 for CVE-2026-44243",
          "url": "https://bugzilla.suse.com/1264606"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
            "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
            "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-05-18T09:43:07Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2026-44243"
    },
    {
      "cve": "CVE-2026-44244",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-44244"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Python\u0027s configparser without validating for newlines. GitPython\u0027s own _write() converts embedded newlines into indented continuation lines (e.g. \\n becomes \\n\\t), but Git still accepts an indented [core] stanza as a section header - so the injected core.hooksPath becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path. This issue has been patched in version 3.1.49.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
          "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-44244",
          "url": "https://www.suse.com/security/cve/CVE-2026-44244"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1264608 for CVE-2026-44244",
          "url": "https://bugzilla.suse.com/1264608"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
            "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "SUSE Linux Enterprise Server 16.0:python313-GitPython-3.1.44-160000.3.1.noarch",
            "SUSE Linux Enterprise Server for SAP applications 16.0:python313-GitPython-3.1.44-160000.3.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-05-18T09:43:07Z",
          "details": "important"
        }
      ],
      "title": "CVE-2026-44244"
    }
  ]
}


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…