Read the docs

Vulnerabilities

Filters

Reset all
Threatist priority
Signals
Fix status
Impact type
Attack vector
Requirements
Product

Products as named in CPE, with their records.

Published
Weakness (CWE)
1 selected

9 records

Priority MEDIUM 40

Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker flags permitted in "#cgo" directives.

CVSS 3.1HIGH 8.8 Network No auth User interaction EPSS 0.00252 Published 2026-11-11 Fixed in 1.26.11, 1.27.4 CWE-77
Priority MEDIUM 40

When using GCC, building a malicious package that uses cgo could cause arbitrary command execution at link time via untrusted GCC spec files ("specs" or "*.spec").

CVSS 3.1HIGH 8.8 Network No auth User interaction EPSS 0.0028 Published 2026-11-11 Fixed in 1.26.11, 1.27.4 CWE-77
Priority MEDIUM 40

When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to arbitrary directories via "-gen-*" or "-gnat*" flags in "#cgo" directives.

CVSS 3.1HIGH 8.8 Network No auth User interaction EPSS 0.00252 Published 2026-11-11 Fixed in 1.26.11, 1.27.4 CWE-88
Priority MEDIUM 40

On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing "-l to_library <path>" in a "#cgo LDFLAGS" directive.

CVSS 3.1HIGH 8.8 Network No auth User interaction EPSS 0.00252 Published 2026-11-11 Fixed in 1.26.11, 1.27.4 CWE-88
Priority MEDIUM 40

Building a malicious package that uses cgo could cause arbitrary code execution at link time by passing linker script files to the host linker via "#cgo LDFLAGS".

CVSS 3.1HIGH 8.8 Network No auth User interaction EPSS 0.00252 Published 2026-11-11 Fixed in 1.26.11, 1.27.4 CWE-94
Priority MEDIUM 40

Building a malicious package containing ".syso" files or cgo linker inputs could inject arbitrary linker flags or execute arbitrary code at link time.

CVSS 3.1HIGH 8.8 Network No auth User interaction EPSS 0.00252 Published 2026-11-11 Fixed in 1.26.11, 1.27.4 CWE-94
Priority LOW 38

Building a malicious package that uses "#cgo pkg-config:" directives could load untrusted pkg-config ".pc" files or inject unvalidated compiler and linker flags.

CVSS 3.1HIGH 8.3 Network No auth User interaction EPSS 0.00234 Published 2026-11-11 Fixed in 1.26.11, 1.27.4 CWE-88
Priority MEDIUM 40

Building a malicious package that uses cgo could bypass "#cgo LDFLAGS" validation and cause unexpected code execution at build time, or cause the go command to panic, via crafted quoting in "//go:cgo_ldflag" directives.

CVSS 3.1HIGH 8.8 Network No auth User interaction EPSS 0.00264 Published 2026-11-11 Fixed in 1.26.11, 1.27.4 CWE-88