Skip to main content

Netflix Lemur CVE-2026-48508

| EUVDEUVD-2026-61100 HIGH
Incorrect Authorization (CWE-863)
2026-06-25 https://github.com/Netflix/lemur GHSA-qcqw-jwxc-2hqg PYSEC-2026-2588
8.8
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. Access
    Obtain low-privilege Lemur credential
  2. Delivery
    Authenticate to Lemur API
  3. Exploit
    POST /api/1/authorities with read-only role
  4. Execution
    Empty-Need permission grants access
  5. Persist
    Create attacker-owned root CA
  6. Impact
    Sign rogue certs trusted internally

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

Exploitation requires one authenticated Lemur account at any privilege level, including the default-shipped read-only role (CVSS PR:L) - no admin or operator role is needed. The decisive condition is configuration state: the install must be running an affected version (<= 1.9.0) with ADMIN_ONLY_AUTHORITY_CREATION and LEMUR_STRICT_ROLE_ENFORCEMENT unset or set to False, which was the default for any install that did not explicitly opt in. No user interaction, social engineering, or special platform is required, and the targeted endpoints (POST /api/1/authorities, /api/1/certificates/upload, /api/1/pending_certificates/<id>/upload, /api/1/notifications, POST /api/1/domains) must be network-reachable by the attacker. The principal limiting factor is the need for valid authentication to Lemur - fully unauthenticated exploitation is not possible - plus the fact that installs which explicitly enabled either strict flag are not affected.

Impact

Signals are largely consistent toward elevated priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8 High) reflects network-reachable, low-complexity exploitation requiring only a valid low-privilege account and no user interaction - a realistic precondition since read-only is Lemur's default-shipped role and any SSO/credential leak satisfies PR:L. The weight of the impact is on integrity (full control of the certificate-issuance plane); a strict reading puts availability impact closer to Low, so the assigned A:H is somewhat generous. No EPSS score, KEV listing, POC, or SSVC decision data was provided, so probabilistic exploitation likelihood cannot be quantified here - absence of those signals is not evidence of low risk. The decisive factor is that exploitation needs no special configuration: the vulnerable state was the default for any install that did not explicitly opt in. This is a genuine priority for any organization running an affected Lemur version with more than one user, not a high-CVSS-but-low-real-risk case, though the lack of a public exploit suggests opportunistic mass exploitation is not yet occurring.

Exploit ScenarioDerived

An attacker who obtains any low-privilege Lemur credential - for example a phished employee account or a leaked SSO token mapped to the default read-only role - sends an authenticated POST to /api/1/authorities and creates a root Certificate Authority owned by the attacker, whose cert and private key are persisted in Lemur's database. Because internal trust stores pin Lemur-managed roots, the attacker can now sign certificates trusted across the environment, and can additionally upload arbitrary certificates and create notifications that reach an SSRF sink. Network attack vector with low complexity and no user interaction make this trivial once a single credential is held; no public exploit has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Privilege escalation via broken authorization in Netflix Lemur (versions <= 1.9.0) lets any authenticated user - including the shipped lowest-privilege read-only role - perform admin-only certificate-management actions. Because the StrictRolePermission and AuthorityCreatorPermission classes were instantiated with an empty Need set when their config flags were left at the default False, Flask-Principal's allows() returns True for every identity, removing the only role gate in front of CA creation, certificate upload, notification (SSRF sink) management, and domain registry edits. No public exploit identified at time of analysis and the issue is not in CISA KEV, but exploitation requires only a single low-privilege credential, making it a direct pivot to control of the PKI issuance plane.

RemediationAI

