---
title: "CVE-2025-59823: Gardener provider extensions vulnerable to code injection when Terraform is used for infrastructure provisioning"
url: https://erroneo.us/security/cve/CVE-2025-59823/
description: "CVE-2025-59823 (github.com/gardener/gardener-extension-provider-aws (Go)): Project Gardener implements the automated management and operation of Kubernetes…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-09-25
date_modified: 2025-10-23
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-59823"
kev: false
cvss: 9.9
epss: 0.00529
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-59823: Gardener provider extensions vulnerable to code injection when Terraform is used for infrastructure provisioning

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.5% , percentile 44: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 44% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes github.com/gardener/gardener-extension-provider-aws (Go) < 1.64.0, fixed in 1.64.0 ; github.com/gardener/gardener-extension-provider-gcp (Go) < 1.46.0, fixed in 1.46.0 ; github.com/gardener/gardener-extension-provider-azure (Go) < 1.55.0, fixed in 1.55.0 ; github.com/gardener/gardener-extension-provider-openstack (Go) < 1.49.0, fixed in 1.49.0 . Check your lockfile, including transitive dependencies.

## What it is

Project Gardener implements the automated management and operation of Kubernetes clusters as a service. Code injection may be possible in Gardener Extensions for AWS providers prior to version 1.64.0, Azure providers prior to version 1.55.0, OpenStack providers prior to version 1.49.0, and GCP providers prior to version 1.46.0. This vulnerability could allow a user with administrative privileges for a Gardener project to obtain control over the seed cluster where the shoot cluster is managed. This affects all Gardener installations where Terraformer is used/can be enabled for infrastructure provisioning with any of the affected components. This issue has been patched in Gardener Extensions for AWS providers version 1.64.0, Azure providers version 1.55.0, OpenStack providers version 1.49.0, and GCP providers version 1.46.0.

## Affected packages

- Go `github.com/gardener/gardener-extension-provider-aws` < 1.64.0 → fixed: 1.64.0
- Go `github.com/gardener/gardener-extension-provider-gcp` < 1.46.0 → fixed: 1.46.0
- Go `github.com/gardener/gardener-extension-provider-azure` < 1.55.0 → fixed: 1.55.0
- Go `github.com/gardener/gardener-extension-provider-openstack` < 1.49.0 → fixed: 1.49.0

## Affected products (CVE record)

- gardener gardener-extension-provider-aws: < 1.64.0, < 1.55.0, < 1.49.0, < 1.46.0

## Severity

- GitHub_M CVSS 3.0: 9.9 `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.9 `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.53% probability of exploitation activity in the next 30 days; percentile 44.

## Sources

- [GitHub Advisory GHSA-227x-7mh8-3cf6](https://github.com/advisories/GHSA-227x-7mh8-3cf6)
- [CVE.org record CVE-2025-59823](https://www.cve.org/CVERecord?id=CVE-2025-59823)
- [NVD entry CVE-2025-59823](https://nvd.nist.gov/vuln/detail/CVE-2025-59823)
- [github.com](https://github.com/gardener/gardener-extension-provider-aws/security/advisories/GHSA-227x-7mh8-3cf6)
- [github.com](https://github.com/gardener/gardener-extension-provider-aws/releases/tag/v1.64.0)
- [github.com](https://github.com/gardener/gardener-extension-provider-azure/releases/tag/v1.55.0)
- [github.com](https://github.com/gardener/gardener-extension-provider-gcp/releases/tag/v1.46.0)
- [github.com](https://github.com/gardener/gardener-extension-provider-openstack/releases/tag/v1.49.0)
- [github.com](https://github.com/gardener/gardener-extension-provider-aws/commit/cb5045fc146248296994804bbfe27bd896938bf2)
- [github.com](https://github.com/gardener/gardener-extension-provider-azure/commit/4573a4404969f89781ed6cf72e90554bc6ae2020)
- [github.com](https://github.com/gardener/gardener-extension-provider-gcp/commit/51111b4f60c33c60dfdf18b1fc50f7ec8d8f70ac)
- [github.com](https://github.com/gardener/gardener-extension-provider-openstack/commit/2ed6f0fe1be90fbef5d6093eb0b8325c8421b8d8)
- [pkg.go.dev](https://pkg.go.dev/vuln/GO-2025-3981)

---
Source page: https://erroneo.us/security/cve/CVE-2025-59823/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
