# Path Traversal in Ansible

Advisory record · `GHSA-893h-35v4-mxqx`

- **Identifiers:** `GHSA-893h-35v4-mxqx` · `CVE-2020-1737` · `PYSEC-2020-9`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 20 Apr 2021
- **Updated:** 6 Sept 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 20 Apr 2021, 16:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `ansible` (PyPI): affected `>=2.8.0a1, <2.8.9 || >=2.9.0a1, <2.9.6 || <2.7.17`; fixed in `2.8.9`, `2.9.6`, `2.7.17`

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

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0036, the 29th percentile, on 21 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 20 Apr 2021. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-893h-35v4-mxqx](https://github.com/advisories/GHSA-893h-35v4-mxqx)
- [OSV: GHSA-893h-35v4-mxqx](https://osv.dev/vulnerability/GHSA-893h-35v4-mxqx)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-1737>
- <https://github.com/ansible/ansible/issues/67795>
- <https://github.com/ansible/ansible/pull/67799>
- <https://github.com/samdoran/ansible/commit/1de638b4d38d6d916588e2ad48d01f90dab8c36d>
- <https://github.com/samdoran/ansible/commit/aaf549d7870b8687209a3282841b59207735b676>
- <https://github.com/samdoran/ansible/commit/b60aa26e2313a8d52c0e0d3fd01696e797605b72>
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737>
- <https://github.com/advisories/GHSA-893h-35v4-mxqx>
- <https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-9.yaml>
- <https://github.com/samdoran/ansible>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7>

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-893h-35v4-mxqx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-893h-35v4-mxqx/>. Everything for agents: <https://agentprime.io/llms.txt>.
