RHSA-2026:50953
Vulnerability from csaf_redhat - Published: 2026-08-06 01:04 - Updated: 2026-09-11 13:55A flaw was found in go-git, an extensible Git implementation library. Worktree operations, such as checkout, status, and add, resolve symbolic links within the working tree without proper boundary confinement. This allows a remote attacker to craft a malicious repository containing a symlink, which, when cloned and its worktree operations are used, can lead to reading from or writing to arbitrary files outside the intended working directory. This could result in information disclosure or arbitrary file modification.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:trivy-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:trivy-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:trivy-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in BuildKit, a toolkit for converting source code to build artifacts. A malicious client with valid permissions to access the BuildKit control API can craft a special upload request. This request allows files to escape from the BuildKit-controlled state directory, potentially leading to unauthorized modification or deletion of files on the system.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:trivy-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:trivy-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:trivy-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
{
"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\ntrivy:\n * trivy-0.73.0-0.1.hum1 (aarch64, x86_64)\n * trivy-0.73.0-0.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:50953",
"url": "https://access.redhat.com/errata/RHSA-2026:50953"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-75593",
"url": "https://access.redhat.com/security/cve/CVE-2026-75593"
},
{
"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-71556",
"url": "https://access.redhat.com/security/cve/CVE-2026-71556"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_50953.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-09-11T13:55:11+00:00",
"generator": {
"date": "2026-09-11T13:55:11+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.18"
}
},
"id": "RHSA-2026:50953",
"initial_release_date": "2026-08-06T01:04:57+00:00",
"revision_history": [
{
"date": "2026-08-06T01:04:57+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-09-10T13:39:30+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-09-11T13:55:11+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": "trivy-main@aarch64",
"product": {
"name": "trivy-main@aarch64",
"product_id": "trivy-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/trivy@0.73.0-0.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "trivy-main@src",
"product": {
"name": "trivy-main@src",
"product_id": "trivy-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/trivy@0.73.0-0.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "trivy-main@x86_64",
"product": {
"name": "trivy-main@x86_64",
"product_id": "trivy-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/trivy@0.73.0-0.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": "trivy-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:trivy-main@aarch64"
},
"product_reference": "trivy-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "trivy-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:trivy-main@src"
},
"product_reference": "trivy-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "trivy-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:trivy-main@x86_64"
},
"product_reference": "trivy-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-71556",
"cwe": {
"id": "CWE-59",
"name": "Improper Link Resolution Before File Access (\u0027Link Following\u0027)"
},
"discovery_date": "2026-08-07T16:51:14.251077+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2512562"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in go-git, an extensible Git implementation library. Worktree operations, such as checkout, status, and add, resolve symbolic links within the working tree without proper boundary confinement. This allows a remote attacker to craft a malicious repository containing a symlink, which, when cloned and its worktree operations are used, can lead to reading from or writing to arbitrary files outside the intended working directory. This could result in information disclosure or arbitrary file modification.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-git/go-git/v5: go-git: Arbitrary file read/write via symbolic link resolution",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "go-git is a pure-Go implementation of Git. During worktree operations (checkout, status, add), go-git resolves symbolic links without confining resolution to the worktree boundary, so a maliciously crafted repository containing a symlink can cause a consuming application to read from or write to files outside the intended working directory when that repository is cloned and its worktree operations are used. Exploitation requires the application to clone an attacker-controlled repository and then perform worktree operations against it; applications that only process trusted repositories are not exposed. Red Hat rates the impact of this flaw as Important.",
"title": "Statement"
},
{
"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:trivy-main@aarch64",
"Red Hat Hardened Images:trivy-main@src",
"Red Hat Hardened Images:trivy-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-71556"
},
{
"category": "external",
"summary": "RHBZ#2512562",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2512562"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-71556",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-71556"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-71556",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-71556"
},
{
"category": "external",
"summary": "https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab",
"url": "https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab"
},
{
"category": "external",
"summary": "https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac",
"url": "https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac"
},
{
"category": "external",
"summary": "https://github.com/go-git/go-git/releases/tag/v5.19.2",
"url": "https://github.com/go-git/go-git/releases/tag/v5.19.2"
},
{
"category": "external",
"summary": "https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5",
"url": "https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5"
},
{
"category": "external",
"summary": "https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm",
"url": "https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm"
}
],
"release_date": "2026-08-07T16:37:40.058000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-06T01:04:57+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:trivy-main@aarch64",
"Red Hat Hardened Images:trivy-main@src",
"Red Hat Hardened Images:trivy-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:50953"
},
{
"category": "workaround",
"details": "To reduce the risk of exploitation, do not clone or run worktree operations (checkout, status, add) on Git repositories originating from untrusted or attacker-controllable sources using an affected version of go-git. The issue is resolved by updating to go-git 5.19.2 or 6.0.0-alpha.5 (or later).",
"product_ids": [
"Red Hat Hardened Images:trivy-main@aarch64",
"Red Hat Hardened Images:trivy-main@src",
"Red Hat Hardened Images:trivy-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:trivy-main@aarch64",
"Red Hat Hardened Images:trivy-main@src",
"Red Hat Hardened Images:trivy-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "github.com/go-git/go-git/v5: go-git: Arbitrary file read/write via symbolic link resolution"
},
{
"cve": "CVE-2026-75593",
"cwe": {
"id": "CWE-22",
"name": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"
},
"discovery_date": "2026-08-19T20:21:08.000514+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2519913"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in BuildKit, a toolkit for converting source code to build artifacts. A malicious client with valid permissions to access the BuildKit control API can craft a special upload request. This request allows files to escape from the BuildKit-controlled state directory, potentially leading to unauthorized modification or deletion of files on the system.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/moby/buildkit: BuildKit: File escape vulnerability allows unauthorized file modification",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "A flaw in BuildKit allows a client with valid permissions to the BuildKit control API to perform unauthorized file modifications outside the intended build state directory. This issue is limited to authenticated clients, reducing the overall attack surface.",
"title": "Statement"
},
{
"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:trivy-main@aarch64",
"Red Hat Hardened Images:trivy-main@src",
"Red Hat Hardened Images:trivy-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-75593"
},
{
"category": "external",
"summary": "RHBZ#2519913",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2519913"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-75593",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-75593"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-75593",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-75593"
},
{
"category": "external",
"summary": "https://github.com/moby/buildkit/releases/tag/v0.31.2",
"url": "https://github.com/moby/buildkit/releases/tag/v0.31.2"
},
{
"category": "external",
"summary": "https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976",
"url": "https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976"
}
],
"release_date": "2026-08-19T20:06:54.924000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-06T01:04:57+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:trivy-main@aarch64",
"Red Hat Hardened Images:trivy-main@src",
"Red Hat Hardened Images:trivy-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:50953"
},
{
"category": "workaround",
"details": "Restrict access to the BuildKit control API to only trusted users and services. Implement robust authentication and authorization policies for all clients interacting with the BuildKit daemon to prevent unauthorized access and potential file system escapes.",
"product_ids": [
"Red Hat Hardened Images:trivy-main@aarch64",
"Red Hat Hardened Images:trivy-main@src",
"Red Hat Hardened Images:trivy-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:trivy-main@aarch64",
"Red Hat Hardened Images:trivy-main@src",
"Red Hat Hardened Images:trivy-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/moby/buildkit: BuildKit: File escape vulnerability allows unauthorized file modification"
}
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.