CVE-2025-4767 defog-ai introspect Test Endpoint integration_routes.py test_custom_tool code injection

Medium 4.8 Published Updated

A local attacker can execute arbitrary code via the test_custom_tool function in the defog-ai introspect test endpoint.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4767?

CVE-2025-4767 is a medium-severity code injection vulnerability in defog-ai introspect, published on 16 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in defog-ai introspect up to 0.1.4. It has been rated as critical. Affected by this issue is the function test_custom_tool of the file introspect/backend/integration_routes.py of the component Test Endpoint. The manipulation of the argument input_model leads to code injection. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.

Weakness: CWE-94, CWE-74

Which versions are affected by CVE-2025-4767?

How do I fix CVE-2025-4767?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-4767 being exploited?

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

Sources

Also known as GHSA-4m9m-3f5j-mwr3.

Is CVE-2025-4767 in your software?

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

Check your SBOMs for free