# CVE-2020-15239: Directory Traversal in xmpp-http-upload

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.87%, higher than 79% of CVEs (2026-12-01)
- Published: 2020-10-06T18:21:02.000Z
- Modified: 2026-09-10T03:48:59.588Z
- Also known as: GHSA-hwv5-w8gm-fq9f, PYSEC-2020-158
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## Description

In xmpp-http-upload before version 0.4.0, when the GET method is attacked, attackers can read files which have a `.data` suffix and which are accompanied by a JSON file with the `.meta` suffix. This can lead to Information Disclosure and in some shared-hosting scenarios also to circumvention of authentication or other limitations on the outbound (GET) traffic. For example, in a scenario where a single server has multiple instances of the application running (with separate DATA_ROOT settings), an attacker who has knowledge about the directory structure is able to read files from any other instance to which the process has read access. If instances have individual authentication (for example, HTTP authentication via a reverse proxy, source IP based filtering) or other restrictions (such as quotas), attackers may circumvent those limits in such a scenario by using the Directory Traversal to retrieve data from the other instances. If the associated XMPP server (or anyone knowing the SECRET_KEY) is malicious, they can write files outside the DATA_ROOT. The files which are written are constrained to have the `.meta` and the `.data` suffixes; the `.meta` file will contain the JSON with the Content-Type of the original request and the `.data` file will contain the payload. The issue is patched in version 0.4.0.

(As written by CVE List.)

## Affected

- horazont xmpp-http-upload: < 0.4.0
- xmpp-http-upload (PyPI): before 0.4.0; before 82056540191e89f0cd697c81f57714c00962ed75
- xmpp-http-upload_project xmpp-http-upload: before 0.4.0

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N`
- NVD: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/horazont/xmpp-http-upload/security/advisories/GHSA-hwv5-w8gm-fq9f> (advisory, third-party-advisory, web)
- <https://github.com/horazont/xmpp-http-upload/pull/12> (third-party-advisory, web)
- <https://github.com/horazont/xmpp-http-upload/commit/82056540191e89f0cd697c81f57714c00962ed75> (fix, patch, third-party-advisory, web)
- <https://pypi.org/project/xmpp-http-upload/#history> (package, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15239> (advisory)
- <https://github.com/horazont/xmpp-http-upload> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/xmpp-http-upload/PYSEC-2020-158.yaml> (web)

## Sources

- CVE List: [CVE-2020-15239](https://www.cve.org/CVERecord?id=CVE-2020-15239), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hwv5-w8gm-fq9f](https://github.com/advisories/GHSA-hwv5-w8gm-fq9f), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-15239](https://nvd.nist.gov/vuln/detail/CVE-2020-15239), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-158](https://osv.dev/vulnerability/PYSEC-2020-158), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-15239 · Whole record: https://cve.day/CVE-2020-15239.json · Rebuilt by cve.day 2026-11-25T22:57:55.065Z
