Skip to main content

Pelican WebUI CVE-2026-42571

CRITICAL
Incorrect Authorization (CWE-863)
2026-05-04 https://github.com/PelicanPlatform/pelican GHSA-rpfr-x88x-xwcw
9.0
CVSS 4.0 · Vendor: https://github.com/PelicanPlatform/pelican
View

Attack ChainAIDerived

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

  1. Recon
    Obtain valid OAuth credentials
  2. Delivery
    Identify configured admin username/group
  3. Exploit
    Send crafted API requests to manipulate database
  4. Install
    Create unauthorized admin privilege records
  5. C2
    Re-authenticate to WebUI
  6. Execute
    Server grants admin access
  7. Impact
    Modify server configuration or create persistent API tokens

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 five specific conditions: (1) OAuth/OIDC authentication must be enabled on the Pelican server (Server.OIDCAuthenticationUserClaim configured), (2) Attacker must possess valid OAuth credentials for ANY authenticated user account on that server (PR:L in CVSS vector), (3) Server must have Server.UIAdminUsers or Server.AdminGroups configuration variables populated, (4) For Server.UIAdminUsers attack: the attacker must know or guess the exact username of an admin listed in Server.UIAdminUsers who has never logged into the WebUI, or the default admin account must exist without prior login, (5) For Server.AdminGroups attack: Issuer.GroupSource must be set to 'internal' AND the attacker must know an admin group name where group admins have not previously logged in. The temporal window is CRITICAL: exploitation is only possible BEFORE the legitimate admin user performs their first WebUI login, after which the database contains authorized records that prevent the attack. CVSS vector AV:N/AC:L indicates network accessibility with low technical complexity once prerequisites are met, but AT:P (Attack Prerequisites Present) reflects these configuration-dependent conditions. This is NOT a default-configuration vulnerability - it requires specific OAuth setup and admin account state.

Impact

Real-world risk is HIGH for Pelican deployments meeting the specific configuration prerequisites, despite moderate deployment complexity. The CVSS 4.0 score of 9.0 reflects network-accessible (AV:N) exploitation with low complexity (AC:L) requiring only low privileges (PR:L), with high impact across confidentiality, integrity, and availability for both vulnerable and subsequent system components (VC:H/VI:H/VA:H/SC:H/SI:H/SA:H). However, attack prerequisites are present (AT:P), significantly limiting real-world exposure. CRITICAL LIMITING FACTORS: (1) Requires OAuth/OIDC authentication be enabled, (2) Requires knowledge of admin usernames/group names, (3) Only exploitable BEFORE legitimate admins first log in - a narrow temporal window in production environments. Vendor advisory explicitly states 'Pelican Command Line has not currently identified any evidence this attack has been exploited' in OSDF-managed services. No CISA KEV listing, no public PoC code identified. The federation-wide impact table in the advisory shows Director and Registry services face HIGH federation-wide denial-of-service and namespace poisoning risks, while Origin and Cache services have more localized impact. Priority assessment: HIGH urgency for internet-facing Pelican instances with OAuth enabled and untested admin accounts, MEDIUM for hardened deployments where all admins have previously authenticated, LOW for instances without OAuth or with password-only admin access. The vendor's proactive database audit script and clear patch guidance demonstrate mature incident response, reducing organizational risk for defenders who follow the three-step mitigation process.

Exploit ScenarioDerived

An authenticated researcher with valid OAuth credentials to a Pelican Origin server discovers through configuration disclosure that 'Server.UIAdminUsers' includes 'data-admin' who has never logged into the WebUI. The researcher crafts API requests to create database records associating their OAuth identity with the 'data-admin' username. On their next login, the server grants them full administrator privileges, enabling them to modify Origin.Exports configuration to expose previously protected research datasets, create persistent API tokens for continued access, and potentially modify export paths to exfiltrate data from the underlying filesystem or object store.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – May 09, 2026

Authenticated attackers can escalate privileges to administrator in Pelican Web User Interface versions 7.21 through 7.24 by manipulating database records before legitimate admin users log in. This vulnerability was discovered by a Claude coding agent on April 2, 2026, and affects servers with Server.UIAdminUsers or Server.AdminGroups configured where designated admins have not previously authenticated. No public exploit code exists, and Pelican Command Line reports no confirmed exploitation in OSDF-managed services. Vendor patches are available across all affected minor release series (>=v7.21.5, >=v7.22.3, >=v7.23.3, >=v7.24.2), with fix commit 7f73b9c3e677 addressing CWE-863 (Incorrect Authorization).

Earlier versions of this analysis (1)
v1 May 04, 2026 - 21:47

