CVE-2026-42571: Github.com/pelicanplatform/pelican Pelican Web UI Affected By Vulnerability

CRITICAL
Advisory Identifier: GHSA-rpfr-x88x-xwcw
CWE-863
Published
Advisory Summary

CVE-2026-42571 is a CRITICAL pelican web ui affected by vulnerability (CWE-863: Incorrect Authorization) affecting Github.com/pelicanplatform/pelican libraries in the Go ecosystem. The issue involves pelican web ui affected by a privilege escalation attack. Remediation is available by upgrading affected packages to version 0.0.0-20260408120501-7f73b9c3e677.

CVE-2026-42571 at a Glance

CVE Identifier CVE-2026-42571
GHSA Identifier GHSA-rpfr-x88x-xwcw
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-863: Incorrect Authorization
Affected Product Github.com/pelicanplatform/pelican
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-42571

To remediate this vulnerability, upgrade all affected Github.com/pelicanplatform/pelican dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/pelicanplatform/pelican fixed: 0.0.0-20260408120501-7f73b9c3e677
Upgrade github.com/pelicanplatform/pelican to 0.0.0-20260408120501-7f73b9c3e677
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/pelicanplatform/pelican

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-42571, inspect your project dependencies for Github.com/pelicanplatform/pelican:

inspect dependencies for github.com/pelicanplatform/pelican

Analyze the terminal output to locate any version of Github.com/pelicanplatform/pelican in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260408120501-7f73b9c3e677), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Github.com/pelicanplatform/pelican, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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. | Service | Data exposure risk | Data tampering risk | Federation-wide impact | |---------|-------------------|---------------------|----------------------| | **Director** | Low (no data stored) | **High** — can modify configuration to point to a different Registry | **High** — can modify configuration to add GeoIP overrides to steer federation. Denial of service on the federation | | **Registry** | Low | **High** — can modify existing or create malicious namespaces that impersonate trusted paths | **High** — federation-wide namespace poisoning. Denial of service on the federation | | **Origin** | **High** — can expose protected paths via config or export object store/filesystem paths into a namespace | **High** — can potentially enable writes + change export paths | Medium — scoped to that origin's namespaces | | **Cache** | **Medium** — can expose cached protected data via config changes | Low — caches don't originate data | Low — 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.

CVE-2026-42571 Affected Github.com/pelicanplatform/pelican Versions

1 component(s)
Fixed Versions:
0.0.0-20260408120501-7f73b9c3e677
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pelicanplatform/pelican
Go
< 0.0.0-20260408120501-7f73b9c3e677
0.0.0-20260408120501-7f73b9c3e677

References

Frequently Asked Questions

