CVE-2024-12065: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in haotian-liu haotian-liu/llava
A local file inclusion vulnerability exists in haotian-liu/llava at commit c121f04. This vulnerability allows an attacker to access any file on the system by sending multiple crafted requests to the server. The issue is due to improper input validation in the gradio web UI component.
AI Analysis
Technical Summary
CVE-2024-12065 is a path traversal vulnerability categorized under CWE-22 found in the haotian-liu/llava project, specifically within the gradio web UI component. The flaw stems from improper limitation of pathname inputs, allowing attackers to craft requests that bypass directory restrictions and access arbitrary files on the underlying system. This local file inclusion (LFI) vulnerability can be exploited remotely without requiring authentication or user interaction, as the gradio component accepts network requests directly. By manipulating file path parameters, an attacker can read sensitive files such as configuration files, credentials, or other critical data stored on the server. The vulnerability was identified at commit c121f04, but affected versions are unspecified, indicating that users should assume all current versions prior to patching are vulnerable. The CVSS v3.0 base score is 7.5, reflecting network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high confidentiality impact (C:H) with no impact on integrity or availability. No public exploits have been reported yet, but the ease of exploitation and potential data exposure make this a significant threat. The vulnerability highlights the importance of robust input validation and secure file handling in web UI components, especially those exposed to external networks.
Potential Impact
For European organizations, exploitation of CVE-2024-12065 could lead to unauthorized disclosure of sensitive internal files, including configuration files, credentials, or proprietary data, potentially resulting in data breaches and compliance violations under GDPR. The lack of authentication and user interaction requirements means attackers can remotely exploit this vulnerability with minimal effort, increasing the risk of widespread compromise. Organizations using haotian-liu/llava or integrating the gradio web UI component in AI/ML workflows or web services are particularly at risk. The exposure of sensitive files could facilitate further attacks such as privilege escalation, lateral movement, or targeted espionage. Given the growing adoption of AI and machine learning tools in European industries, this vulnerability could impact sectors like finance, healthcare, and research institutions that rely on these technologies. Additionally, the breach of confidentiality could damage organizational reputation and lead to regulatory penalties.
Mitigation Recommendations
European organizations should immediately audit their deployments of haotian-liu/llava and the gradio web UI component to identify vulnerable versions. Since no official patches are currently linked, organizations should implement strict input validation and sanitization on all file path parameters to ensure they cannot traverse directories outside intended boundaries. Employ allowlisting of permissible file paths and enforce least privilege file system permissions to limit file access scope. Network-level protections such as web application firewalls (WAFs) can be configured to detect and block path traversal patterns in HTTP requests. Monitoring and logging access to sensitive files can help detect exploitation attempts early. Organizations should also isolate the affected components in segmented network zones to reduce exposure. Finally, maintain vigilance for vendor updates or patches and apply them promptly once available.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland
CVE-2024-12065: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in haotian-liu haotian-liu/llava
Description
A local file inclusion vulnerability exists in haotian-liu/llava at commit c121f04. This vulnerability allows an attacker to access any file on the system by sending multiple crafted requests to the server. The issue is due to improper input validation in the gradio web UI component.
AI-Powered Analysis
Technical Analysis
CVE-2024-12065 is a path traversal vulnerability categorized under CWE-22 found in the haotian-liu/llava project, specifically within the gradio web UI component. The flaw stems from improper limitation of pathname inputs, allowing attackers to craft requests that bypass directory restrictions and access arbitrary files on the underlying system. This local file inclusion (LFI) vulnerability can be exploited remotely without requiring authentication or user interaction, as the gradio component accepts network requests directly. By manipulating file path parameters, an attacker can read sensitive files such as configuration files, credentials, or other critical data stored on the server. The vulnerability was identified at commit c121f04, but affected versions are unspecified, indicating that users should assume all current versions prior to patching are vulnerable. The CVSS v3.0 base score is 7.5, reflecting network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high confidentiality impact (C:H) with no impact on integrity or availability. No public exploits have been reported yet, but the ease of exploitation and potential data exposure make this a significant threat. The vulnerability highlights the importance of robust input validation and secure file handling in web UI components, especially those exposed to external networks.
Potential Impact
For European organizations, exploitation of CVE-2024-12065 could lead to unauthorized disclosure of sensitive internal files, including configuration files, credentials, or proprietary data, potentially resulting in data breaches and compliance violations under GDPR. The lack of authentication and user interaction requirements means attackers can remotely exploit this vulnerability with minimal effort, increasing the risk of widespread compromise. Organizations using haotian-liu/llava or integrating the gradio web UI component in AI/ML workflows or web services are particularly at risk. The exposure of sensitive files could facilitate further attacks such as privilege escalation, lateral movement, or targeted espionage. Given the growing adoption of AI and machine learning tools in European industries, this vulnerability could impact sectors like finance, healthcare, and research institutions that rely on these technologies. Additionally, the breach of confidentiality could damage organizational reputation and lead to regulatory penalties.
Mitigation Recommendations
European organizations should immediately audit their deployments of haotian-liu/llava and the gradio web UI component to identify vulnerable versions. Since no official patches are currently linked, organizations should implement strict input validation and sanitization on all file path parameters to ensure they cannot traverse directories outside intended boundaries. Employ allowlisting of permissible file paths and enforce least privilege file system permissions to limit file access scope. Network-level protections such as web application firewalls (WAFs) can be configured to detect and block path traversal patterns in HTTP requests. Monitoring and logging access to sensitive files can help detect exploitation attempts early. Organizations should also isolate the affected components in segmented network zones to reduce exposure. Finally, maintain vigilance for vendor updates or patches and apply them promptly once available.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- @huntr_ai
- Date Reserved
- 2024-12-02T21:16:10.059Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 68ef9b24178f764e1f470ade
Added to database: 10/15/2025, 1:01:24 PM
Last enriched: 10/15/2025, 1:21:50 PM
Last updated: 10/16/2025, 12:42:02 PM
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-9955: Vulnerability in WSO2 WSO2 Enterprise Integrator
MediumCVE-2025-10611: Vulnerability in WSO2 WSO2 API Manager
CriticalCVE-2025-58426: Use of hard-coded cryptographic key in NEOJAPAN Inc. desknet's NEO
MediumCVE-2025-58079: Improper Protection of Alternate Path in NEOJAPAN Inc. desknet's NEO
MediumCVE-2025-55072: Cross-site scripting (XSS) in NEOJAPAN Inc. desknet's NEO
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.