News KrakenD CE 2.13.9 and EE 2.13.7 update released

CVE-2026-56859 High Medium Impact

encoding/xml: Stack Exhaustion via Depth Counter Reset in DecodeElement

Exploitable under specific conditions

This CVE can affect KrakenD under specific conditions. Review the affected versions below and upgrade if your deployment is exposed.

Reachable when KrakenD decodes an XML payload, either a backend response processed by the XML encoding component or an XML request body accepted from a client. Deployments that don’t use XML encoding/decoding are not exposed.

Component

Go standard library (encoding/xml)

Disclosed

Aug 14, 2026

Description

Go’s encoding/xml package reset its recursion depth counter inside Decoder.DecodeElement, so the guard meant to stop deeply nested XML documents from recursing indefinitely never actually fired. A crafted XML document with many nested elements could drive the decoder into unbounded recursion, exhausting the goroutine’s stack and crashing the process. The fix restores the depth counter so it persists across nested DecodeElement calls.

Version summary

Community Edition

2.13.9

addresses this CVE

Affected CE versions

>= 2.0, < 2.13.9

Enterprise Edition

2.13.7

addresses this CVE

Affected EE versions

>= 2.0, < 2.13.7

Upgrade to the addressed version or later to remediate this vulnerability.

Stay up to date with KrakenD releases and important updates