REDHAT-BUG-2491886: Medium severity Pen Drive vulnerability

Published Jun 23, 2026
·
Updated

A flaw was found in the Pen Drive tool's HTML report generation. When Pen Drive runs a full-run against an OpenShift cluster or a must-gather archive, it generates an HTML report containing cluster data. Cluster-sourced fields — including the ClusterVersion spec.channel, CatalogSource metadata, and Subscription configuration — are rendered directly into the HTML output without escaping or sanitization. An attacker with cluster administrator privileges (or the ability to modify a must-gather archive) can inject arbitrary HTML and JavaScript into cluster objects using commands such as: oc patch clusterversion version --type merge -p '{"spec":{"channel":"stable-4.18<img src=x onerror=alert(1)>"}}'. When Pen Drive generates a report from this cluster data and another user (such as a support engineer or cluster administrator) opens the report in their browser, the injected JavaScript executes in their browser context. This can lead to session token theft, credential exfiltration, or manipulation of displayed content. The vulnerability was found during an internal pentest of Pen Drive version 0.1.3 and is reportedly fixed in version 1.0.0-2.

Affected Software

2 affected components
Pen Drive>=0.1.3<1.0.0-2
Openshift OpenShift cluster data (HTML report output)

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Pen Drive tool to a version that resolves this vulnerability.

    Fixed in 1.0.0-2
  2. Compensating control

    When generating or viewing Pen Drive HTML reports, treat cluster data sources as untrusted: do not open reports created from clusters (or must-gather archives) that may be modified by an attacker with cluster-admin privileges, and restrict access to the generated HTML report to trusted users only.

Event History

Jun 23, 2026
Data Sourced
via Red Hat·06:33 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2491886?

The severity of REDHAT-BUG-2491886 is classified as medium with a score of 4.

2

What is the main issue described in REDHAT-BUG-2491886?

REDHAT-BUG-2491886 describes a flaw in the Pen Drive tool's HTML report generation that exposes sensitive cluster data.

3

How do I fix REDHAT-BUG-2491886?

To fix REDHAT-BUG-2491886, update Pen Drive to the latest version that addresses this vulnerability.

4

What software is affected by REDHAT-BUG-2491886?

The software affected by REDHAT-BUG-2491886 includes Pen Drive and the OpenShift cluster.

5

What are the security implications of REDHAT-BUG-2491886?

The security implications of REDHAT-BUG-2491886 involve potential exposure of sensitive cluster-sourced fields in the generated HTML reports.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203