---
title: "CVE-2022-30580: Go standard library os/exec Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2022-30580: Go standard library os/exec Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2022-30580 is a published software vulnerability affecting Go standard library os/exec. CVSS base score: 7.8 (HIGH). Published August 9, 2022 by Go. Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either "..com" or "..exe" by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2022-30580
- Status: Published
- Affected vendor: Go standard library
- Affected product: os/exec
- Assigner CNA: Go
- Published date: August 9, 2022
- Last updated: March 6, 2026
- CVSS base score: 7.8 (HIGH)
- CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE): CWE-94 Improper Control of Generation of Code ('Code Injection')

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Tea rooms in the United States](https://specstream.ai/data/businesses/tea-rooms/united-states)
- [Paralegal companies in the United States](https://specstream.ai/data/businesses/paralegal-companies/united-states)
- [Hospices in the United States](https://specstream.ai/data/businesses/hospices/united-states)
- [Department stores in the United States](https://specstream.ai/data/businesses/department-stores/united-states)
- [B2B equipment maintenance and repair companies in the United States](https://specstream.ai/data/businesses/b2b-equipment-maintenance-and-repair-companies/united-states)
- [Sushi restaurants in the United States](https://specstream.ai/data/businesses/sushi-restaurants/united-states)
