CVE-2025-14896 Server-side request forgery in kroki

High 8.7 Published Updated

Attackers can exploit insufficient sanitization in Vega's convert function to perform Server-Side Request Forgery, exposing sensitive local file system data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-14896?

CVE-2025-14896 is a high-severity server-side request forgery vulnerability in yuzutech kroki, published on 18 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-552

Which versions are affected by CVE-2025-14896?

How do I fix CVE-2025-14896?

No fix has been published for CVE-2025-14896 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2025-14896 being exploited?

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

Sources

Also known as GHSA-5q5g-57mw-wmq6.

Is CVE-2025-14896 in your software?

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

Check your SBOMs for free