Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40320: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine in Giskard-AI giskard-oss

0
Medium
VulnerabilityCVE-2026-40320cvecve-2026-40320cwe-1336
Published: Fri Apr 17 2026 (04/17/2026, 17:25:50 UTC)
Source: CVE Database V5
Vendor/Project: Giskard-AI
Product: giskard-oss

Description

Giskard-AI's open-source testing framework giskard-oss versions prior to 1. 0. 2b1 contain a vulnerability in the ConformityCheck class where the rule parameter is rendered using Jinja2's default Template() constructor. This causes template expressions to be interpreted at runtime, allowing arbitrary code execution if an attacker can write a crafted rule string to a check definition and trigger the test suite. The issue is fixed in version 1. 0. 2b1. Exploitation requires write access to check definitions and execution of the test suite. The vulnerability has a medium severity with a CVSS score of 5. 4.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/17/2026, 18:08:24 UTC

Technical Analysis

The vulnerability (CVE-2026-40320) in giskard-oss before version 1.0.2b1 arises from improper neutralization of special elements in template rendering (CWE-1336). The ConformityCheck class uses Jinja2's Template() constructor to render the rule parameter, which evaluates template expressions at runtime. If an attacker can supply a malicious rule string via write access to check definitions, they can achieve arbitrary code execution when the test suite runs. This vulnerability is addressed in giskard-checks version 1.0.2b1.

Potential Impact

An attacker with write access to check definitions can execute arbitrary code on the system running the test suite by injecting crafted template expressions. This could lead to compromise of the environment where giskard-oss is used. However, exploitation requires both write permissions to check definitions and execution of the test suite, limiting the attack surface. There are no known exploits in the wild.

Mitigation Recommendations

Upgrade giskard-oss to version 1.0.2b1 or later, where this vulnerability is fixed. Since the vendor advisory does not provide additional remediation details, applying this official fix is the recommended action. Patch status is not explicitly stated but the issue is fixed in version 1.0.2b1, so upgrading to this version or newer mitigates the risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T21:41:54.505Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e273aebdfbbecc5970e958

Added to database: 4/17/2026, 5:53:50 PM

Last enriched: 4/17/2026, 6:08:24 PM

Last updated: 4/17/2026, 8:17:11 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses