Skip to main content
VulnerabilityPublished Updated

github.com/kgateway-dev/kgateway/v2 · V2: Kgateway transformation policy template can emit files from the container

Affects github.com/kgateway-dev/kgateway/v2Source GCVE Database

0

CVSS 6.3 Medium : upgrade to 2.0.5 when convenient.

Data as of 13 Nov 2026, 19:45 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.0.5, 2.1.0
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H

What to do

Upgrade github.com/kgateway-dev/kgateway/v2 to 2.0.5; github.com/kgateway-dev/kgateway/v2 to 2.1.0.

Affected software

ProductAffectedFixed in
Gogithub.com/kgateway-dev/kgateway/v2Affected
  • <2.0.5
Fixed in
  • 2.0.5
Gogithub.com/kgateway-dev/kgateway/v2Affected
  • >=2.1.0-agw-cel-rbac <2.1.0
Fixed in
  • 2.1.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Kgateway to version 2.0.5 or 2.1.0, which include fixes preventing file access via transformation templates. If upgrading immediately is not possible and transformations are not in use, restrict or disallow TrafficPolicy creation or transformation usage using a ValidatingAdmissionPolicy to prevent exploitation.

Description

Kgateway versions prior to 2.0.5 and certain 2.1.0 pre-release versions contain a vulnerability in the transformation policy template feature that allows users with TrafficPolicy creation permissions to read arbitrary files from the dataplane container filesystem. This can expose configuration files, contents of custom mounted volumes, and any files accessible to the dataplane container process. The vulnerability has been fixed in versions 2.0.5 and 2.1.0.

References

Community reviews

Loading reviews…