RHSA-2026:44416
Vulnerability from csaf_redhat - Published: 2026-07-23 11:08 - Updated: 2026-08-03 17:57A flaw was found in GitPython. This vulnerability stems from an incomplete command injection blocklist that fails to account for Git's long-option prefix abbreviation feature. An attacker can bypass existing security measures by using abbreviated option names, which Git then resolves to dangerous options. This allows for the execution of arbitrary commands, leading to potential arbitrary code execution.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:llvm-main@aarch64 | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm-main@noarch | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm-main@src | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm-main@x86_64 | — |
Vendor Fix
fix
|
A flaw was found in GitPython. This vulnerability allows attackers to inject newline characters into the `section` parameter of the `config_writer()` function, leading to the injection of arbitrary section headers into the `.git/config` file. By forging a `[core]` section with a malicious `hooksPath`, an attacker can achieve remote code execution when Git hooks are subsequently triggered.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:llvm-main@aarch64 | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm-main@noarch | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm-main@src | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm-main@x86_64 | — |
Vendor Fix
fix
|
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Important"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\nllvm:\n * clang-22.1.8-4.1.hum1 (aarch64, x86_64)\n * clang-analyzer-22.1.8-4.1.hum1 (aarch64, x86_64)\n * clang-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * clang-libs-22.1.8-4.1.hum1 (aarch64, x86_64)\n * clang-resource-filesystem-22.1.8-4.1.hum1 (aarch64, x86_64)\n * clang-tools-extra-22.1.8-4.1.hum1 (aarch64, x86_64)\n * clang-tools-extra-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * compiler-rt-22.1.8-4.1.hum1 (aarch64, x86_64)\n * git-clang-format-22.1.8-4.1.hum1 (aarch64, x86_64)\n * libcxx-22.1.8-4.1.hum1 (aarch64, x86_64)\n * libcxx-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * libcxx-static-22.1.8-4.1.hum1 (aarch64, x86_64)\n * libcxxabi-22.1.8-4.1.hum1 (aarch64, x86_64)\n * libcxxabi-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * libcxxabi-static-22.1.8-4.1.hum1 (aarch64, x86_64)\n * libomp-22.1.8-4.1.hum1 (aarch64, x86_64)\n * libomp-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * lld-22.1.8-4.1.hum1 (aarch64, x86_64)\n * lld-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * lld-libs-22.1.8-4.1.hum1 (aarch64, x86_64)\n * lldb-22.1.8-4.1.hum1 (aarch64, x86_64)\n * lldb-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-bolt-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-cmake-utils-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-doc-22.1.8-4.1.hum1 (noarch)\n * llvm-filesystem-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-googletest-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-libs-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-libunwind-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-libunwind-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-libunwind-static-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-static-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-test-22.1.8-4.1.hum1 (aarch64, x86_64)\n * polly-22.1.8-4.1.hum1 (aarch64, x86_64)\n * polly-devel-22.1.8-4.1.hum1 (aarch64, x86_64)\n * python3-clang-22.1.8-4.1.hum1 (aarch64, x86_64)\n * python3-lit-22.1.8-4.1.hum1 (noarch)\n * python3-lldb-22.1.8-4.1.hum1 (aarch64, x86_64)\n * llvm-22.1.8-4.1.hum1.src (src)",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:44416",
"url": "https://access.redhat.com/errata/RHSA-2026:44416"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-67322",
"url": "https://access.redhat.com/security/cve/CVE-2026-67322"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-67326",
"url": "https://access.redhat.com/security/cve/CVE-2026-67326"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-67323",
"url": "https://access.redhat.com/security/cve/CVE-2026-67323"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-67325",
"url": "https://access.redhat.com/security/cve/CVE-2026-67325"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_44416.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-08-03T17:57:51+00:00",
"generator": {
"date": "2026-08-03T17:57:51+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.8"
}
},
"id": "RHSA-2026:44416",
"initial_release_date": "2026-07-23T11:08:28+00:00",
"revision_history": [
{
"date": "2026-07-23T11:08:28+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-08-01T13:50:51+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-08-03T17:57:51+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "llvm-main@aarch64",
"product": {
"name": "llvm-main@aarch64",
"product_id": "llvm-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/clang@22.1.8-4.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "llvm-main@x86_64",
"product": {
"name": "llvm-main@x86_64",
"product_id": "llvm-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/clang@22.1.8-4.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_version",
"name": "llvm-main@src",
"product": {
"name": "llvm-main@src",
"product_id": "llvm-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/llvm@22.1.8-4.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "llvm-main@noarch",
"product": {
"name": "llvm-main@noarch",
"product_id": "llvm-main@noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/llvm-doc@22.1.8-4.1.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "llvm-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:llvm-main@aarch64"
},
"product_reference": "llvm-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "llvm-main@noarch as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:llvm-main@noarch"
},
"product_reference": "llvm-main@noarch",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "llvm-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:llvm-main@src"
},
"product_reference": "llvm-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "llvm-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:llvm-main@x86_64"
},
"product_reference": "llvm-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-67325",
"cwe": {
"id": "CWE-78",
"name": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"
},
"discovery_date": "2026-08-01T13:00:52.592125+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2509975"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in GitPython. This vulnerability stems from an incomplete command injection blocklist that fails to account for Git\u0027s long-option prefix abbreviation feature. An attacker can bypass existing security measures by using abbreviated option names, which Git then resolves to dangerous options. This allows for the execution of arbitrary commands, leading to potential arbitrary code execution.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gitpython: GitPython: Command Injection via Git option prefix abbreviation",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:llvm-main@aarch64",
"Red Hat Hardened Images:llvm-main@noarch",
"Red Hat Hardened Images:llvm-main@src",
"Red Hat Hardened Images:llvm-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-67325"
},
{
"category": "external",
"summary": "RHBZ#2509975",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2509975"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-67325",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-67325"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-67325",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-67325"
},
{
"category": "external",
"summary": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx",
"url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation",
"url": "https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation"
}
],
"release_date": "2026-08-01T12:22:16.817000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-23T11:08:28+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:llvm-main@aarch64",
"Red Hat Hardened Images:llvm-main@noarch",
"Red Hat Hardened Images:llvm-main@src",
"Red Hat Hardened Images:llvm-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:44416"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:llvm-main@aarch64",
"Red Hat Hardened Images:llvm-main@noarch",
"Red Hat Hardened Images:llvm-main@src",
"Red Hat Hardened Images:llvm-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "gitpython: GitPython: Command Injection via Git option prefix abbreviation"
},
{
"cve": "CVE-2026-67326",
"cwe": {
"id": "CWE-93",
"name": "Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027)"
},
"discovery_date": "2026-08-01T13:02:23.722091+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2510003"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in GitPython. This vulnerability allows attackers to inject newline characters into the `section` parameter of the `config_writer()` function, leading to the injection of arbitrary section headers into the `.git/config` file. By forging a `[core]` section with a malicious `hooksPath`, an attacker can achieve remote code execution when Git hooks are subsequently triggered.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gitpython: GitPython: Remote Code Execution via Newline Injection in config_writer()",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:llvm-main@aarch64",
"Red Hat Hardened Images:llvm-main@noarch",
"Red Hat Hardened Images:llvm-main@src",
"Red Hat Hardened Images:llvm-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-67326"
},
{
"category": "external",
"summary": "RHBZ#2510003",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2510003"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-67326",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-67326"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-67326",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-67326"
},
{
"category": "external",
"summary": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-mv93-w799-cj2w",
"url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-mv93-w799-cj2w"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/gitpython-before-newline-injection-via-config-writer-section",
"url": "https://www.vulncheck.com/advisories/gitpython-before-newline-injection-via-config-writer-section"
}
],
"release_date": "2026-08-01T12:22:18.180000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-23T11:08:28+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:llvm-main@aarch64",
"Red Hat Hardened Images:llvm-main@noarch",
"Red Hat Hardened Images:llvm-main@src",
"Red Hat Hardened Images:llvm-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:44416"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.0,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:llvm-main@aarch64",
"Red Hat Hardened Images:llvm-main@noarch",
"Red Hat Hardened Images:llvm-main@src",
"Red Hat Hardened Images:llvm-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "gitpython: GitPython: Remote Code Execution via Newline Injection in config_writer()"
}
]
}
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.