{"id":"AZL-98568","summary":"CVE-2025-61731 affecting package golang 1.27.1-1","details":"Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The \"#cgo pkg-config:\" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a \"--log-file\" argument to this directive, causing pkg-config to write to an attacker-controlled location.","modified":"2026-09-10T05:28:36Z","published":"2026-01-28T20:16:10Z","upstream":["CVE-2025-61731"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61731"}],"affected":[{"package":{"name":"golang","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/golang"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.27.0"},{"last_affected":"1.27.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-98568.json"}}],"schema_version":"1.9.0"}