CVE-2024-5138 Affecting snapd package, versions <2.62-3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.83% (57th 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-ECHOLATEST-SNAPD-18170096
  • published22 Jul 2026
  • disclosed31 May 2024

Introduced: 31 May 2024

CVE-2024-5138  (opens in a new tab)

How to fix?

Upgrade Echo:latest snapd to version 2.62-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream snapd package and not the snapd package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of the snap. It was found that snapctl did not properly parse command-line arguments, allowing an unprivileged user to trigger an authorised action on behalf of the snap that would normally require administrator privileges to perform. This could possibly allow an unprivileged user to perform a denial of service or similar.