GHSA-fx76-2j3w-2mx6: Input Validation

Published Sep 24, 2026
·
Updated

Impact

When running podman quadlet install --replace to replace a Quadlet file, if the original Quadlet is larger than the new Quadlet, the file would not be truncated and content from the original would be preserved. There is no risk of information leakage as the user already had access to the Quadlet in order to replace it, and in most cases, this would only lead to invalid Quadlet files (see https://github.com/podman-container-tools/podman/issues/29013). However, security-related options from the end of the old Quadlet could be included in the new Quadlet, and if the truncation resulted in a valid Quadlet file, this could result in undesirable behavior. For example, running podman quadlet install --replace to remove a single line from the end of a Quadlet - including security-sensitive content, like AddCapability - will fail, and the option will continue to be used. Further, with Volume Quadlets, this can include additional mounts which can cause content to be unintentionally exposed into containers. If, later, the image is updated then compromised content might be leaked to an attacker.

First introduced in commit 0ea4eaee70b7458bcc99d875529761faf5172651 with podman 5.7.0

Patches a38a9b7d20915c55e6f3c451101ae72d6da33742 (fixed in 6.0.0)

d3adfdeec7d5c9eee5a6978df3bee62a866c958d d4fe9154ec6e32a02d5fcd096c4a27c38f2040f4 (for v5.8 branch, fixed in 5.8.6)

Workarounds Manually copy the quadlet files to the quadlet directory.

Credits

Podman thanks Christopher Lusk <clusk@northecho.dev> (North Echo Security Research) for reporting the security impact of this problem.

Affected Software

1 affected componentFixes available
go/github.com/containers/podman/v5>=5.7.0<5.8.6
5.8.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/containers/podman/v5 to a version that resolves this vulnerability.

    Fixed in 5.8.6
  2. Upgrade

    Upgrade podman to a version that resolves this vulnerability.

    Fixed in 6.0.0Patch a38a9b7d20915c55e6f3c451101ae72d6da33742
  3. Upgrade

    Upgrade podman to a version that resolves this vulnerability.

    Fixed in 5.8.6Patch d3adfdeec7d5c9eee5a6978df3bee62a866c958d
  4. Operational

    Manually copy the Quadlet files to the Quadlet directory instead of using `podman quadlet install --replace`.

Event History

Sep 24, 2026
Advisory Published
via GitHub·04:28 PM
Data Sourced
via GitHub·04:28 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Users who run "podman quadlet install --replace" are exposed when replacing an existing Quadlet with a smaller file. Exploitation requires local access, low privileges, and user interaction according to the supplied severity vector.

2

What must happen for the old configuration to remain active?

The replacement Quadlet must be shorter than the original, leaving old trailing content behind. This is particularly significant when the removed content was at the end of the file, such as an AddCapability option or Volume Quadlet mounts.

3

How can I determine whether a replacement was affected?

Check the resulting installed Quadlet after using "podman quadlet install --replace", especially when the new file was smaller than the old one. Look for trailing options or mounts from the previous version that were intended to be removed.

4

What is the practical impact if the retained file remains valid?

Security-related options that were meant to be removed can continue to apply, causing unintended behavior. For Volume Quadlets, retained mounts can expose content to containers, which may later be leaked if an updated image is compromised.

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