Skip to main content

Netflix Lemur EUVDEUVD-2026-61147

| CVE-2026-55163 MEDIUM
Incorrect Authorization (CWE-863)
2026-06-25 https://github.com/Netflix/lemur GHSA-x3vf-mgxj-7785 PYSEC-2026-2591
6.3
CVSS 3.1 · Vendor: https://github.com/Netflix/lemur
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to Lemur as non-admin role member
  2. Delivery
    Obtain valid JWT token
  3. Exploit
    Identify target role ID via GET /api/1/roles
  4. Install
    Craft PUT /api/1/roles/<id> with modified users array
  5. C2
    RoleMemberPermission check passes due to OR-semantics
  6. Execute
    service.update() writes new membership
  7. Impact
    Injected user gains role's certificate/authority access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must be an authenticated Lemur user who already holds membership in the specific target role - they cannot exploit this against roles they do not belong to. A valid Lemur JWT (PR:L) is required; unauthenticated exploitation is not possible. The attack is network-accessible with no complexity barriers (AV:N/AC:L) and requires no user interaction. Exploitation is bounded by role scope: the attacker can only manipulate roles they are already a member of, and cannot self-promote to admin via role rename because the unique=True constraint on Role.name and strict equality in User.is_admin block that path on default installations. The vulnerability exists in the default Lemur configuration - no special non-default feature or deployment mode is required beyond having at least one non-admin user who is a role member.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, score 6.3) is broadly consistent with the vulnerability mechanics: network-accessible, no complexity barriers, requires only a valid authenticated session (PR:L), no user interaction needed. The C:L and I:L ratings may understate impact in deployments where non-admin roles govern certificate issuance or CA authority access - injecting a colluder into such a role is a meaningful PKI privilege escalation. The A:L rating captures the ability to remove legitimate users from roles, disrupting their access. No EPSS data was provided in the input, and this CVE is not listed in CISA KEV, indicating no confirmed widespread exploitation at time of analysis. However, the GitHub advisory includes precise reproduction steps including curl commands, significantly lowering the exploitation bar for anyone with a valid non-admin account. The CVSS Scope remains Unchanged (S:U) because the attacker cannot escalate to full admin - the unique Role.name constraint and strict User.is_admin equality check block rename-to-admin exploitation on default installs. Real-world priority is moderate for organizations using Lemur with role-delegated certificate management; lower for deployments where only admins manage roles.

Exploit ScenarioDerived

An authenticated non-admin user alice, already a member of the operator role, crafts a PUT request to /api/1/roles/<operator_role_id> with a JSON body containing a modified users array that includes bob - an account with no legitimate operator access. Lemur's RoleMemberPermission check passes because alice is a member of operator, the handler calls service.update() with the new membership list, and the API returns HTTP 200. Bob now has operator-level access to all certificates and authorities governed by that role. Detailed reproduction steps including exact curl commands are published in the GitHub security advisory GHSA-x3vf-mgxj-7785.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Incorrect authorization in Netflix Lemur's role management API allows any authenticated role member to rewrite the membership list and rename their own role via the PUT /api/1/roles/<id> endpoint in versions up to and including 1.9.1. The RoleMemberPermission check uses OR-semantics, meaning membership of a role is sufficient to mutate it - an authorization oversight confirmed by the asymmetry with the DELETE handler on the same resource, which correctly enforces admin-only access. Exploitation enables lateral privilege escalation within a Lemur PKI deployment: a malicious role member can inject colluders into certificate or authority management roles, remove legitimate members, or rename roles. No public exploit identified at time of analysis, though detailed reproduction steps are published in the GitHub security advisory GHSA-x3vf-mgxj-7785.

RemediationAI

