Symlink Attack Affecting github.com/snapcore/snapd/cmd package, versions <2.39


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.42% (84th 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-15036111
  • published20 Jan 2026
  • disclosed24 Apr 2019
  • creditUnknown

Introduced: 24 Apr 2019

CVE-2019-11503  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Symlink Attack snap-confine as included in snapd before 2.39 did not guard against symlink races when performing the chdir() to the current working directory of the calling user, aka a "cwd restore permission bypass."

References

CVSS Base Scores

version 3.1