Skip to main content
VulnerabilityPublished Updated

CVE-2024-5138: The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take

Affects snapdSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.1 High.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=nobleOther threatsAffected
  • 2.60.4+23.10 – 2.78+ubuntu24.04
22 affected builds
Fixed in–
Ubuntu 22.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=jammyOther threatsAffected
  • 2.53+21.10ubuntu1 – 2.78+ubuntu22.04
37 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=esm-infra/focalOther threatsAffected
  • 2.41+19.10.1 – 2.67.1+20.04ubuntu1~esm3
35 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 2.28.5+17.10 – 2.61.4ubuntu0.18.04.1+esm4
42 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • 1.9 – 2.61.4ubuntu0.16.04.1+esm4
56 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…