CVE-2018-1000850Squareup Retrofit
High 7.5 No auth needed
Follow: this CVE · Squareup · Squareup Retrofit We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Dec 20, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Retrofit.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.squareup.retrofit2:retrofit |
≥ 2.0.0 < 2.5.0 |
2.5.0 |
— |
Per OSV / GitHub Advisories (GHSA-8p8g-f9vg-r7xr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| squareup | retrofit | ≥ 2.0.0 < 2.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- ihacktoprotect.com Exploit Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org