CVE-2020-15239
Directory Traversal in xmpp-http-upload
Also known as GHSA-hwv5-w8gm-fq9f, PYSEC-2020-158
Mitigation
- Upgrade xmpp-http-upload to 0.4.0 or later.
Who should check
- Projects that depend on PyPI package xmpp-http-upload (< 0.4.0)
- Anyone running horazont xmpp-http-upload < 0.4.0
Vulnerability facts
- Affected
- xmpp-http-upload < 0.4.0
- Fixed in
- 0.4.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 3.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.87% chance of exploitation in 30 days (percentile 80, 2026-11-26)
- CWE
- CWE-22
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI xmpp-http-upload | < 0.4.0 | 0.4.0 | osv |
| horazont xmpp-http-upload | < 0.4.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-15239. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-15239.md Affected: xmpp-http-upload < 0.4.0 Fixed in: 0.4.0 Steps: 1. Search this machine and project for xmpp-http-upload (PyPI), horazont xmpp-http-upload: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2020-15239 being exploited?
There is no confirmed exploitation: CVE-2020-15239 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.87% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-15239?
Low: CVSS 3.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2020-15239?
xmpp-http-upload < 0.4.0.
Is there a fix for CVE-2020-15239?
Yes. Fixed in 0.4.0. Upgrade xmpp-http-upload to 0.4.0 or later.
How do I check if I'm affected by CVE-2020-15239?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.