REDHAT-BUG-2501801: Medium severity Helm helm vulnerability

Published Jul 17, 2026
·
Updated

Helm through 4.2.3, fixed in commit ba6c9a2, contains a denial of service vulnerability in the Files.Lines template helper in pkg/engine/files.go that allows attackers to trigger an index out of range panic by including zero-length byte slices in chart files. Attackers can include empty files in Helm charts to cause deterministic render failures across template, install, upgrade, lint, and SDK Engine.Render operations.

Affected Software

1 affected component
Helm helm<=4.2.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ba6c9a2

Event History

Jul 17, 2026
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can trigger the denial of service?

An attacker who can supply or influence a Helm chart can include empty files in that chart. Rendering operations that process the affected template helper can then fail deterministically.

2

Which Helm operations are affected?

The issue can cause failures during template rendering, install, upgrade, lint, and SDK Engine.Render operations.

3

Are default Helm deployments affected?

The provided information does not identify a configuration prerequisite. Exposure depends on processing a chart containing zero-length byte slices, such as empty chart files.

4

How can I determine whether a chart is triggering this issue?

Check whether the chart contains empty files and whether rendering, installation, upgrade, linting, or SDK Engine.Render fails with an index-out-of-range panic. The failure is described as deterministic when the affected helper processes those files.

5

What can be done before updating Helm?

Avoid processing charts that contain empty files, or remove/replace empty files from charts before rendering or deployment. The issue is fixed in commit ba6c9a2.

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