{"cve":"CVE-2024-5138","nvd":{"published":"2024-05-31T21:15:09.930","modified":"2026-06-17T08:15:16.680","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1},"cwes":["CWE-20"],"references":["https://bugs.launchpad.net/snapd/+bug/2065077","https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14","https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46","https://www.cve.org/CVERecord?id=CVE-2024-5138","https://bugs.launchpad.net/snapd/+bug/2065077"],"products":["canonical:snapd"],"source":"nvd","synced_at":"2026-10-19T21:51:20.603330631+00:00"},"epss":{"cve":"CVE-2024-5138","score":0.00834,"percentile":0.57686,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p9v8-q5m4-pf46","url":"https://osv.dev/vulnerability/GHSA-p9v8-q5m4-pf46","summary":"CVE-2024-5138: snapd snapctl auth bypass","modified":"2026-07-08T07:14:03.911841367Z","packages":[{"ecosystem":"Go","name":"github.com/snapcore/snapd","purl":"pkg:golang/github.com/snapcore/snapd","ranges":[">=2.51.6 <2.63.1"],"fixed":["2.63.1"]},{"ecosystem":"Go","name":"github.com/snapcore/snapd","purl":"pkg:golang/github.com/snapcore/snapd","ranges":["<0.0.0-20240524114846-68ee9c6aa916"],"fixed":["0.0.0-20240524114846-68ee9c6aa916"]}]},{"id":"GO-2024-2906","url":"https://osv.dev/vulnerability/GO-2024-2906","summary":"CVE-2024-5138 in github.com/snapcore/snapd","modified":"2026-03-03T04:51:52.766662Z","packages":[{"ecosystem":"Go","name":"github.com/snapcore/snapd","purl":"pkg:golang/github.com/snapcore/snapd","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}