GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
Home/CWEs/CWE-77
ShareXLinkedInRedditHN
Common Weakness Enumeration

CWE-77: Command Injection

Abstraction
Class
OWASP Top 10
A03:2021 (#3)
Exploit Likelihood
High
Related CVEs
15

Description

External input alters the structure of a command sent to another system.

How to mitigate

  • Avoid shelling out; use exec-style APIs with argument arrays and strict allowlists.

How attackers exploit CWE-77

MITRE ATT&CK techniques associated with this weakness class (mapped via MITRE CAPEC). A vulnerability of this type could let an adversary carry out:

T1027Obfuscated Files or Informationstealth

Related CVEs

HighCVE-2026-67323Security vulnerability in gitpython
HighCVE-2026-67323Security vulnerability in gitpython
HighCVE-2023-32007Security vulnerability in spark

References & documentation

  • https://cwe.mitre.org/data/definitions/77.html
  • NVD CWE listing

Weakness facts

IDCWE-77
AbstractionClass
OWASP Top 10A03:2021 (#3)
Exploit LikelihoodHigh
Related CVEs15

Turn Gold’s intelligence into continuous protection

Safeguard scans your code, containers, and dependencies, tells you what’s exposed, and automates the fixes.

Start free See pricing
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
HighCVE-2023-32007Security vulnerability in spark
HighCVE-2023-32007Security vulnerability in spark
HighCVE-2023-32007Security vulnerability in spark
HighCVE-2020-36456Security vulnerability in toolshed
HighCVE-2026-67323Security vulnerability in gitpython
CriticalCVE-2021-42740Security vulnerability in shell-quote
HighCVE-2021-41116Security vulnerability in composer
HighCVE-2026-67323Security vulnerability in gitpython
MediumCVE-2023-5752Security vulnerability in pip
HighCVE-2026-102827CVE-2026-102827
HighCVE-2026-102826CVE-2026-102826
CriticalCVE-2026-28672Security vulnerability in ranger