CVE-2025-6772 eosphoros-ai db-gpt import import_flow path traversal

Medium 6.9 Published Updated

Remote attackers can exploit a path traversal vulnerability in the import_flow function to read or modify arbitrary files on the server.

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-2025-6772?

CVE-2025-6772 is a medium-severity path traversal vulnerability in eosphoros-ai db-gpt, published on 27 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in eosphoros-ai db-gpt up to 0.7.2. It has been classified as critical. Affected is the function import_flow of the file /api/v2/serve/awel/flow/import. The manipulation of the argument File leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-22

Which versions are affected by CVE-2025-6772?

It affects 1 product.

Products include Dbgpt Db-Gpt.

How do I fix CVE-2025-6772?

No fix has been published for CVE-2025-6772 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-2025-6772 being exploited?

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

Sources

Also known as GHSA-gqcc-56c6-jmg3.

Is CVE-2025-6772 in your software?

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

Check your SBOMs for free