Upgrade to Lemur 1.9.1, which changes the defaults of ADMIN_ONLY_AUTHORITY_CREATION and LEMUR_STRICT_ROLE_ENFORCEMENT from False to True so restrictive role enforcement is active on all default installs (see GHSA-qcqw-jwxc-2hqg). If you cannot upgrade immediately, set ADMIN_ONLY_AUTHORITY_CREATION = True and LEMUR_STRICT_ROLE_ENFORCEMENT = True explicitly in your Lemur configuration to restore the admin/operator role gate on the affected endpoints; the trade-off is that legitimate non-admin workflows that previously created authorities, uploaded certificates, or managed notifications will now be denied and must be re-assigned to admin/operator roles. Critically, do NOT set either flag back to False after patching - the opt-out branches with empty Needs remain in the code, so an explicit False reintroduces the full bypass; leave the flags unset (now safe-by-default in 1.9.1) or pinned to True. As an additional compensating control, audit existing root CAs, uploaded certificates, notifications, and sensitive domain entries created by non-admin users for unauthorized changes, and tighten which identities hold any authenticated Lemur role.

Affected VersionsENISA

Lemur < 1.9.1

Affected Packages

pypi lemur fix: 1.9.1

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 orchestration platform (PyPI package lemur), used to manage certificate authorities, issuance, and notifications. Authorization for sensitive endpoints relies on Flask-Principal Permission objects whose .can() method calls allows(identity). The root cause is CWE-863 (Incorrect Authorization): flask_principal.Permission.allows() (v0.4.0) short-circuits its denial check with if self.needs and not self.needs.intersection(...), so an empty self.needs set causes the guard to be skipped and the function to return True for any identity. Lemur's AuthorityCreatorPermission and StrictRolePermission constructed the parent with zero Needs whenever ADMIN_ONLY_AUTHORITY_CREATION and LEMUR_STRICT_ROLE_ENFORCEMENT were unset (both defaulted to False). The affected views inherit from AuthenticatedResource, whose method_decorators = [login_required] enforce authentication only, so the empty-Need permission was the sole authorization layer protecting POST /api/1/authorities, /api/1/certificates/upload, /api/1/pending_certificates/<id>/upload, /api/1/notifications (POST/PUT/DELETE), and POST /api/1/domains.

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 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.3 HIGH