Authenticated users can escalate privileges to admin in Pelican WebUI versions 7.21-7.24 by manipulating database records before designated administrators first log in. The vulnerability was discovered by an AI coding agent (Claude) on April 2, 2026, and affects servers with OAuth-based admin configuration (Server.UIAdminUsers or Server.AdminGroups). Once exploited, attackers gain full administrative control including configuration modification, API token creation, and password changes. The vendor reports no confirmed exploitation in OSDF-managed services. Patches are available across all affected minor versions (≥7.21.5, ≥7.22.3, ≥7.23.3, ≥7.24.2), and a forensic audit script has been released to detect prior compromise.

RemediationAI

Administrators must follow a three-step process before upgrading. First, run the vendor-provided audit script (https://gist.github.com/jhiemstrawisc/8c4b2b3ec5cb2ca06537d9439dc16cc9) as the Pelican service user to inspect the SQLite database for exploitation indicators marked with [!], review all user records and group memberships for unauthorized admin privileges, audit API tokens for attacker-created persistence mechanisms, and create database records that block the attack vector - this step is MANDATORY because upgrading alone does not remove attacker-created admin privileges if exploitation already occurred. Second, upgrade to patched versions: 7.21.5 or later for 7.21.x series, 7.22.3 or later for 7.22.x series, 7.23.3 or later for 7.23.x series, or 7.24.2 or later for 7.24.x series (commit 7f73b9c3e677a0ae4a0ec465c5d98bb8bd948854). Verify current version via 'pelican --version' command or WebUI '?' icon in lower left corner. Third, if immediate upgrade is not possible, disable vulnerable configuration by commenting out or removing Server.UIAdminUsers and Server.AdminGroups entries from pelican.yaml - WARNING: this removes OIDC-based admin access entirely, requiring password-based login, so verify admin password access works before making this change. Do NOT populate these configuration variables on unpatched servers even if not currently configured. Long-term defensive measures include code review of authorization APIs, framework changes for security-visible code review, and automated security scanning using coding agents. Advisory available at https://github.com/PelicanPlatform/pelican/security/advisories/GHSA-rpfr-x88x-xwcw with patch at https://github.com/PelicanPlatform/pelican/commit/7f73b9c3e677a0ae4a0ec465c5d98bb8bd948854.

Affected Packages

go github.com/pelicanplatform/pelican fix: 0.0.0-20260408120501-7f73b9c3e677

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

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

Technical ContextAI · show details

Pelican is a data federation platform written in Go (github.com/pelicanplatform/pelican) that provides WebUI authentication via OAuth/OIDC. The vulnerability stems from CWE-863 (Incorrect Authorization) in how the WebUI handles admin privilege assignment through database records. When Server.UIAdminUsers or Server.AdminGroups configuration variables are enabled but designated admins have not yet logged in, the system fails to properly validate authorization before creating database entries that grant admin privileges. The attack exploits a race condition in the privilege initialization logic: any authenticated OAuth user can create database records that the server then trusts on subsequent logins to grant administrator access. This affects the SQLite database backend where user records and group memberships are stored, allowing persistent privilege escalation through database manipulation rather than traditional session hijacking.

Know when the next one hits your stack

  • 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/PelicanPlatform/pelican) PRIMARY 9.0 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SUSE CRITICAL

