Home / Squareup / Retrofit / CVE-2018-1000850
CVE-2018-1000850: is it exploited, and which versions of Squareup Retrofit are affected and fixed?
CVE-2018-1000850 is a path traversal (reading or writing files outside the intended folder) vulnerability in Squareup Retrofit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: com.squareup.retrofit2:retrofit from 2.0.0 before 2.5.0 (GitHub advisory GHSA-8p8g-f9vg-r7xr). Fixed in 2.5.0 (GitHub advisory GHSA-8p8g-f9vg-r7xr). Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:26 UTC.
What is CVE-2018-1000850?
Square Retrofit version versions from (including) 2.0 and 2.5.0 (excluding) contains a Directory Traversal vulnerability in RequestBuilder class, method addPathParameter that can result in By manipulating the URL an attacker could add or delete resources otherwise unavailable to her.. This attack appear to be exploitable via An attacker should have access to an encoded path parameter on POST, PUT or DELETE request.. This vulnerability appears to have been fixed in 2.5.0 and later.
From the CVE record by mitre, last updated August 5, 2024, 12:47 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.squareup.retrofit2:retrofit | >= 2.0.0, < 2.5.0 | 2.5.0 | GHSA-8p8g-f9vg-r7xr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 14, 2022. Summary: Directory Traversal vulnerability in Square Retrofit.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| squareup | retrofit | from 2.0.0 before 2.5.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:33 UTC.
How severe is CVE-2018-1000850?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-1000850 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.03% probability of exploitation activity in the next 30 days, percentile 90.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/square/retrofit/blob/master/CHANGELOG.md x_refsource_MISC
- https://github.com/square/retrofit/commit/b9a7f6ad72073ddd40254c0058710e87a073047d#diff-943ec7ed35e68201824904d1dc0ec982 x_refsource_MISC
- https://ihacktoprotect.com/post/retrofit-path-traversal/ x_refsource_MISC
- [drill-dev] 20191017 Dependencies used by Drill contain known vulnerabilities mailing-list, x_refsource_MLIST
- [drill-dev] 20191021 [jira] [Created] (DRILL-7416) Updates required to dependencies to resolve potential security vulnerabilities mailing-list, x_refsource_MLIST
- [drill-issues] 20191021 [jira] [Created] (DRILL-7416) Updates required to dependencies to resolve potential security vulnerabilities mailing-list, x_refsource_MLIST
- RHSA-2019:3892 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- November 25, 2018
- Published
- December 20, 2018, 15:00 UTC
- CVE record updated
- August 5, 2024, 12:47 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:33 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:26 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Retrofit?
- Dec 20, 2018CVE-2018-1000844 Squareup Retrofit: XML external entity (XXE)
Questions about CVE-2018-1000850
Is CVE-2018-1000850 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 4.03% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Squareup Retrofit are affected by CVE-2018-1000850?
com.squareup.retrofit2:retrofit from 2.0.0 before 2.5.0, per the GitHub advisory GHSA-8p8g-f9vg-r7xr. The tables above give every range the sources list.
Which version fixes CVE-2018-1000850?
2.5.0, per the GitHub advisory GHSA-8p8g-f9vg-r7xr. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-1000850?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1000850?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.