CVE-2020-27348 in Canonical Ubuntu Linux and 1 more product
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 p...
Affects 2 products from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-27348 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-190249-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| Published | 2020-12-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-427: CWE-427
Related attack patterns (CAPEC)
CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-427
CAPEC-471 Search Order Hijacking via CWE-427
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in snapcraft versions prior to 4.4.4, 2.43.1+16.04.1, and 2.43.1+18.04.1 allows a malicious snap to gain code execution within the context of another snap if both plug the home interface or similar, due to the inclusion of the current directory in LD_LIBRARY_PATH.
The vulnerability arises from snapcraft including the current directory in the LD_LIBRARY_PATH environment variable when building snap packages. This can allow a malicious snap to inject malicious libraries into the library search path, leading to code execution in the context of another snap.
Questions
What is CVE-2020-27348?
A vulnerability in snapcraft versions prior to 4.4.4, 2.43.1+16.04.1, and 2.43.1+18.04.1 allows a malicious snap to gain code execution within the context of another snap if both plug the home interface or similar, due to the inclusion of the current directory in LD_LIBRARY_PATH.
What is the CVSS score for CVE-2020-27348?
CVE-2020-27348 has CVSS 6.8 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L. EPSS: 0.7%.
Is CVE-2020-27348 actively exploited?
No confirmed active exploitation of CVE-2020-27348 as of 2026-09-25.
How do I remediate CVE-2020-27348?
Priority: HIGH.
What systems are affected by CVE-2020-27348?
CVE-2020-27348 affects Canonical Ubuntu Linux, Snapcraft.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.