CVE-2026-19730: Github.com/containers/podman/v5 Podman Quadlet Install --replace Does Vulnerability

MODERATE
Advisory Identifier: GHSA-fx76-2j3w-2mx6
CVSS 4.2
CWE-20 CWE-459
Published
Advisory Summary

CVE-2026-19730 is a MODERATE (CVSS 4.2) podman quadlet install --replace does vulnerability (CWE-20: Improper Input Validation) affecting Github.com/containers/podman/v5 libraries in the Go ecosystem. The issue involves podman quadlet install --replace does not fully replace the old file. Remediation is available by upgrading affected packages to version 5.8.6.

CVE-2026-19730 at a Glance

CVE Identifier CVE-2026-19730
GHSA Identifier GHSA-fx76-2j3w-2mx6
Severity MODERATE
CVSS v3.1 Base Score 4.2
CWE Classification CWE-20: Improper Input Validation
Affected Product Github.com/containers/podman/v5
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-19730

To remediate this vulnerability, upgrade all affected Github.com/containers/podman/v5 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/containers/podman/v5 fixed: 5.8.6
Upgrade github.com/containers/podman/v5 to 5.8.6
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/containers/podman/v5

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-19730, inspect your project dependencies for Github.com/containers/podman/v5:

inspect dependencies for github.com/containers/podman/v5

Analyze the terminal output to locate any version of Github.com/containers/podman/v5 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.8.6), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/containers/podman/v5, 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

### 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.

CVE-2026-19730 Affected Github.com/containers/podman/v5 Versions

1 component(s)
Fixed Versions:
5.8.6
Product / Package Ecosystem Affected Versions Fixed Version
github.com/containers/podman/v5
Go
≥ 5.7.0
< 5.8.6
5.8.6

References

GitHub Advisory / Wiki ADVISORY
https://github.com/podman-container-tools/podman/security/advisories/GHSA-fx76-2j3w-2mx6
NVD — CVE-2026-19730 NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-19730
Github.com/containers/podman/v5 Source Repository REPOSITORY
https://github.com/podman-container-tools/podman/issues/29013
Github.com/containers/podman/v5 Source Repository REPOSITORY
https://github.com/podman-container-tools/podman/pull/27980
Security Fix Commit FIX COMMIT
https://github.com/podman-container-tools/podman/commit/0ea4eaee70b7458bcc99d875529761faf5172651
Security Fix Commit FIX COMMIT
https://github.com/podman-container-tools/podman/commit/a38a9b7d20915c55e6f3c451101ae72d6da33742
Security Fix Commit FIX COMMIT
https://github.com/podman-container-tools/podman/commit/d3adfdeec7d5c9eee5a6978df3bee62a866c958d
Security Fix Commit FIX COMMIT
https://github.com/podman-container-tools/podman/commit/d4fe9154ec6e32a02d5fcd096c4a27c38f2040f4
access.redhat.com/errata/rhsa-2026:69... WEB
https://access.redhat.com/errata/RHSA-2026:69961
access.redhat.com/errata/rhsa-2026:70... WEB
https://access.redhat.com/errata/RHSA-2026:70201
Github.com/containers/podman/v5 Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2026-19730
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2508234
Github.com/containers/podman/v5 Source Repository REPOSITORY
https://github.com/podman-container-tools/podman
Github.com/containers/podman/v5 Release RELEASE
https://github.com/podman-container-tools/podman/releases/tag/v5.8.6
Github.com/containers/podman/v5 Release RELEASE
https://github.com/podman-container-tools/podman/releases/tag/v6.0.0

Frequently Asked Questions

What is CVE-2026-19730?
CVE-2026-19730 is a security vulnerability in Github.com/containers/podman/v5 involving podman quadlet install --replace does not fully replace the old file under CWE-20: Improper Input Validation.
Which Github.com/containers/podman/v5 versions are affected?
Affected versions include releases prior to 5.8.6 across affected packages: github.com/containers/podman/v5.
What version fixes CVE-2026-19730?
Upgrading to 5.8.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/containers/podman/v5 affected?
Yes, github.com/containers/podman/v5 is affected in releases prior to 5.8.6. Upgrade your dependency to 5.8.6 or later.
What is the CVSS score of CVE-2026-19730?
CVE-2026-19730 has a CVSS v3.1 base score of 4.2 (MODERATE) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-19730?
CVE-2026-19730 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Go dependencies for CVE-2026-19730?
Run the dependency tree command: 'inspect dependencies for github.com/containers/podman/v5'. 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-fx76-2j3w-2mx6",
  "modified" : "2026-09-24T16:28:26Z",
  "published" : "2026-09-24T16:28:26Z",
  "aliases" : [ "CVE-2026-19730" ],
  "summary" : "podman quadlet install --replace does not fully replace the old file",
  "details" : "### Impact\n\nWhen 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.\n\nFirst introduced in commit 0ea4eaee70b7458bcc99d875529761faf5172651 with podman 5.7.0\n\n\n### Patches\na38a9b7d20915c55e6f3c451101ae72d6da33742 (fixed in 6.0.0)\n\nd3adfdeec7d5c9eee5a6978df3bee62a866c958d d4fe9154ec6e32a02d5fcd096c4a27c38f2040f4 (for v5.8 branch, fixed in 5.8.6)\n\n### Workarounds\nManually copy the quadlet files to the quadlet directory.\n\n\n### Credits\n\nPodman thanks Christopher Lusk <clusk@northecho.dev> (North Echo Security Research) for reporting the security impact of this problem.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/containers/podman/v5"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.7.0"
      }, {
        "fixed" : "5.8.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/security/advisories/GHSA-fx76-2j3w-2mx6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-19730"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/issues/29013"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/pull/27980"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/commit/0ea4eaee70b7458bcc99d875529761faf5172651"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/commit/a38a9b7d20915c55e6f3c451101ae72d6da33742"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/commit/d3adfdeec7d5c9eee5a6978df3bee62a866c958d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/commit/d4fe9154ec6e32a02d5fcd096c4a27c38f2040f4"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:69961"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:70201"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-19730"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2508234"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/podman-container-tools/podman"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/releases/tag/v5.8.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/podman-container-tools/podman/releases/tag/v6.0.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-459" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-24T16:28:26Z",
    "nvd_published_at" : "2026-08-13T18:17:25Z"
  }
}