CVE-2025-14896 Details
Description
due to insufficient sanitazation in Vega’s `convert()` function when `safeMode` is enabled and the spec variable is an array. An attacker can craft a malicious Vega diagram specification that will allow them to send requests to any URL, including local file system paths, leading to exposure of sensitive information.
A vulnerability exists in the Vega component of Kroki, specifically in the 'convert()' function, when 'safeMode' is enabled and the 'spec' variable contains an array. This flaw allows an attacker to create a malicious Vega diagram specification that can send requests to any URL, including local file system paths, potentially exposing sensitive information.
Users can disable 'safeMode' by setting the KROKI_SAFE_MODE environment variable to 'unsafe', but this is not recommended due to the potential security risks. A safer option is to update to the latest version of Kroki, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 18, 2025CISA-ADP
Assessed Dec 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yuzutech/kroki/commit/f31093cd8a0a1d6999c43d560f62d1e82d59c77e | [email protected] | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-552 | Files or Directories Accessible to External Parties | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yuzutech kroki | All versions |
CPE
Remediation
| |
| Vega | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 18, 2025 | New CVE Received | [email protected] |
Volerion