# Crossplane v2.3.8

2026-11-24 · [Original release notes](https://github.com/crossplane/crossplane/releases/tag/v2.3.8) · [Full summary](https://ratatosk.io/en/releases/crossplane/v2.3.8)

Security 2 · Breaking changes 1 · Important fixes 1 · Dependency updates 8 · Other changes 4

## Security (2)

### Scope checks reject cluster-scoped resources from namespaced XRs

- Affects: namespaced XRs whose compositions include cluster-scoped resources

Previously, a function could set `metadata.namespace` on a composed cluster-scoped resource, bypassing the scope check.

> * [release-2.3] fix(composite): check scope of every resource composed by a namespaced XR by @lsviben in https://github.com/crossplane/crossplane/pull/8052
> * **Namespaced XRs can no longer compose cluster scoped resources:** A function could make a namespaced XR compose a cluster scoped resource by setting `metadata.namespace` on it, because the scope check only ran on composed resources without a namespace. Crossplane now checks the scope of every resource a namespaced XR composes, based on its kind. Backported in #8052, originally fixed in #8050.

### [Security status unclear] Generated RBAC grants now track owned composite and claim CRDs

- Affects: generated RBAC roles for `CompositeResourceDefinition` resources

When a composite or claim CRD is absent or not owned by the definition, its corresponding grants are removed; the two CRDs are checked independently. Empty roles are retained so reconciliation can revoke previously granted rules.

> * [Backport release-2.3] fix(rbac): derive generated roles from owned CRDs by @github-actions[bot] in https://github.com/crossplane/crossplane/pull/8058
> * **Generated RBAC roles follow owned CRDs:** The RBAC manager now builds the rules in generated provider, composite, and claim `ClusterRoles` only from CRDs that exist in the cluster and are owned by the `ProviderRevision` or XRD. Rules are recomputed on every reconcile, so a resource that no longer qualifies loses its grants. Backported in #8058, originally fixed in #8054.

## Breaking changes (1)

### Provider `ServiceAccount` bindings limited to the package runtime namespace

- Affects: provider runtime `Deployments` with `ServiceAccount` bindings
- Action required: For `--package-runtime=External`, provider `Deployments` must run in the package runtime namespace for their `ServiceAccount` bindings, or the external runtime must manage those bindings; standard Helm installs need no changes.

The RBAC manager binds a `Deployment`'s `ServiceAccount` only when its controller reference exactly matches the `ProviderRevision`.

> * **Provider `ServiceAccount` binding limited to the package runtime namespace:** The RBAC manager now only watches provider runtime `Deployments` in the namespace where Crossplane runs packages, and only binds a `Deployment`'s `ServiceAccount` when its controller reference matches the `ProviderRevision` exactly. The Helm chart passes core Crossplane's namespace to the RBAC manager, so standard installs need no changes. Backported in #8056, originally fixed in #8055.
>   * ⚠️ With `--package-runtime=External`, your external runtime must run provider `Deployments` in the package runtime namespace for their `ServiceAccounts` to be bound, or manage those bindings itself.

## Important fixes (1)

### ProviderRevision RBAC bindings limited to matching runtime Deployments

- Affects: provider runtimes in the namespace configured by core Crossplane's `--namespace`

Previously, the reconciler listed Deployments without a namespace restriction and selected ServiceAccounts using only a matching owner-reference UID. It now considers Deployments only in the configured package runtime namespace and selects a ServiceAccount only when the controller owner reference matches the ProviderRevision's API version, kind, name, and UID.

> * [Backport release-2.3] fix(rbac): limit provider Deployment discovery to runtime namespace by @github-actions[bot] in https://github.com/crossplane/crossplane/pull/8056

## Dependency updates (8)

### Go dependencies updated for upstream CVE fixes

The update covers `go-chi/chi/v5`, `go-jose/go-jose/v4`, `golang.org/x/net`, `klauspost/compress`, `golang.org/x/crypto`, `go.opentelemetry.io/otel/trace`, and `crossplane-runtime`. `crossplane-runtime` is updated to `v2.3.6`; versions for the other dependencies are not specified.

> * **Dependency security updates:** Bumps `go-chi/chi/v5` (#7968), `go-jose/go-jose/v4` and `golang.org/x/net` (#7982), `klauspost/compress` (#8019), `golang.org/x/crypto` (#8035), `go.opentelemetry.io/otel/trace` (#8046), and `crossplane-runtime` to `v2.3.6` (#8085) to pick up upstream CVE fixes. Also refreshes the lock file (#7975, #7987).

### `github.com/go-chi/chi/v5` updated to v5.4.0

- [CVE-2026-114437](https://www.cve.org/CVERecord?id=CVE-2026-114437), [GHSA-j6qf-3m9c-vwj3](https://github.com/advisories/GHSA-j6qf-3m9c-vwj3)

> * chore(deps): update module github.com/go-chi/chi/v5 to v5.4.0 [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7968

### `github.com/go-jose/go-jose/v4` updated to v4.1.6

- [GHSA-4w3g-jfj2-cw2q](https://github.com/advisories/GHSA-4w3g-jfj2-cw2q), [GHSA-mgcc-cww5-fp2q](https://github.com/advisories/GHSA-mgcc-cww5-fp2q), [GHSA-vvm8-gf78-28g4](https://github.com/advisories/GHSA-vvm8-gf78-28g4)

Crafted RSA keys could trigger a denial of service during JWK parsing. The update caps accepted RSA moduli at 4096 bits, with `MaxRSAModulusBits` available to raise the limit.

> * chore(deps): update vulnerable dependencies [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7982

### `golang.org/x/net` updated to v0.62.0

The upstream issues involve quadratic work while coalescing HTML text nodes and incorrect namespace handling when rendering raw HTML text.

> * chore(deps): update vulnerable dependencies [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7982

### `github.com/klauspost/compress` updated to v1.20.2

- [CVE-2026-116591](https://www.cve.org/CVERecord?id=CVE-2026-116591), [GHSA-fpmh-frq8-7rj8](https://github.com/advisories/GHSA-fpmh-frq8-7rj8), [GO-2026-6865](https://osv.dev/vulnerability/GO-2026-6865)

> * chore(deps): update module github.com/klauspost/compress to v1.20.2 [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/8019

### `golang.org/x/crypto` updated to v0.59.0

- [GO-2026-5932](https://osv.dev/vulnerability/GO-2026-5932)

> * chore(deps): update module golang.org/x/crypto to v0.59.0 [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/8035

### OpenTelemetry trace dependency updated to `v1.47.0`

> * chore(deps): update module go.opentelemetry.io/otel/trace to v1.47.0 [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/8046

1 more, none mentioning security

- `* chore(deps): bump crossplane-runtime to v2.3.6 by @jbw976 in https://github.com/crossplane/crossplane/pull/8085`

## Other changes (4)

- Lock file refreshed
- `flake.lock` refreshed, including its locked `nixpkgs` revision
- `nixpkgs-unstable` revision refreshed in `flake.lock`
- Longer `DeleteClaim` timeout in end-to-end lifecycle tests

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
