# 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 ...

Advisory record · `GHSA-qxm5-vx5j-pp6w`

- **Identifiers:** `GHSA-qxm5-vx5j-pp6w` · `CVE-2020-27348` · `PYSEC-2020-109`
- **State:** Confirmed
- **Severity:** CVSS 6.8 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-427](https://cwe.mitre.org/data/definitions/427.html)
- **Tags:** [CWE-427](https://agentprime.io/advisories/tag/cwe-427.md)
- **Published:** 4 Dec 2020
- **Updated:** 10 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 4 Dec 2020, 03:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `snapcraft` (PyPI): affected `<2.43.1`; fixed in `2.43.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Snapcraft before 2.43.1 can, under some conditions, build snaps that include the current directory in LD_LIBRARY_PATH. A malicious snap can then execute code in the context of another snap if both plug the home interface or a similar one. Upgrade snapcraft to 2.43.1 or later.

Written 9 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.8 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`, from CNA (canonical)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0070, the 53rd percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 4 Dec 2020. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-qxm5-vx5j-pp6w](https://github.com/advisories/GHSA-qxm5-vx5j-pp6w)
- [OSV: GHSA-qxm5-vx5j-pp6w](https://osv.dev/vulnerability/GHSA-qxm5-vx5j-pp6w)
- <https://usn.ubuntu.com/usn/usn-4661-1>
- <https://github.com/snapcore/snapcraft/pull/3345>
- <https://bugs.launchpad.net/bugs/1901572>
- <https://github.com/advisories/GHSA-qxm5-vx5j-pp6w>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-qxm5-vx5j-pp6w>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-qxm5-vx5j-pp6w/>. Everything for agents: <https://agentprime.io/llms.txt>.
