CVE-2018-1000850
HIGH 7.5CVSS 3.0Directory Traversal vulnerability in Square Retrofit
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.
- Published
- 20 Dec 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-8p8g-f9vg-r7xr
- Sources
- NVDJSONOSV GHSA-8p8g-f9vg-r7xrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | squareup | retrofitcpe:2.3:a:squareup:retrofit:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.5.0 | 2.5.0 |
| OSV | Maven | com.squareup.retrofit2:retrofit | >= 2.0.0, < 2.5.0 | 2.5.0 |
References
- https://access.redhat.com/errata/RHSA-2019:3892 · WEB
- https://github.com/square/retrofit/blob/master/CHANGELOG.md · Release Notes, Third Party Advisory, WEB
- https://github.com/square/retrofit/commit/b9a7f6ad72073ddd40254c0058710e87a073047d#diff-943ec7ed35e68201824904d1dc0ec982 · Patch, Third Party Advisory, WEB
- https://ihacktoprotect.com/post/retrofit-path-traversal/ · Exploit, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000850 · ADVISORY
- https://github.com/advisories/GHSA-8p8g-f9vg-r7xr · ADVISORY
- https://github.com/square/retrofit · PACKAGE
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E · WEB
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E · WEB
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 20 Dec 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Dec 2018)