Eval Injection Affecting io.karatelabs:karate-core package, versions [2.0.1,2.1.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Eval Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-IOKARATELABS-17732778
  • published30 Jun 2026
  • disclosed18 Jun 2026
  • creditUnknown

Introduced: 18 Jun 2026

CVE NOT AVAILABLE CWE-95  (opens in a new tab)

How to fix?

Upgrade io.karatelabs:karate-core to version 2.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Eval Injection via the processEmbeddedExpressions process. An attacker can execute arbitrary operating-system commands by sending specially crafted HTTP request data containing embedded expressions that are recursively evaluated server-side. This is only exploitable if the Mock Server feature assigns request-derived data such as request, requestHeaders, or requestParams, causing the framework to process attacker-controlled input as embedded expressions.

CVSS Base Scores

version 4.0
version 3.1