What is CVE-2026-42571?
CVE-2026-42571 is a security vulnerability in Github.com/pelicanplatform/pelican involving Pelican Web UI Affected by a Privilege Escalation Attack under CWE-863: Incorrect Authorization.
Which Github.com/pelicanplatform/pelican versions are affected?
Affected versions include releases prior to 0.0.0-20260408120501-7f73b9c3e677 across affected packages: github.com/pelicanplatform/pelican.
What version fixes CVE-2026-42571?
Upgrading to 0.0.0-20260408120501-7f73b9c3e677 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/pelicanplatform/pelican affected?
Yes, github.com/pelicanplatform/pelican is affected in releases prior to 0.0.0-20260408120501-7f73b9c3e677. Upgrade your dependency to 0.0.0-20260408120501-7f73b9c3e677 or later.
What CWE is associated with CVE-2026-42571?
CVE-2026-42571 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for CVE-2026-42571?
Run the dependency tree command: 'inspect dependencies for github.com/pelicanplatform/pelican'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rpfr-x88x-xwcw",
  "modified" : "2026-05-13T13:42:30Z",
  "published" : "2026-05-04T21:24:50Z",
  "aliases" : [ "CVE-2026-42571" ],
  "summary" : "Pelican Web UI Affected by a Privilege Escalation Attack",
  "details" : "## Background\n\nOn 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:\n\n- **Server.UIAdminUsers**: Affected if any of the listed admin users or the default admin account have not previously logged in to the server.\n- **Server.AdminGroups**: Affected if `Issuer.GroupSource` is set to `internal` and an admin of the group has not previously logged in to the server.\n\nThe 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.\n\n**Pelican Command Line has not currently identified any evidence this attack has been exploited in the services managed by OSDF operators.**\n\n## Severity and Impact\n\nWhen 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.\n\n| Service | Data exposure risk | Data tampering risk | Federation-wide impact |\n|---------|-------------------|---------------------|----------------------|\n| **Director** | Low (no data stored) | **High** — can modify configuration to point to a different Registry | **High** — can modify configuration to add GeoIP overrides to steer federation. Denial of service on the federation |\n| **Registry** | Low | **High** — can modify existing or create malicious namespaces that impersonate trusted paths | **High** — federation-wide namespace poisoning. Denial of service on the federation |\n| **Origin** | **High** — can expose protected paths via config or export object store/filesystem paths into a namespace | **High** — can potentially enable writes + change export paths | Medium — scoped to that origin's namespaces |\n| **Cache** | **Medium** — can expose cached protected data via config changes | Low — caches don't originate data | Low — scoped to that cache |\n\n## Attack Preconditions\n\nBoth attacks share the same prerequisites:\n1. The server's OIDC logins must be enabled.\n2. The attacker must have some form of authenticated session on the server, typically from an OIDC login.\n3. 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.\n\n## Immediate Mitigation Steps\n\n### 1. Audit the consuming service's database\n\nBefore 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.**\n\nPelican Command Line is providing a script `mitigate-user-escalation.sh` that:\n\n- 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.\n- Creates database records mitigating the attack vector.\n- 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.\n- Provides additional guidance about rotating secrets on the server.\n\nThis script is available as a github gist: https://gist.github.com/jhiemstrawisc/8c4b2b3ec5cb2ca06537d9439dc16cc9\n\nTo run the script:\n```bash\n# Run as the same user that runs the Pelican server (e.g., pelican):\n$ sudo bash mitigate-user-escalation.sh\n\n# If using a non-standard config file:\n$ sudo bash mitigate-user-escalation.sh --config /path/to/pelican.yaml\n\n# If the database is in a non-standard location:\n$ sudo bash mitigate-user-escalation.sh --db-path /path/to/pelican.sqlite\n```\n\n### 2. Upgrade to a patched version\n\nAdministrators for Pelican servers running an affected version should upgrade to a patched release. Within each minor release series, these versions include:\n- `>=v7.21.5`\n- `>=v7.22.3`\n- `>=v7.23.3`\n- `>=v7.24.2`\n\nAdministrators 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.\n\n### 3. Disable vulnerable configuration if not upgrading immediately\n\nIf 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`:\n\n```yaml\nServer:\n  # Comment or remove these lines:\n  # UIAdminUsers:\n  #   - user1\n  #   - user2\n  # AdminGroups:\n  #   - admin-group\n```\n\n> **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.\n\nIf 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.\n\n## Long-Term Fixes\n\nIn 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:\n- Reviewing all code in the vicinity of these vulnerabilities for other attack vectors.\n- Changing internal frameworks so security implications of new APIs are more visible to code reviewers.\n- Automating security scanning using coding agents like the one that discovered this class of vulnerabilities.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pelicanplatform/pelican"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260408120501-7f73b9c3e677"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/PelicanPlatform/pelican/security/advisories/GHSA-rpfr-x88x-xwcw"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42571"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/PelicanPlatform/pelican/commit/7f73b9c3e677a0ae4a0ec465c5d98bb8bd948854"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/PelicanPlatform/pelican"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-04T21:24:50Z",
    "nvd_published_at" : "2026-05-09T20:16:29Z"
  }
}