RHSA-2026:45940
Vulnerability from csaf_redhat - Published: 2026-07-26 05:28 - Updated: 2026-08-09 08:48A flaw was found in GitPython. A remote attacker can exploit a vulnerability in the Repo.clone_from() method by providing a specially crafted Git repository URL. This URL can contain references to environment variables, which are then expanded and included in the URL. This allows the attacker to exfiltrate sensitive environment variables, such as access keys or tokens, to an attacker-controlled server during the cloning process, leading to information disclosure.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@aarch64 | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@noarch | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@src | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@x86_64 | — |
Vendor Fix
fix
|
A flaw was found in GitPython where it fails to properly sanitize dangerous Git options. This vulnerability allows an attacker to inject arbitrary commands when using functions like Repo.archive() and git.ls_remote(), potentially leading to arbitrary code execution. Additionally, functions such as Repo.iter_commits() and Repo.blame() do not validate revision arguments, which could allow an attacker to truncate arbitrary files. Exploitation requires an application to pass attacker-controlled input directly to these vulnerable methods.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@aarch64 | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@noarch | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@src | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@x86_64 | — |
Vendor Fix
fix
|
A 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:llvm21-main@aarch64 | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@noarch | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@src | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-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:llvm21-main@aarch64 | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@noarch | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-main@src | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:llvm21-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\nllvm21:\n * clang21-21.1.8-8.hum1 (aarch64, x86_64)\n * clang21-analyzer-21.1.8-8.hum1 (aarch64, x86_64)\n * clang21-devel-21.1.8-8.hum1 (aarch64, x86_64)\n * clang21-libs-21.1.8-8.hum1 (aarch64, x86_64)\n * clang21-resource-filesystem-21.1.8-8.hum1 (aarch64, x86_64)\n * clang21-tools-extra-21.1.8-8.hum1 (aarch64, x86_64)\n * clang21-tools-extra-devel-21.1.8-8.hum1 (aarch64, x86_64)\n * compiler-rt21-21.1.8-8.hum1 (aarch64, x86_64)\n * git-clang-format21-21.1.8-8.hum1 (aarch64, x86_64)\n * libomp21-21.1.8-8.hum1 (aarch64, x86_64)\n * libomp21-devel-21.1.8-8.hum1 (aarch64, x86_64)\n * lld21-21.1.8-8.hum1 (aarch64, x86_64)\n * lld21-devel-21.1.8-8.hum1 (aarch64, x86_64)\n * lld21-libs-21.1.8-8.hum1 (aarch64, x86_64)\n * lldb21-21.1.8-8.hum1 (aarch64, x86_64)\n * lldb21-devel-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-cmake-utils-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-devel-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-doc-21.1.8-8.hum1 (noarch)\n * llvm21-filesystem-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-googletest-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-libs-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-static-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-test-21.1.8-8.hum1 (aarch64, x86_64)\n * python3-clang21-21.1.8-8.hum1 (aarch64, x86_64)\n * llvm21-21.1.8-8.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:45940",
"url": "https://access.redhat.com/errata/RHSA-2026:45940"
},
{
"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_45940.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-08-09T08:48:43+00:00",
"generator": {
"date": "2026-08-09T08:48:43+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.12"
}
},
"id": "RHSA-2026:45940",
"initial_release_date": "2026-07-26T05:28:42+00:00",
"revision_history": [
{
"date": "2026-07-26T05:28:42+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-08-08T04:36:23+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-08-09T08:48:43+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": "llvm21-main@aarch64",
"product": {
"name": "llvm21-main@aarch64",
"product_id": "llvm21-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/clang21@21.1.8-8.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "llvm21-main@x86_64",
"product": {
"name": "llvm21-main@x86_64",
"product_id": "llvm21-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/clang21@21.1.8-8.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_version",
"name": "llvm21-main@src",
"product": {
"name": "llvm21-main@src",
"product_id": "llvm21-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/llvm21@21.1.8-8.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "llvm21-main@noarch",
"product": {
"name": "llvm21-main@noarch",
"product_id": "llvm21-main@noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/llvm21-doc@21.1.8-8.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": "llvm21-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:llvm21-main@aarch64"
},
"product_reference": "llvm21-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "llvm21-main@noarch as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:llvm21-main@noarch"
},
"product_reference": "llvm21-main@noarch",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "llvm21-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:llvm21-main@src"
},
"product_reference": "llvm21-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "llvm21-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:llvm21-main@x86_64"
},
"product_reference": "llvm21-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-67322",
"cwe": {
"id": "CWE-214",
"name": "Invocation of Process Using Visible Sensitive Information"
},
"discovery_date": "2026-08-01T13:03:21.499683+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2510021"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in GitPython. A remote attacker can exploit a vulnerability in the Repo.clone_from() method by providing a specially crafted Git repository URL. This URL can contain references to environment variables, which are then expanded and included in the URL. This allows the attacker to exfiltrate sensitive environment variables, such as access keys or tokens, to an attacker-controlled server during the cloning process, leading to information disclosure.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gitpython: GitPython: Environment variable exfiltration via attacker-controlled clone URL",
"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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-67322"
},
{
"category": "external",
"summary": "RHBZ#2510021",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2510021"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-67322",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-67322"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-67322",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-67322"
},
{
"category": "external",
"summary": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573",
"url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-clone-from",
"url": "https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-clone-from"
}
],
"release_date": "2026-08-01T12:22:17.009000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-26T05:28:42+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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45940"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "gitpython: GitPython: Environment variable exfiltration via attacker-controlled clone URL"
},
{
"cve": "CVE-2026-67323",
"cwe": {
"id": "CWE-88",
"name": "Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"
},
"discovery_date": "2026-08-01T13:00:55.807591+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2509976"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in GitPython where it fails to properly sanitize dangerous Git options. This vulnerability allows an attacker to inject arbitrary commands when using functions like Repo.archive() and git.ls_remote(), potentially leading to arbitrary code execution. Additionally, functions such as Repo.iter_commits() and Repo.blame() do not validate revision arguments, which could allow an attacker to truncate arbitrary files. Exploitation requires an application to pass attacker-controlled input directly to these vulnerable methods.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gitpython: GitPython: Arbitrary code execution via command injection due to unguarded Git options",
"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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-67323"
},
{
"category": "external",
"summary": "RHBZ#2509976",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2509976"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-67323",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-67323"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-67323",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-67323"
},
{
"category": "external",
"summary": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v",
"url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options",
"url": "https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options"
}
],
"release_date": "2026-08-01T12:22:18.119000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-26T05:28:42+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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45940"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 8.4,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "gitpython: GitPython: Arbitrary code execution via command injection due to unguarded Git options"
},
{
"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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-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-26T05:28:42+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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45940"
}
],
"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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-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-26T05:28:42+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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45940"
}
],
"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:llvm21-main@aarch64",
"Red Hat Hardened Images:llvm21-main@noarch",
"Red Hat Hardened Images:llvm21-main@src",
"Red Hat Hardened Images:llvm21-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.