RHSA-2026:45785
Vulnerability from csaf_redhat - Published: 2026-07-25 23:25 - Updated: 2026-08-09 11:36A flaw was found in swift-crypto. When an RSA (Rivest-Shamir-Adleman) public key is initialized from DER (Distinguished Encoding Rules) or PEM (Privacy-Enhanced Mail) formatted bytes, and an error occurs during the decoding process, a double-free vulnerability can be triggered. This issue, occurring when BoringSSL fails to decode the public key, can lead to a system crash due to corrupted memory, resulting in a Denial of Service (DoS).
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.
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.
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.
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.
{
"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\nswift-lang:\n * swift-lang-6.3.3-0.1.1.hum1 (aarch64, x86_64)\n * swift-lang-runtime-6.3.3-0.1.1.hum1 (aarch64, x86_64)\n * swift-lang-6.3.3-0.1.1.hum1.src (src)\n\nSecurity Fix(es):\n\nswift-lang:\n * CVE-2026-43823",
"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:45785",
"url": "https://access.redhat.com/errata/RHSA-2026:45785"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-43823",
"url": "https://access.redhat.com/security/cve/CVE-2026-43823"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"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/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_45785.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update",
"tracking": {
"current_release_date": "2026-08-09T11:36:21+00:00",
"generator": {
"date": "2026-08-09T11:36:21+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.12"
}
},
"id": "RHSA-2026:45785",
"initial_release_date": "2026-07-25T23:25:24+00:00",
"revision_history": [
{
"date": "2026-07-25T23:25:24+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-08-08T04:36:23+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-08-09T11:36:21+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": "swift-lang-main@aarch64",
"product": {
"name": "swift-lang-main@aarch64",
"product_id": "swift-lang-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/swift-lang@6.3.3-0.1.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "swift-lang-main@src",
"product": {
"name": "swift-lang-main@src",
"product_id": "swift-lang-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/swift-lang@6.3.3-0.1.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "swift-lang-main@x86_64",
"product": {
"name": "swift-lang-main@x86_64",
"product_id": "swift-lang-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/swift-lang@6.3.3-0.1.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "swift-lang-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:swift-lang-main@aarch64"
},
"product_reference": "swift-lang-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "swift-lang-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:swift-lang-main@src"
},
"product_reference": "swift-lang-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "swift-lang-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:swift-lang-main@x86_64"
},
"product_reference": "swift-lang-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-43823",
"cwe": {
"id": "CWE-763",
"name": "Release of Invalid Pointer or Reference"
},
"discovery_date": "2026-07-23T15:01:27.455339+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2506494"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in swift-crypto. When an RSA (Rivest-Shamir-Adleman) public key is initialized from DER (Distinguished Encoding Rules) or PEM (Privacy-Enhanced Mail) formatted bytes, and an error occurs during the decoding process, a double-free vulnerability can be triggered. This issue, occurring when BoringSSL fails to decode the public key, can lead to a system crash due to corrupted memory, resulting in a Denial of Service (DoS).",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "swift-crypto: swift-crypto: Denial of Service due to double-free during RSA public key initialization",
"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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-43823"
},
{
"category": "external",
"summary": "RHBZ#2506494",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2506494"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-43823",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-43823"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-43823",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-43823"
},
{
"category": "external",
"summary": "https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f",
"url": "https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f"
}
],
"release_date": "2026-07-23T14:33:20.924000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-25T23:25:24+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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45785"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.2,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "swift-crypto: swift-crypto: Denial of Service due to double-free during RSA public key initialization"
},
{
"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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-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-25T23:25:24+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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45785"
}
],
"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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-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-25T23:25:24+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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45785"
}
],
"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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-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-25T23:25:24+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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45785"
}
],
"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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-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-25T23:25:24+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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:45785"
}
],
"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:swift-lang-main@aarch64",
"Red Hat Hardened Images:swift-lang-main@src",
"Red Hat Hardened Images:swift-lang-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.