Arbitrary Code Execution Affecting github.com/snapcore/snapd/cmd package, versions <2.54.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMSNAPCORESNAPDCMD-15036119
  • published20 Jan 2026
  • disclosed18 Feb 2022
  • creditQualys Research Team

Introduced: 18 Feb 2022

CVE-2021-44730  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade github.com/snapcore/snapd/cmd to version 2.54.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution due to improper validation of the snap-confine binary location. A local attacker could possibly use this issue to execute other arbitrary binaries and escalate privileges.

CVSS Base Scores

version 3.1