Live threats

All CVEs / Canonical

CVE-2024-5138Canonical Snapd

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
Yes
Published
May 31, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Snapd.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/snapcore/snapd ≥ 2.51.6 < 2.63.1 2.63.1 go get github.com/snapcore/snapd@v2.63.1
Go github.com/snapcore/snapd < 0.0.0-20240524114846-68ee9c6aa916 0.0.0-20240524114846-68ee9c6aa916 go get github.com/snapcore/snapd@v0.0.0-20240524114846-68ee9c6aa916
Go github.com/snapcore/snapd all no fixed version —

Per OSV / GitHub Advisories (GHSA-p9v8-q5m4-pf46, GO-2024-2906). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
canonicalsnapd≥ 2.51.6 < 2.63.1

Official sources

References

Links published by the sources. Open them with care.