Skip to main content
EPSS 0.6%top 56%

Red Hat Security Advisory: golang security update

0
High
Published: 03/26/2026 (03/26/2026, 13:47:37 UTC)
Source: GCVE Database
Vendor/Project: Red Hat Product Security
Product: Red Hat

Description

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) 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.

Affected software

redhat/go-toolset
pkg:rpm/redhat/go-toolset
Affected versions
=1.25.8-1.el10_1.aarch64

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 23:54:48 UTC

Technical Analysis

The golang packages in Red Hat Enterprise Linux contain a vulnerability identified as CVE-2025-61731, which allows arbitrary file write through a malicious pkg-config directive in the cmd/go tool. This flaw could potentially be exploited to write files arbitrarily during the build process. Red Hat has issued security advisories RHSA-2026:5943 and RHSA-2026:5944 providing updated golang packages that fix this vulnerability. The advisories cover multiple architectures including x86_64, s390x, ppc64le, and aarch64, and various versions of Red Hat Enterprise Linux including 9.6 and 10.0 Extended Update Support releases. The vendor advisory includes detailed package updates and instructions for remediation.

Potential Impact

The vulnerability allows an attacker to perform arbitrary file writes via a malicious pkg-config directive when using the Go compiler's cmd/go tool. This could lead to unauthorized modification of files during build processes, potentially compromising system integrity or enabling further attacks. Red Hat rates the security impact as Important (high severity). There are no known exploits in the wild at this time.

Mitigation Recommendations

Red Hat has released updated golang packages that fix this vulnerability. Users should apply the official updates as described in Red Hat advisory RHSA-2026:5943 and RHSA-2026:5944. Detailed instructions for applying these updates are available at https://access.redhat.com/articles/11258. Applying these updates fully mitigates the vulnerability. No additional mitigation steps are indicated by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:5943
Cve Count
2
Additional Cves
["CVE-2026-25679"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a160980e29bf47b5064d331

Added to database: 05/26/2026, 20:58:40 UTC

Last enriched: 08/14/2026, 23:54:48 UTC

Last updated: 09/13/2026, 22:01:30 UTC

Views: 112

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses