CVE-2025-5187 Affecting rancher-agent-2.12 package, versions <2.12.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-RANCHERAGENT212-12447211
  • published2 Sept 2025
  • disclosed27 Aug 2025

Introduced: 27 Aug 2025

NewCVE-2025-5187  (opens in a new tab)

How to fix?

Upgrade Chainguard rancher-agent-2.12 to version 2.12.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rancher-agent-2.12 package and not the rancher-agent-2.12 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

A vulnerability exists in the NodeRestriction admission controller in Kubernetes clusters where node users can delete their corresponding node object by patching themselves with an OwnerReference to a cluster-scoped resource. If the OwnerReference resource does not exist or is subsequently deleted, the given node object will be deleted via garbage collection.

CVSS Base Scores

version 3.1