Live threats

All CVEs / Squareup

CVE-2018-1000850Squareup Retrofit

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Retrofit.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
squareupretrofit≥ 2.0.0 < 2.5.0

Official sources

References

Links published by the sources. Open them with care.