News KrakenD Partners with Digital Platform Solutions to Expand Reach in Pakistan

CVE-2026-39820 Medium False Positive

net/mail: Quadratic String Concatenation in consumeComment

This CVE does not affect KrakenD

KrakenD is an API gateway and does not parse email messages or net/mail formatted headers at runtime. The net/mail package is a transitive dependency but its parsing functions are never invoked during KrakenD operation.

Addressed through routine dependency maintenance in CE 2.13.5 and EE 2.13.3.

Component

Go standard library (net/mail)

Disclosed

May 11, 2026

Description

Go’s net/mail package performs quadratic string concatenation inside the consumeComment function when processing comment tokens within certain mail header values. A crafted comment in an email header can cause excessive CPU and memory consumption, leading to denial of service.

Stay up to date with KrakenD releases and important updates