CVE-2020-27348snapcraft may build snaps with incorrect LD_LIBRARY_PATH
- 6.8MediumCVSS base score
- 0.70%Exploitation in 30 daysEPSS · top 46% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In some conditions, a snap package built by snapcraft includes the current directory in LD_LIBRARY_PATH, allowing a malicious snap to gain code execution within the context of another snap if both plug the home interface or similar. This issue affects snapcraft versions prior to 4.4.4, prior to 2.43.1+16.04.1, and prior to 2.43.1+18.04.1.
Timeline
ID reserved
By canonical
- 45 days later
· 45 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| canonicalCNA (assigner) | 3.1 | Medium6.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| NVDNVD · Modified | 3.1 | Medium6.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
- EPSS (exploitation in 30 days)
- 0.70% · top 46% of all CVEs (14 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIsnapcraftGHSA-qxm5-vx5j-pp6w (opens in a new tab)
References
References3
- https://github.com/snapcore/snapcraft/pull/3345 (opens in a new tab)x_refsource_MISCx_transferred
- https://usn.ubuntu.com/usn/usn-4661-1 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.launchpad.net/bugs/1901572 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2020-0181 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qxm5-vx5j-pp6w (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-27348)Record last updated .