CVE-2024-36116
Path traversal in Reposilite javadoc file expansion
Also known as GHSA-frvj-cfq4-3228
Mitigation
- Upgrade com.reposilite:reposilite-backend to 3.5.12 or later.
Who should check
- Projects that depend on Maven package com.reposilite:reposilite-backend (>= 3.3.0, < 3.5.12)
- Anyone running dzikoysk reposilite >= 3.3.0, < 3.5.12
Vulnerability facts
- Affected
- com.reposilite:reposilite-backend >= 3.3.0, < 3.5.12
- Fixed in
- 3.5.12
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.93% chance of exploitation in 30 days (percentile 81, 2026-11-26)
- CWE
- CWE-22
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.reposilite:reposilite-backend | >= 3.3.0, < 3.5.12 | 3.5.12 | osv |
| dzikoysk reposilite | >= 3.3.0, < 3.5.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-36116. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-36116.md Affected: com.reposilite:reposilite-backend >= 3.3.0, < 3.5.12 Fixed in: 3.5.12 Steps: 1. Search this machine and project for com.reposilite:reposilite-backend (Maven), dzikoysk reposilite: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-36116 being exploited?
There is no confirmed exploitation: CVE-2024-36116 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.93% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-36116?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-36116?
com.reposilite:reposilite-backend >= 3.3.0, < 3.5.12.
Is there a fix for CVE-2024-36116?
Yes. Fixed in 3.5.12. Upgrade com.reposilite:reposilite-backend to 3.5.12 or later.
How do I check if I'm affected by CVE-2024-36116?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.