Network-reachable API with any authenticated low-privilege role gives AV:N/AC:L/PR:L/UI:N; impact is dominated by integrity (PKI control) and confidentiality (CA keys/SSRF), with only limited availability effect (A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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
High
Integrity
High
Availability
High

DescriptionCVE.org

Summary

StrictRolePermission and AuthorityCreatorPermission in lemur/auth/permissions.py call flask_principal.Permission.__init__() with zero Needs when their config flags are unset. Both flags defaulted to False in code prior to the fix, so this was the state of any Lemur install that hadn't explicitly opted in.

Flask-Principal's Permission.allows() returns True whenever self.needs is empty. The .can() gate therefore passes for every authenticated identity, including the lowest-privilege role Lemur ships (read-only).

A user holding only read-only can create root Certificate Authorities, create and edit notifications (an SSRF sink), create domain entries, and upload arbitrary certificates. These classes are the sole authorization check on those endpoints.

Root Cause

python
# lemur/auth/permissions.py
class AuthorityCreatorPermission(Permission):
    def __init__(self):
        requires_admin = current_app.config.get("ADMIN_ONLY_AUTHORITY_CREATION", False)
        if requires_admin:
            super().__init__(RoleNeed("admin"))
        else:
            super().__init__()
# empty Need set

class StrictRolePermission(Permission):
    def __init__(self):
        strict_role_enforcement = current_app.config.get("LEMUR_STRICT_ROLE_ENFORCEMENT", False)
        if strict_role_enforcement:
            needs = [RoleNeed("admin"), RoleNeed("operator")]
            super().__init__(*needs)
        else:
            super().__init__()
# empty Need set

flask_principal.Permission.allows() (upstream, v0.4.0):

python
def allows(self, identity):
    if self.needs and not self.needs.intersection(identity.provides):
        return False
    ...
    return True

When self.needs == set(), the first guard is falsy and is skipped. excludes is also empty, so allows() returns True for any identity. AuthenticatedResource (the parent class for these views) sets method_decorators = [login_required], which checks authentication only, no role. So the permission .can() is the only authorization layer in front of these endpoints.

Affected Endpoints

Views whose only authorization check is StrictRolePermission().can() or AuthorityCreatorPermission().can():

MethodPathSource
POST/api/1/authoritieslemur/authorities/views.py:231
POST/api/1/certificates/uploadlemur/certificates/views.py:651
POST/api/1/pending_certificates/\<id>/uploadlemur/pending_certificates/views.py:545
POST/api/1/notificationslemur/notifications/views.py:227
PUT/DEL/api/1/notifications/\<id>lemur/notifications/views.py:370,384
POST/api/1/domainslemur/domains/views.py:131

POST /api/1/authorities is gated by AuthorityCreatorPermission().can() and StrictRolePermission().can(); both have empty Needs by default. The other rows are gated by StrictRolePermission().can() alone.

Note on scope: PUT /api/1/authorities/<id> also references StrictRolePermission, but its gate is AuthorityPermission(...).can() and StrictRolePermission().can(). AuthorityPermission is constructed with non-empty Needs (RoleNeed("admin") plus authority-scoped needs), so that endpoint is not bypassable by a read-only user and is excluded from this report.

Impact

A user holding only the read-only role can:

  1. Create root Certificate Authorities. CA cert and private key are persisted in Lemur's DB with the attacker as owner. Any internal trust store that pins Lemur-managed roots can now be signed against by the attacker.
  2. Upload arbitrary certificates via /certificates/upload, including attacker-supplied keys with destinations such as AWS push.
  3. Create or modify notifications, which reach an SSRF sink (see related finding F3, Slack notification webhook).
  4. Mark arbitrary domains as sensitive, manipulating Lemur's domain registry and the cert-issuance approval path.

Combined with any low-privilege credential leak (phished employee, leaked SSO token) or insider access, this is a pivot from "any authenticated identity" to control of the PKI issuance plane.

Remediation

The config flag defaults for ADMIN_ONLY_AUTHORITY_CREATION and LEMUR_STRICT_ROLE_ENFORCEMENT were changed from False to True. Restrictive role enforcement is now active on all default installs without requiring explicit configuration.

python
class AuthorityCreatorPermission(Permission):
    def __init__(self):
        requires_admin = current_app.config.get("ADMIN_ONLY_AUTHORITY_CREATION", True)
        ...

class StrictRolePermission(Permission):
    def __init__(self):
        strict_role_enforcement = current_app.config.get("LEMUR_STRICT_ROLE_ENFORCEMENT", True)
        ...

Note: The opt-out branches (empty Needs) remain in the code. Operators who explicitly set ADMIN_ONLY_AUTHORITY_CREATION = False or LEMUR_STRICT_ROLE_ENFORCEMENT = False in their config will reintroduce the bypass. These flags should be left unset or set to True.

Executive ViewAI

Why It Matters

Netflix Lemur versions 1.9.0 and earlier contain a privilege escalation vulnerability that allows any authenticated user-including those with read-only roles-to perform administrative actions on certificate authorities and certificate issuance. Organizations relying on Lemur for PKI lifecycle management face direct compromise of their certificate infrastructure; a low-privilege employee could escalate to issue unauthorized certificates or modify CA configurations without administrative oversight or audit trail detection.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to Lemur to whitelisted administrative systems via firewall rules; (2) enforce multi-factor authentication on all Lemur accounts; (3) disable automated certificate approval-require manual administrative sign-off for all CA creation and certificate issuance operations; (4) implement real-time audit logging to SIEM with alerting on certificate operations; (5) conduct forensic audit of issuance history spanning the past 180 days to identify unauthorized certificates already in circulation.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche open-source PKI/certificate-management tool, limited enterprise footprint
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Very High

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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