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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Canonical | snapcraft | 4.4 – < 4.4.4, 2.43.1 – < 2.43.1+16.04.1 | 4.4.4 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | snapcraft | 2.43.1+18.04.1 | USN-4661-1 |
| Ubuntu 16.04 LTS | snapcraft | 2.43.1+16.04.1 | USN-4661-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | snapcraft | < 4.4.4 | 4.4.4 | GHSA-qxm5-vx5j-pp6w |
| PyPI | snapcraft | < 2.43.1 | 2.43.1 | PYSEC-2020-109 |
Advisories 1
- USN-4661-1 snapcraft vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026