CVE-2026-78166 provectus kafka-ui Groovy Code MessagesController.java executeSmartFilterTest code injection
Remote attackers can execute arbitrary code via Groovy injection in the Kafka UI smart filter test function.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-78166?
CVE-2026-78166 is a medium-severity code injection vulnerability in provectus kafka-ui, published on 24 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A security flaw has been discovered in provectus kafka-ui up to 0.7.2. The affected element is the function executeSmartFilterTest of the file kafka-ui-api/src/main/java/com/provectus/kafka/ui/controller/MessagesController.java of the component Groovy Code Handler. The manipulation results in code injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Which versions are affected by CVE-2026-78166?
How do I fix CVE-2026-78166?
No fix has been published for CVE-2026-78166 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-2026-78166 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-78166 exists.
Sources
Also known as GHSA-332v-m8g2-mqf5.