Upgrade to pip/lemur version 1.9.2, which is confirmed to resolve this vulnerability per the official release at https://github.com/Netflix/lemur/releases/tag/v1.9.2 and advisory GHSA-x3vf-mgxj-7785. The fix adds @admin_permission.require(http_exception=403) to Roles.put(), matching the existing decorator on Roles.delete(). As a compensating control prior to patching, operators should restrict PUT requests to /api/1/roles/ at the reverse proxy or WAF layer to admin-sourced sessions only, accepting the trade-off that legitimate non-admin role management workflows will be blocked until the patch is applied. Following patching, conduct an immediate audit of all role memberships to detect unauthorized additions made before the fix - specifically checking whether any role contains users not explicitly added by an administrator. If role-owner delegation is a legitimate business requirement, the advisory recommends modeling it with a dedicated permission class scoped to role ownership rather than membership, excluding the name field from the delegated mutation schema.

Affected VersionsENISA

Lemur < 1.9.2

Affected Packages

pypi lemur fix: 1.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Lemur is Netflix's open-source X.509 certificate management platform built on Flask and SQLAlchemy. The flaw resides in lemur/roles/views.py at the Roles.put() handler (line 298). Authorization is delegated to flask-principal's RoleMemberPermission class (lemur/auth/permissions.py:56), which constructs a Permission with two Needs: RoleNeed('admin') and RoleMemberNeed(role_id). Because flask-principal's Permission.allows() is OR-semantic, the check passes for any caller who satisfies either need - including non-admin users who are simply members of the target role. The handler then forwards data['users'] and data['name'] directly to service.update(), accepting full membership rewrites without scope validation. CWE-863 (Incorrect Authorization) applies: the authorization check is present but uses a permission class scoped to membership rather than ownership or administrative control, making it insufficient for a mutating operation. The companion DELETE on the same resource correctly uses @admin_permission.require, confirming this is a logic asymmetry rather than a systemic framework misuse.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/Netflix/lemur) PRIMARY 6.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 6.3 MEDIUM

Network API requires only a valid role-member session (PR:L); no complexity; integrity and availability impacts are low because the attacker is bounded to roles they already belong to and cannot achieve full admin escalation.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/Netflix/lemur).

CVSS VectorVendor: https://github.com/Netflix/lemur

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

Summary

The PUT /api/1/roles/<id> handler in lemur/roles/views.py gates only on RoleMemberPermission(role_id).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 @admin_permission.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:

python
permission = RoleMemberPermission(role_id)
if permission.can():
    return service.update(
        role_id, data["name"], data.get("description"), data.get("users")
    )
return dict(message="You are not authorized to modify this role."), 403

@admin_permission.require(http_exception=403)
def delete(self, role_id):
    ...

lemur/auth/permissions.py:56:

python
class RoleMemberPermission(Permission):
    def __init__(self, role_id):
        needs = [RoleNeed("admin"), RoleMemberNeed(role_id)]
        super().__init__(*needs)

flask_principal.Permission.allows() is OR-semantic across needs, so RoleMemberPermission(role_id).can() returns True if the caller is either an admin or a member of role_id. The PUT handler treats membership-of-self as sufficient to mutate the role; DELETE does not.

Affected Endpoints

MethodPathSource
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.is_admin, 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 @admin_permission.require(http_exception=403) to Roles.put, mirroring the existing decorator on Roles.delete:

python
@admin_permission.require(http_exception=403)
def put(self, role_id, data=None):
    ...

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

  1. 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.
  2. 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":"<alice_pw>"}'
  1. Confirm the initial state - bob is not a member of operator:
   curl https://lemur.local/api/1/roles?filter=name;operator \
        -H "Authorization: Bearer <admin_jwt>"
# observe: alice present in users list, bob absent
  1. As alice, send a PUT that injects bob into the operator role:
   curl -X PUT https://lemur.local/api/1/roles/<operator_role_id> \
        -H "Authorization: Bearer <alice_jwt>" \
        -H "Content-Type: application/json" \
        -d '{
              "name": "operator",
              "description": "modified by alice",
              "users": [{"id": <alice_id>}, {"id": <bob_id>}]
            }'
# observe: HTTP 200
  1. Confirm bob is now a member of operator:
   curl https://lemur.local/api/1/roles?filter=name;operator \
        -H "Authorization: Bearer <admin_jwt>"
# 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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche Netflix-originated PKI certificate management tool
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy