podman quadlet install --replace does not fully replace the old file
### 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 Christophe
GO-2026-6588
Revision 1
podman quadlet install --replace does not fully replace the old file in github.com/containers/podman
podman quadlet install --replace does not fully replace the old file in github.com/containers/podman
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GO-2026-6588
github.com/containers/podman
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/containers/podman/v2
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/containers/podman/v3
Source reference: /affected/2/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/containers/podman/v4
Source reference: /affected/3/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/containers/podman/v5
Source reference: /affected/4/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 5.8.6
Source reference:
/affected/4/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "github.com/containers/podman",
"purl": "pkg:golang/github.com/containers/podman",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-6588.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "github.com/containers/podman/v2",
"purl": "pkg:golang/github.com/containers/podman/v2",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-6588.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "github.com/containers/podman/v3",
"purl": "pkg:golang/github.com/containers/podman/v3",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-6588.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "github.com/containers/podman/v4",
"purl": "pkg:golang/github.com/containers/podman/v4",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-6588.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.7.0"
},
{
"fixed": "5.8.6"
}
]
}
],
"package": {
"name": "github.com/containers/podman/v5",
"purl": "pkg:golang/github.com/containers/podman/v5",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-6588.json"
},
"ecosystem_specific": {}
}
]- Related CVEs
- CVE-2026-19730
Source reference:
/aliases
Publisher severity
No explicit severity was provided.
- Event
- #63851 · Revision 1
- Added to Heist Feed
- Publisher date
GHSA-fx76-2j3w-2mx6
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-fx76-2j3w-2mx6
github.com/containers/podman/v5
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 5.8.6
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.7.0"
},
{
"fixed": "5.8.6"
}
]
}
],
"package": {
"name": "github.com/containers/podman/v5",
"purl": "pkg:golang/github.com/containers/podman/v5",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-fx76-2j3w-2mx6/GHSA-fx76-2j3w-2mx6.json"
}
}
]- Related CVEs
- CVE-2026-19730
Source reference:
/aliases
Publisher severity
No explicit severity was provided.
- Event
- #63951 · Revision 1
- Added to Heist Feed
- Publisher date