CVE-2025-1087 Arbitrary Code Execution in Kong Insomnia Desktop Application

Critical 9.3 Published Updated

Attackers can execute arbitrary code via template injection in Kong Insomnia due to insufficient input validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-1087?

CVE-2025-1087 is a critical code injection vulnerability in Kong Inc. Insomnia, published on 9 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Kong Insomnia Desktop Application before 11.0.2 contains a template injection vulnerability that allows attackers to execute arbitrary code. The vulnerability exists due to insufficient validation of user-supplied input when processing template strings, which can lead to arbitrary JavaScript execution in the context of the application.

Weakness: CWE-94, CWE-20

Which versions are affected by CVE-2025-1087?

How do I fix CVE-2025-1087?

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

There is no known exploitation of CVE-2025-1087 in the wild and no public exploit code.

Sources

Also known as GHSA-mvxq-6j8f-hrgw.

Is CVE-2025-1087 in your software?

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

Check your SBOMs for free