Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-55163 EUVD-2026-61147GHSA-x3vf-mgxj-7785PYSEC-2026-2591

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

Published Aug 18, 2026 · Updated Aug 19, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Netflix lemur < 1.9.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lemur < 1.9.2 1.9.2 GHSA-x3vf-mgxj-7785

References