# CVE-2024-5138

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 2.63.1, 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 (CNA); fix release not confirmed
- Status: published
- Published: 2024-05-31 · Modified: 2024-09-06
- Aliases: UBUNTU-CVE-2024-5138, DEBIAN-CVE-2024-5138, GHSA-p9v8-q5m4-pf46, GO-2024-2906
- Record: https://cvemate.com/vulnerability/CVE-2024-5138 · JSON: https://cvemate.com/vulnerability/CVE-2024-5138/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.834%, percentile 58.955%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- canonical ltd. snapd: \< 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14
- canonical snapd: ≥ 2.51.6, \< 2.63.1
- debian snapd (Debian): All versions (No fix recorded) \| \< 2.62-3
- ubuntu snapd (Ubuntu): All versions (No fix recorded)
- github.com/snapcore snapd (Go): ≥ 2.51.6, \< 2.63.1 \| \< 0.0.0-20240524114846-68ee9c6aa916 \| All versions (No fix recorded)

## References

- <https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14>
- <https://bugs.launchpad.net/snapd/+bug/2065077>
- <https://www.cve.org/CVERecord?id=CVE-2024-5138>
- <https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46>
- <https://ubuntu.com/security/CVE-2024-5138>
- <https://security-tracker.debian.org/tracker/CVE-2024-5138>
- <https://github.com/canonical/snapd/security/advisories/GHSA-p9v8-q5m4-pf46>
- <https://github.com/canonical/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14>
- <https://github.com/canonical/snapd>

---

Data as of 2026-12-05T02:35:57.956Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
