Skip to content

Fleet has PSS Bypass through addLabelsFromOptions in Fleet Agent

High severity GitHub Reviewed Published May 27, 2026 in rancher/fleet • Updated Jul 1, 2026

Package

gomod github.com/rancher/fleet (Go)

Affected versions

>= 0.15.0, < 0.15.2
>= 0.14.0, < 0.14.6
>= 0.13.0, < 0.13.11
>= 0.12.0, < 0.12.15

Patched versions

0.15.2
0.14.6
0.13.11
0.12.15

Description

Impact

A vulnerability has been identified in Fleet's agent-side deployer, which did not filter security-sensitive keys from namespaceLabels in fleet.yaml (or BundleDeployment.spec.options.namespaceLabels) when applying them to the target namespace.

An attacker with git push access to a Fleet-monitored repository could overwrite Pod Security Standards (PSS) enforcement labels on a target namespace. This allows the attacker to weaken admission controls and deploy workloads that PSS policies would otherwise block.

Important: The final impact on confidentiality, integrity, and availability depends on the specific permissions of the leaked credentials.

Fleet team recommends you:

  1. Review your system for potentially leaked credentials.
  2. Replace any credentials that may be compromised.

Please consult the associated MITRE ATT&CK - Technique - Disable or Modify Tools for further information about this category of attack.

Patches

To fix this issue, upgrade to a patched version. The updated Fleet deployer filters out labels with the pod-security.kubernetes.io/ prefix when applying namespaceLabels to a namespace. This change preserves the PSS labels set by cluster administrators and prevents them from being overwritten through fleet.yaml or BundleDeployment options.

Patched versions of Fleet include releases v0.15.2, v0.14.6, v0.13.11, and v0.12.15.

Workarounds

If you can’t immediately upgrade to a patched version, use one of the following workarounds:

1 - Deploy NeuVector(primary workaround)

Deploy NeuVector (SUSE Security) and configure an admission control Deny rule for "Run as privileged" in Protect mode.

  • NeuVector evaluates pod specs independently of Kubernetes PSS namespace labels. It blocks privileged containers even if the labels are downgraded.
  • Although the namespace labels are still overwritten, the attack cannot exploit confidentiality, integrity, or availability without a privileged pod.

2 - Restrict repository access (secondary workaround)

Note: The following measure reduces the attack surface but does not close the vulnerability:

  • In a multi-tenant setup, this restriction removes the primary attack vector. However, this measure only reduces the attack surface and doesn't completely close the vulnerability. It may also not be operationally viable for all organizations. ´

Credits

This security issue was reported by the following collaborators according to our responsible disclosure policy:

  • Radisauskas Arnoldas from NATO and the NATO Cyber Security Centre (NCSC).

References

References

@samjustus samjustus published to rancher/fleet May 27, 2026
Published to the GitHub Advisory Database Jul 1, 2026
Reviewed Jul 1, 2026
Last updated Jul 1, 2026

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(40th percentile)

Weaknesses

Insufficiently Protected Credentials

The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. Learn more on MITRE.

CVE ID

CVE-2026-44938

GHSA ID

GHSA-864g-863m-vcvq

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.