Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lemur
  4. ›
  5. CVE-2026-48508

CVE-2026-48508: Lemur has an authorization bypass in StrictRolePermission / AuthorityCreatorPermission

June 25, 2026

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.

References

  • github.com/Netflix/lemur/security/advisories/GHSA-qcqw-jwxc-2hqg
  • github.com/advisories/GHSA-qcqw-jwxc-2hqg
  • nvd.nist.gov/vuln/detail/CVE-2026-48508

Code Behaviors & Features

Detect and mitigate CVE-2026-48508 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.9.1

Fixed versions

  • 1.9.1

Solution

Upgrade to version 1.9.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

pypi/lemur/CVE-2026-48508.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 10 Jul 2026 12:17:27 +0000.