Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kgateway-dev/kgateway/v2
  4. ›
  5. GHSA-5pmx-7r6r-wfqq

GHSA-5pmx-7r6r-wfqq: Kgateway transformation policy template can emit files from the container

November 4, 2025 (updated November 17, 2025)

The transformation policy template feature in Kgateway versions through 2.0.4 allows users with TrafficPolicy creation permissions to craft transformations that read and expose arbitrary files from the dataplane container filesystem.

References

  • github.com/advisories/GHSA-5pmx-7r6r-wfqq
  • github.com/kgateway-dev/kgateway
  • github.com/kgateway-dev/kgateway/pull/12528
  • github.com/kgateway-dev/kgateway/pull/12535
  • github.com/kgateway-dev/kgateway/security/advisories/GHSA-5pmx-7r6r-wfqq
  • github.com/solo-io/envoy-gloo/releases/tag/v1.34.6-patch3
  • github.com/solo-io/envoy-gloo/releases/tag/v1.35.2-patch4

Code Behaviors & Features

Detect and mitigate GHSA-5pmx-7r6r-wfqq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.5, all versions starting from 2.1.0-agw-cel-rbac before 2.1.0

Fixed versions

  • 2.0.5
  • 2.1.0

Solution

Upgrade to versions 2.0.5, 2.1.0 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/kgateway-dev/kgateway/v2/GHSA-5pmx-7r6r-wfqq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 24 Nov 2025 00:19:31 +0000.