snapcraft may build snaps with incorrect LD_LIBRARY_PATH
Priority LOW 31CWE-427Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-427.
Summary
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.
Why it matters now
EPSS 0.00703 53rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed snapcraft (Canonical): 4.4.4, 2.43.1+16.04.1snapcraft (PyPI): 4.4.4
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | snapcraft | 4.4 to before 4.4.4; 2.43.1 to before 2.43.1+16.04.1 | 4.4.4, 2.43.1+16.04.1 | Patch available | CNA |
| — | snapcraft (PyPI) | before 4.4.4 | 4.4.4 | Patch available | GHSA-qxm5-vx5j-pp6w |
- snapcraft VendorCanonical Affected 4.4 to before 4.4.4; 2.43.1 to before 2.43.1+16.04.1 Fixed in 4.4.4, 2.43.1+16.04.1 Patch available CNA
- snapcraft (PyPI) Vendor— Affected before 4.4.4 Fixed in 4.4.4 Patch available GHSA-qxm5-vx5j-pp6w
Remediation
- Fix · CNA snapcraft (Canonical) Fixed in 4.4.4, 2.43.1+16.04.1
- Fix · GHSA-qxm5-vx5j-pp6w snapcraft (PyPI) Fixed in 4.4.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-27348
- 2026-10-03 Alias added: GHSA-qxm5-vx5j-pp6w
References
Advisory 2
Sources
- CVE-2020-27348 · CVE Program
- CVE-2020-27348 · NVD
- FIRST EPSS
- GHSA-qxm5-vx5j-pp6w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences