{"cve":"CVE-2018-1000850","nvd":{"published":"2018-12-20T15:29:02.423","modified":"2026-06-17T01:33:10.547","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://access.redhat.com/errata/RHSA-2019:3892","https://github.com/square/retrofit/blob/master/CHANGELOG.md","https://github.com/square/retrofit/commit/b9a7f6ad72073ddd40254c0058710e87a073047d#diff-943ec7ed35e68201824904d1dc0ec982","https://ihacktoprotect.com/post/retrofit-path-traversal/","https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E"],"products":["squareup:retrofit"],"source":"nvd","synced_at":"2026-10-19T20:54:36.112582389+00:00"},"epss":{"cve":"CVE-2018-1000850","score":0.04033,"percentile":0.90604,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8p8g-f9vg-r7xr","url":"https://osv.dev/vulnerability/GHSA-8p8g-f9vg-r7xr","summary":"Directory Traversal vulnerability in Square Retrofit","modified":"2024-02-16T08:01:53.624924Z","packages":[{"ecosystem":"Maven","name":"com.squareup.retrofit2:retrofit","purl":"pkg:maven/com.squareup.retrofit2/retrofit","ranges":[">=2.0.0 <2.5.0"],"fixed":["2.5.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}