CVE-2024-12065 Local File Inclusion in haotian-liu/llava

High 7.5 Published Updated

Attackers can read arbitrary system files via crafted requests to the LLaVA Gradio web UI due to improper input validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12065?

CVE-2024-12065 is a high-severity path traversal vulnerability in haotian-liu/llava, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2024-12065?

It affects 1 product.

Products include Hliu Llava.

How do I fix CVE-2024-12065?

No fix has been published for CVE-2024-12065 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-12065 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12065 exists.

Sources

Also known as GHSA-q36w-fgp3-q2gw.

Is CVE-2024-12065 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free