{"cve":"CVE-2024-36116","nvd":{"published":"2024-06-19T18:15:10.910","modified":"2026-06-17T07:36:08.200","status":"Analyzed","description":"Reposilite is an open source, lightweight and easy-to-use repository manager for Maven based artifacts in JVM ecosystem. Reposilite provides support for JavaDocs files, which are archives that contain documentation for artifacts. Specifically, JavadocEndpoints.kt controller allows to expand the javadoc archive into the server's file system and return its content. The problem is in the way how the archives are expanded, specifically how the new filename is created. The `file.name` taken from the archive can contain path traversal characters, such as '/../../../anything.txt', so the resulting extraction path can be outside the target directory. If the archive is taken from an untrusted source, such as Maven Central or JitPack for example, an attacker can craft a special archive to overwrite any local file on Reposilite instance. This could lead to remote code execution, for example by placing a new plugin into the '$workspace$/plugins' directory. Alternatively, an attacker can overwrite the content of any other package. Note that the attacker can use its own malicious package from Maven Central to overwrite any other package on Reposilite. Reposilite has addressed this issue in version 3.5.12. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue was discovered and reported by the GitHub Security lab and is also tracked as GHSL-2024-073.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22"],"references":["https://github.com/dzikoysk/reposilite/commit/848173738e4375482c70365db5cebae29f125eaa","https://github.com/dzikoysk/reposilite/releases/tag/3.5.12","https://github.com/dzikoysk/reposilite/security/advisories/GHSA-frvj-cfq4-3228","https://github.com/dzikoysk/reposilite/commit/848173738e4375482c70365db5cebae29f125eaa","https://github.com/dzikoysk/reposilite/releases/tag/3.5.12"],"products":["reposilite:reposilite"],"source":"nvd","synced_at":"2026-10-19T21:52:00.836172422+00:00"},"epss":{"cve":"CVE-2024-36116","score":0.01469,"percentile":0.7374,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-frvj-cfq4-3228","url":"https://osv.dev/vulnerability/GHSA-frvj-cfq4-3228","summary":"Path traversal in Reposilite javadoc file expansion (arbitrary file creation/overwrite) (`GHSL-2024-073`)","modified":"2026-09-10T03:50:18.119774285Z","packages":[{"ecosystem":"Maven","name":"com.reposilite:reposilite-backend","purl":"pkg:maven/com.reposilite/reposilite-backend","ranges":[">=3.3.0 <3.5.12"],"fixed":["3.5.12"]}]}],"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."]}