The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-36116

CVE-2024-36116: Reposilite Path Traversal Vulnerability

CVE-2024-36116 is a path traversal vulnerability in Reposilite that allows attackers to overwrite files and achieve remote code execution via malicious JavaDoc archives. This article covers technical details, affected versions, impact, and mitigation.

Published: April 15, 2026

CVE-2024-36116 Overview

CVE-2024-36116 is a path traversal vulnerability in Reposilite, an open source, lightweight, and easy-to-use repository manager for Maven-based artifacts in the JVM ecosystem. The vulnerability exists in the JavaDocs file handling functionality, specifically within the JavadocEndpoints.kt controller that expands JavaDoc archives into the server's file system. An attacker can craft a malicious archive containing path traversal characters (such as /../../../anything.txt) in filenames, allowing arbitrary file writes outside the intended target directory.

Critical Impact

This vulnerability enables unauthenticated remote attackers to overwrite any local file on a Reposilite instance, potentially leading to remote code execution by placing malicious plugins in the $workspace$/plugins directory or compromising other packages hosted on the server.

Affected Products

  • Reposilite versions prior to 3.5.12
  • Reposilite repository manager instances processing JavaDoc archives from untrusted sources
  • Deployments integrating with Maven Central or JitPack repositories

Discovery Timeline

  • 2024-06-19 - CVE-2024-36116 published to NVD
  • 2025-03-06 - Last updated in NVD database

Technical Details for CVE-2024-36116

Vulnerability Analysis

This vulnerability stems from improper input validation when extracting JavaDoc archive contents (CWE-22: Improper Limitation of a Pathname to a Restricted Directory). Reposilite provides support for JavaDoc files, which are archives containing documentation for Maven artifacts. When a user requests JavaDoc content, the JavadocEndpoints.kt controller extracts the archive to the server's file system and serves the contents.

The critical flaw lies in how the extraction process constructs destination file paths. The file.name property extracted from archive entries is used directly without sanitizing path traversal sequences. Since archive entries can contain arbitrary filenames including directory traversal patterns like ../../, an attacker can escape the intended extraction directory and write files to arbitrary locations on the server.

Root Cause

The root cause is insufficient validation of archive entry names during the JavaDoc extraction process. The vulnerable code takes the filename directly from the archive without verifying that the resulting path remains within the designated extraction directory. Standard archive libraries typically preserve the original path structure, including any malicious traversal sequences embedded by an attacker.

Attack Vector

An attacker can exploit this vulnerability through several attack scenarios:

  1. Direct Upload: Upload a malicious JavaDoc archive containing specially crafted filenames with path traversal sequences
  2. Poisoned Dependencies: Publish a malicious package to public repositories like Maven Central or JitPack, then trigger Reposilite to fetch and process it
  3. Package Hijacking: Overwrite legitimate package contents on the Reposilite instance with malicious payloads

The attack requires no authentication, as JavaDoc processing can be triggered through normal repository operations. A successful exploit allows the attacker to write arbitrary files with the permissions of the Reposilite process, enabling scenarios such as:

  • Deploying malicious plugins to $workspace$/plugins for code execution
  • Overwriting configuration files to alter server behavior
  • Replacing legitimate artifacts with trojanized versions

Detection Methods for CVE-2024-36116

Indicators of Compromise

  • Unexpected files appearing in system directories outside the Reposilite data directory
  • New or modified plugins in the $workspace$/plugins directory that were not intentionally installed
  • Anomalous file write operations by the Reposilite process to paths containing ../ sequences
  • Modified package contents that differ from their upstream sources

Detection Strategies

  • Monitor file system activity for write operations outside expected Reposilite directories
  • Implement file integrity monitoring on critical system paths and the plugins directory
  • Audit JavaDoc archive requests for packages from untrusted or external sources
  • Review Reposilite logs for unusual artifact fetch patterns or JavaDoc expansion failures

Monitoring Recommendations

  • Enable detailed logging for all archive extraction operations in Reposilite
  • Deploy endpoint detection capabilities to identify suspicious file writes by Java processes
  • Establish baseline file integrity checksums for the Reposilite installation and plugins directory
  • Monitor network traffic for connections to untrusted Maven repositories

How to Mitigate CVE-2024-36116

Immediate Actions Required

  • Upgrade Reposilite to version 3.5.12 or later immediately
  • Audit the file system for any unexpected files or modifications, particularly in the plugins directory
  • Review recently fetched packages from external repositories for potential compromise
  • Consider temporarily disabling JavaDoc serving functionality if an immediate upgrade is not possible

Patch Information

The vulnerability has been addressed in Reposilite version 3.5.12. The fix implements proper path validation during archive extraction to ensure files cannot be written outside the intended target directory.

  • Patched Version: 3.5.12
  • Patch Commit: GitHub Commit 8481737
  • Release Notes: GitHub Release Version 3.5.12
  • Security Advisory: GHSA-frvj-cfq4-3228

Workarounds

  • There are no known workarounds for this vulnerability; upgrading to version 3.5.12 is required
  • Restrict network access to the Reposilite instance to trusted sources only
  • Run Reposilite with minimal file system permissions to limit potential damage
  • Implement web application firewall rules to block requests containing path traversal patterns
bash
# Upgrade Reposilite to patched version
# Download the latest release from GitHub
wget https://github.com/dzikoysk/reposilite/releases/download/3.5.12/reposilite-3.5.12-all.jar

# Stop the current Reposilite instance
systemctl stop reposilite

# Replace the JAR file with the patched version
mv reposilite-3.5.12-all.jar /opt/reposilite/reposilite.jar

# Restart Reposilite
systemctl start reposilite

# Verify the version
java -jar /opt/reposilite/reposilite.jar --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechReposilite

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability17.98%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release Version 3.5.12
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-frvj-cfq4-3228
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English