RHSA-2026:5941
Vulnerability from csaf_redhat - Published: 2026-03-26 13:40 - Updated: 2026-04-10 21:16Summary
Red Hat Security Advisory: golang security update
Severity
Important
Notes
Topic: An update for golang is now available for Red Hat Enterprise Linux 10.
Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details: The golang packages provide the Go programming language compiler.
Security Fix(es):
* cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive (CVE-2025-61731)
* net/url: Incorrect parsing of IPv6 host literals in net/url (CVE-2026-25679)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use: 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.
A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the '#cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command. This vulnerability can lead to arbitrary file write.
8.6 (High)
Vendor Fix
For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2026:5941
Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
The Go standard library function net/url.Parse insufficiently validated the host/authority component and accepted some invalid URLs by effectively treating garbage before an IP-literal as ignorable. The function should have rejected this as invalid.
7.5 (High)
Vendor Fix
For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2026:5941
Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References
{
"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 golang is now available for Red Hat Enterprise Linux 10.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "The golang packages provide the Go programming language compiler.\n\nSecurity Fix(es):\n\n* cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive (CVE-2025-61731)\n\n* net/url: Incorrect parsing of IPv6 host literals in net/url (CVE-2026-25679)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"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:5941",
"url": "https://access.redhat.com/errata/RHSA-2026:5941"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#important",
"url": "https://access.redhat.com/security/updates/classification/#important"
},
{
"category": "external",
"summary": "2434433",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2434433"
},
{
"category": "external",
"summary": "2445356",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2445356"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_5941.json"
}
],
"title": "Red Hat Security Advisory: golang security update",
"tracking": {
"current_release_date": "2026-04-10T21:16:49+00:00",
"generator": {
"date": "2026-04-10T21:16:49+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.7.5"
}
},
"id": "RHSA-2026:5941",
"initial_release_date": "2026-03-26T13:40:22+00:00",
"revision_history": [
{
"date": "2026-03-26T13:40:22+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-03-26T13:40:22+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-04-10T21:16:49+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 10)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z",
"product_identification_helper": {
"cpe": "cpe:/o:redhat:enterprise_linux:10.1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "go-toolset-0:1.25.8-1.el10_1.aarch64",
"product": {
"name": "go-toolset-0:1.25.8-1.el10_1.aarch64",
"product_id": "go-toolset-0:1.25.8-1.el10_1.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/go-toolset@1.25.8-1.el10_1?arch=aarch64"
}
}
},
{
"category": "product_version",
"name": "golang-0:1.25.8-1.el10_1.aarch64",
"product": {
"name": "golang-0:1.25.8-1.el10_1.aarch64",
"product_id": "golang-0:1.25.8-1.el10_1.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang@1.25.8-1.el10_1?arch=aarch64"
}
}
},
{
"category": "product_version",
"name": "golang-bin-0:1.25.8-1.el10_1.aarch64",
"product": {
"name": "golang-bin-0:1.25.8-1.el10_1.aarch64",
"product_id": "golang-bin-0:1.25.8-1.el10_1.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-bin@1.25.8-1.el10_1?arch=aarch64"
}
}
},
{
"category": "product_version",
"name": "golang-race-0:1.25.8-1.el10_1.aarch64",
"product": {
"name": "golang-race-0:1.25.8-1.el10_1.aarch64",
"product_id": "golang-race-0:1.25.8-1.el10_1.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-race@1.25.8-1.el10_1?arch=aarch64"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "go-toolset-0:1.25.8-1.el10_1.ppc64le",
"product": {
"name": "go-toolset-0:1.25.8-1.el10_1.ppc64le",
"product_id": "go-toolset-0:1.25.8-1.el10_1.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/go-toolset@1.25.8-1.el10_1?arch=ppc64le"
}
}
},
{
"category": "product_version",
"name": "golang-0:1.25.8-1.el10_1.ppc64le",
"product": {
"name": "golang-0:1.25.8-1.el10_1.ppc64le",
"product_id": "golang-0:1.25.8-1.el10_1.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang@1.25.8-1.el10_1?arch=ppc64le"
}
}
},
{
"category": "product_version",
"name": "golang-bin-0:1.25.8-1.el10_1.ppc64le",
"product": {
"name": "golang-bin-0:1.25.8-1.el10_1.ppc64le",
"product_id": "golang-bin-0:1.25.8-1.el10_1.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-bin@1.25.8-1.el10_1?arch=ppc64le"
}
}
},
{
"category": "product_version",
"name": "golang-race-0:1.25.8-1.el10_1.ppc64le",
"product": {
"name": "golang-race-0:1.25.8-1.el10_1.ppc64le",
"product_id": "golang-race-0:1.25.8-1.el10_1.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-race@1.25.8-1.el10_1?arch=ppc64le"
}
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "go-toolset-0:1.25.8-1.el10_1.x86_64",
"product": {
"name": "go-toolset-0:1.25.8-1.el10_1.x86_64",
"product_id": "go-toolset-0:1.25.8-1.el10_1.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/go-toolset@1.25.8-1.el10_1?arch=x86_64"
}
}
},
{
"category": "product_version",
"name": "golang-0:1.25.8-1.el10_1.x86_64",
"product": {
"name": "golang-0:1.25.8-1.el10_1.x86_64",
"product_id": "golang-0:1.25.8-1.el10_1.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang@1.25.8-1.el10_1?arch=x86_64"
}
}
},
{
"category": "product_version",
"name": "golang-bin-0:1.25.8-1.el10_1.x86_64",
"product": {
"name": "golang-bin-0:1.25.8-1.el10_1.x86_64",
"product_id": "golang-bin-0:1.25.8-1.el10_1.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-bin@1.25.8-1.el10_1?arch=x86_64"
}
}
},
{
"category": "product_version",
"name": "golang-race-0:1.25.8-1.el10_1.x86_64",
"product": {
"name": "golang-race-0:1.25.8-1.el10_1.x86_64",
"product_id": "golang-race-0:1.25.8-1.el10_1.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-race@1.25.8-1.el10_1?arch=x86_64"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_version",
"name": "go-toolset-0:1.25.8-1.el10_1.s390x",
"product": {
"name": "go-toolset-0:1.25.8-1.el10_1.s390x",
"product_id": "go-toolset-0:1.25.8-1.el10_1.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/go-toolset@1.25.8-1.el10_1?arch=s390x"
}
}
},
{
"category": "product_version",
"name": "golang-0:1.25.8-1.el10_1.s390x",
"product": {
"name": "golang-0:1.25.8-1.el10_1.s390x",
"product_id": "golang-0:1.25.8-1.el10_1.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang@1.25.8-1.el10_1?arch=s390x"
}
}
},
{
"category": "product_version",
"name": "golang-bin-0:1.25.8-1.el10_1.s390x",
"product": {
"name": "golang-bin-0:1.25.8-1.el10_1.s390x",
"product_id": "golang-bin-0:1.25.8-1.el10_1.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-bin@1.25.8-1.el10_1?arch=s390x"
}
}
},
{
"category": "product_version",
"name": "golang-race-0:1.25.8-1.el10_1.s390x",
"product": {
"name": "golang-race-0:1.25.8-1.el10_1.s390x",
"product_id": "golang-race-0:1.25.8-1.el10_1.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-race@1.25.8-1.el10_1?arch=s390x"
}
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "golang-0:1.25.8-1.el10_1.src",
"product": {
"name": "golang-0:1.25.8-1.el10_1.src",
"product_id": "golang-0:1.25.8-1.el10_1.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang@1.25.8-1.el10_1?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "golang-docs-0:1.25.8-1.el10_1.noarch",
"product": {
"name": "golang-docs-0:1.25.8-1.el10_1.noarch",
"product_id": "golang-docs-0:1.25.8-1.el10_1.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-docs@1.25.8-1.el10_1?arch=noarch"
}
}
},
{
"category": "product_version",
"name": "golang-misc-0:1.25.8-1.el10_1.noarch",
"product": {
"name": "golang-misc-0:1.25.8-1.el10_1.noarch",
"product_id": "golang-misc-0:1.25.8-1.el10_1.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-misc@1.25.8-1.el10_1?arch=noarch"
}
}
},
{
"category": "product_version",
"name": "golang-src-0:1.25.8-1.el10_1.noarch",
"product": {
"name": "golang-src-0:1.25.8-1.el10_1.noarch",
"product_id": "golang-src-0:1.25.8-1.el10_1.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-src@1.25.8-1.el10_1?arch=noarch"
}
}
},
{
"category": "product_version",
"name": "golang-tests-0:1.25.8-1.el10_1.noarch",
"product": {
"name": "golang-tests-0:1.25.8-1.el10_1.noarch",
"product_id": "golang-tests-0:1.25.8-1.el10_1.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/golang-tests@1.25.8-1.el10_1?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "go-toolset-0:1.25.8-1.el10_1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64"
},
"product_reference": "go-toolset-0:1.25.8-1.el10_1.aarch64",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "go-toolset-0:1.25.8-1.el10_1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le"
},
"product_reference": "go-toolset-0:1.25.8-1.el10_1.ppc64le",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "go-toolset-0:1.25.8-1.el10_1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x"
},
"product_reference": "go-toolset-0:1.25.8-1.el10_1.s390x",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "go-toolset-0:1.25.8-1.el10_1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64"
},
"product_reference": "go-toolset-0:1.25.8-1.el10_1.x86_64",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-0:1.25.8-1.el10_1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64"
},
"product_reference": "golang-0:1.25.8-1.el10_1.aarch64",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-0:1.25.8-1.el10_1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le"
},
"product_reference": "golang-0:1.25.8-1.el10_1.ppc64le",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-0:1.25.8-1.el10_1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x"
},
"product_reference": "golang-0:1.25.8-1.el10_1.s390x",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-0:1.25.8-1.el10_1.src as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src"
},
"product_reference": "golang-0:1.25.8-1.el10_1.src",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-0:1.25.8-1.el10_1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64"
},
"product_reference": "golang-0:1.25.8-1.el10_1.x86_64",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-bin-0:1.25.8-1.el10_1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64"
},
"product_reference": "golang-bin-0:1.25.8-1.el10_1.aarch64",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-bin-0:1.25.8-1.el10_1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le"
},
"product_reference": "golang-bin-0:1.25.8-1.el10_1.ppc64le",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-bin-0:1.25.8-1.el10_1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x"
},
"product_reference": "golang-bin-0:1.25.8-1.el10_1.s390x",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-bin-0:1.25.8-1.el10_1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64"
},
"product_reference": "golang-bin-0:1.25.8-1.el10_1.x86_64",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-docs-0:1.25.8-1.el10_1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch"
},
"product_reference": "golang-docs-0:1.25.8-1.el10_1.noarch",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-misc-0:1.25.8-1.el10_1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch"
},
"product_reference": "golang-misc-0:1.25.8-1.el10_1.noarch",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-race-0:1.25.8-1.el10_1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64"
},
"product_reference": "golang-race-0:1.25.8-1.el10_1.aarch64",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-race-0:1.25.8-1.el10_1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le"
},
"product_reference": "golang-race-0:1.25.8-1.el10_1.ppc64le",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-race-0:1.25.8-1.el10_1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x"
},
"product_reference": "golang-race-0:1.25.8-1.el10_1.s390x",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-race-0:1.25.8-1.el10_1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64"
},
"product_reference": "golang-race-0:1.25.8-1.el10_1.x86_64",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-src-0:1.25.8-1.el10_1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch"
},
"product_reference": "golang-src-0:1.25.8-1.el10_1.noarch",
"relates_to_product_reference": "AppStream-10.1.Z"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "golang-tests-0:1.25.8-1.el10_1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 10)",
"product_id": "AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
},
"product_reference": "golang-tests-0:1.25.8-1.el10_1.noarch",
"relates_to_product_reference": "AppStream-10.1.Z"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2025-61731",
"cwe": {
"id": "CWE-88",
"name": "Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"
},
"discovery_date": "2026-01-28T20:01:45.587773+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2434433"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the \u0027#cgo pkg-config:\u0027 directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a \u0027--log-file\u0027 argument to the pkg-config command. This vulnerability can lead to arbitrary file write.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "This vulnerability is Important rather than Moderate because compiling a malicious Go source file can cause `pkg-config` to create or append data to files at attacker-chosen locations, subject to the permissions of the build user. This can enable unintended filesystem modifications during the build process, which can lead to broken builds, alter tool behavior, and poison caches or artifacts, even without direct code execution.",
"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": [
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2025-61731"
},
{
"category": "external",
"summary": "RHBZ#2434433",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2434433"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2025-61731",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-61731"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2025-61731",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61731"
},
{
"category": "external",
"summary": "https://go.dev/cl/736711",
"url": "https://go.dev/cl/736711"
},
{
"category": "external",
"summary": "https://go.dev/issue/77100",
"url": "https://go.dev/issue/77100"
},
{
"category": "external",
"summary": "https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc",
"url": "https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc"
},
{
"category": "external",
"summary": "https://pkg.go.dev/vuln/GO-2026-4339",
"url": "https://pkg.go.dev/vuln/GO-2026-4339"
}
],
"release_date": "2026-01-28T19:30:30.844000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-03-26T13:40:22+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:5941"
},
{
"category": "workaround",
"details": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
"product_ids": [
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 8.6,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive"
},
{
"cve": "CVE-2026-25679",
"cwe": {
"id": "CWE-1286",
"name": "Improper Validation of Syntactic Correctness of Input"
},
"discovery_date": "2026-03-06T22:02:11.567841+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2445356"
}
],
"notes": [
{
"category": "description",
"text": "The Go standard library function net/url.Parse insufficiently validated the host/authority component and accepted some invalid URLs by effectively treating garbage before an IP-literal as ignorable. The function should have rejected this as invalid.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "net/url: Incorrect parsing of IPv6 host literals in net/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": [
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-25679"
},
{
"category": "external",
"summary": "RHBZ#2445356",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2445356"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-25679",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-25679"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-25679",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25679"
},
{
"category": "external",
"summary": "https://go.dev/cl/752180",
"url": "https://go.dev/cl/752180"
},
{
"category": "external",
"summary": "https://go.dev/issue/77578",
"url": "https://go.dev/issue/77578"
},
{
"category": "external",
"summary": "https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk",
"url": "https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk"
},
{
"category": "external",
"summary": "https://pkg.go.dev/vuln/GO-2026-4601",
"url": "https://pkg.go.dev/vuln/GO-2026-4601"
}
],
"release_date": "2026-03-06T21:28:14.211000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-03-26T13:40:22+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:5941"
},
{
"category": "workaround",
"details": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
"product_ids": [
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"products": [
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:go-toolset-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.src",
"AppStream-10.1.Z:golang-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-bin-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-docs-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-misc-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.aarch64",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.ppc64le",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.s390x",
"AppStream-10.1.Z:golang-race-0:1.25.8-1.el10_1.x86_64",
"AppStream-10.1.Z:golang-src-0:1.25.8-1.el10_1.noarch",
"AppStream-10.1.Z:golang-tests-0:1.25.8-1.el10_1.noarch"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "net/url: Incorrect parsing of IPv6 host literals in net/url"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…
Loading…