Primary rating from Vendor (https://github.com/PelicanPlatform/pelican).

CVSS VectorVendor: https://github.com/PelicanPlatform/pelican

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Analysis Updated
May 09, 2026 - 20:28 vuln.today
v2 - CVSS changed
CVSS changed
May 09, 2026 - 20:22 NVD
9.0 (CRITICAL)

DescriptionCVE.org

Background

On April 2nd, 2026, a Claude coding agent alerted Pelican PI Brian Bockelman to a privilege escalation vulnerability affecting Pelican's Web User Interface (WebUI) for various versions between v7.21 and v7.24. Upon further investigation, the Pelican team discovered this attack allows any user authenticated to the WebUI via OAuth to gain admin privileges under certain configurations. These may include servers with the following configuration variables enabled:

  • Server.UIAdminUsers: Affected if any of the listed admin users or the default admin account have not previously logged in to the server.
  • Server.AdminGroups: Affected if Issuer.GroupSource is set to internal and an admin of the group has not previously logged in to the server.

The OSDF operations team has mitigated these for core services, origins, and caches operated by the PATh project. However, mitigation may be needed for caches and origins not centrally operated.

Pelican Command Line has not currently identified any evidence this attack has been exploited in the services managed by OSDF operators.

Severity and Impact

When leveraged, an attacker with any kind of authenticated session on the server can create database records that cause the server to grant them admin privileges on subsequent login. Critically, admin access enables modifying the server's configuration, creating persistent API tokens, and changing admin passwords. The table below summarizes potential implications of this exploit.

ServiceData exposure riskData tampering riskFederation-wide impact
DirectorLow (no data stored)High - can modify configuration to point to a different RegistryHigh - can modify configuration to add GeoIP overrides to steer federation. Denial of service on the federation
RegistryLowHigh - can modify existing or create malicious namespaces that impersonate trusted pathsHigh - federation-wide namespace poisoning. Denial of service on the federation
OriginHigh - can expose protected paths via config or export object store/filesystem paths into a namespaceHigh - can potentially enable writes + change export pathsMedium - scoped to that origin's namespaces
CacheMedium - can expose cached protected data via config changesLow - caches don't originate dataLow - scoped to that cache

Attack Preconditions

Both attacks share the same prerequisites:

  1. The server's OIDC logins must be enabled.
  2. The attacker must have some form of authenticated session on the server, typically from an OIDC login.
  3. The attacker must know or guess a relevant admin identifier (a Server.UIAdminUsers username or a Server.AdminGroups group name) for an admin who has not previously logged into the WebUI.

Immediate Mitigation Steps

1. Audit the consuming service's database

Before upgrading, Pelican Command Line recommends auditing the service's database to see if it has already been exploited and to block further exploitation. Upgrading an exploited server is insufficient to prevent future unauthorized access if the exploit has already occurred.

Pelican Command Line is providing a script mitigate-user-escalation.sh that:

  • Displays all user records and group memberships for manual review, highlighting any that show fingerprints of the attack with [!] for explicit review - administrators should verify all entries, but especially those with this syntax highlighting. The highlighted changes do not guarantee an exploit occurred but that further examination is needed.
  • Creates database records mitigating the attack vector.
  • Displays all API tokens, which may have been created by an attacker for persistent access, for administrator review. Suspicious tokens should be deleted using the provided SQLite commands.
  • Provides additional guidance about rotating secrets on the server.

This script is available as a github gist: https://gist.github.com/jhiemstrawisc/8c4b2b3ec5cb2ca06537d9439dc16cc9

To run the script:

bash
# Run as the same user that runs the Pelican server (e.g., pelican):
$ sudo bash mitigate-user-escalation.sh
# If using a non-standard config file:
$ sudo bash mitigate-user-escalation.sh --config /path/to/pelican.yaml
# If the database is in a non-standard location:
$ sudo bash mitigate-user-escalation.sh --db-path /path/to/pelican.sqlite

2. Upgrade to a patched version

Administrators for Pelican servers running an affected version should upgrade to a patched release. Within each minor release series, these versions include:

  • >=v7.21.5
  • >=v7.22.3
  • >=v7.23.3
  • >=v7.24.2

Administrators can check their server's version by invoking pelican with the --version flag, or by inspecting the WebUI's ? icon displayed in the lower left corner.

3. Disable vulnerable configuration if not upgrading immediately

If administrators are unable to upgrade to a patched version, disable the vulnerable configuration by commenting or removing the relevant settings from the service's pelican.yaml:

yaml
Server:
# Comment or remove these lines:
# UIAdminUsers:
#   - user1
#   - user2
# AdminGroups:
#   - admin-group

> Note: Disabling Server.UIAdminUsers removes OIDC-based admin access entirely, leaving only password-based login for admin access. Ensure the project has a working admin password before making this change.

If a server doesn't currently configure Server.UIAdminUsers or Server.AdminGroups, *do not populate these settings until the administrator has upgraded to a patched version.* If their project doesn't currently have these configured but have in the past, they should still audit the records using the provided mitigation script.

Long-Term Fixes

In addition to closing the immediate vulnerabilities, the Pelican development team is working toward several defense-in-depth solutions to minimize the risk of similar vulnerabilities in the future. These include:

  • Reviewing all code in the vicinity of these vulnerabilities for other attack vectors.
  • Changing internal frameworks so security implications of new APIs are more visible to code reviewers.
  • Automating security scanning using coding agents like the one that discovered this class of vulnerabilities.

Executive ViewAI

Why It Matters

CVE-2026-42571 is a critical privilege escalation vulnerability in Pelican Web User Interface (versions 7.21-7.24) that allows authenticated attackers to gain administrator access by manipulating database records before legitimate admins authenticate. This directly undermines access control on servers where admin groups are configured, potentially granting unauthorized administrative control to lower-privileged users. Organizations running affected Pelican versions must patch immediately to prevent credential-based lateral movement and administrative takeover.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Until patching is complete: restrict network access to Pelican Web UI to trusted IP ranges only; disable or revoke non-essential authenticated user accounts; enable audit logging for all database modifications and administrative actions; and require multi-factor authentication for all administrator logins.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS GHSA Vendor GitHub

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
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.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:go/github.com_pelicanplatform_pelican

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

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