CVEBrief

Home / Canonical Ltd. / snapd / CVE-2024-5138

CVE-2024-5138: is it exploited, and which versions of Canonical Ltd. snapd are affected and fixed?

CVE-2024-5138 is an improper input validation vulnerability in Canonical Ltd. snapd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: github.com/snapcore/snapd from 2.51.6 before 2.63.1 and github.com/snapcore/snapd before 0.0.0-20240524114846-68ee9c6aa916 (GitHub advisory GHSA-p9v8-q5m4-pf46). Fixed in 2.63.1 and 0.0.0-20240524114846-68ee9c6aa916 (GitHub advisory GHSA-p9v8-q5m4-pf46). Severity: High (8.1, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:29 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
github.com/snapcore/snapd from 2.51.6 before 2.63.1 and github.com/snapcore/snapd before 0.0.0-20240524114846-68ee9c6aa916
GitHub advisory GHSA-p9v8-q5m4-pf46
Fixed in
2.63.1 and 0.0.0-20240524114846-68ee9c6aa916
GitHub advisory GHSA-p9v8-q5m4-pf46
Severity
High 8.1
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
0.83% in 30 days
higher than 59% of CVEs; FIRST, December 2, 2026

What is CVE-2024-5138?

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.

From the CVE record by canonical, last updated September 6, 2024, 19:48 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Canonical Ltd.snapd
Linux
before 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14

As the CVE record by canonical states it, last updated September 6, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/snapcore/snapd>= 2.51.6, < 2.63.12.63.1GHSA-p9v8-q5m4-pf46
Gogithub.com/snapcore/snapd< 0.0.0-20240524114846-68ee9c6aa9160.0.0-20240524114846-68ee9c6aa916GHSA-p9v8-q5m4-pf46

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 16, 2025. Summary: CVE-2024-5138: snapd snapctl auth bypass.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
canonicalsnapdfrom 2.51.6 before 2.63.1application

NVD analysis (status Analyzed), last modified June 17, 2026, 08:15 UTC.

How severe is CVE-2024-5138?

ScoreVersionVectorSource
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HCISA-ADP

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-5138 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 7, 2024)
EPSS
0.83% probability of exploitation activity in the next 30 days, percentile 58.8 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
May 19, 2024
Published
May 31, 2024, 21:02 UTC
CVE record updated
September 6, 2024, 19:48 UTC by canonical
NVD
Analyzed, last modified June 17, 2026, 08:15 UTC
Last checked
CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect snapd?

Every CVE in snapd

Questions about CVE-2024-5138

Is CVE-2024-5138 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.83% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Canonical Ltd. snapd are affected by CVE-2024-5138?

github.com/snapcore/snapd from 2.51.6 before 2.63.1 and github.com/snapcore/snapd before 0.0.0-20240524114846-68ee9c6aa916, per the GitHub advisory GHSA-p9v8-q5m4-pf46. The tables above give every range the sources list.

Which version fixes CVE-2024-5138?

2.63.1 and 0.0.0-20240524114846-68ee9c6aa916, per the GitHub advisory GHSA-p9v8-q5m4-pf46. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-5138?

High (8.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2024-5138?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.