{"answers":{"affected":"7 open source packages ship an affected version, including github.com/containers/podman/v5, github.com/containers/podman and github.com/containers/podman/v2.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-19730 exists.","fix":"Upgrade github.com/containers/podman/v5 to 5.8.6 or later.","what":"CVE-2026-19730 is a medium-severity vulnerability in Red Hat Ansible Automation Platform 2, published on 13 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-19730 and fix it if it is affected.\n\nWhat it is: CVE-2026-19730 is a medium-severity vulnerability in Red Hat Ansible Automation Platform 2, published on 13 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-19730 exists.\n\nAffected packages and fixed versions:\n- github.com/containers/podman/v5 (Go): affected from 5.7.0; fixed in 5.8.6\n- github.com/containers/podman/v5 (Go): affected from 5.7.0; fixed in 5.8.6\n- github.com/containers/podman/v5 (Go): affected from 5.7.0; fixed in 5.8.6\n- github.com/containers/podman (Go): affected all versions; no fix listed\n- github.com/containers/podman/v2 (Go): affected all versions; no fix listed\n- github.com/containers/podman/v3 (Go): affected all versions; no fix listed\n- github.com/containers/podman/v4 (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-19730/ (Markdown: https://insights.sbomify.com/CVE-2026-19730/index.md)","id":"CVE-2026-19730","markdown":"https://insights.sbomify.com/CVE-2026-19730/index.md","name":"CVE-2026-19730","record":{"aliases":["AZL-103407","BELL-CVE-2026-19730","DEBIAN-CVE-2026-19730","GHSA-fx76-2j3w-2mx6","GO-2026-6588","MINI-56gp-xjjm-29j5","MINI-6gmq-8q5w-x3rh","MINI-pmgf-qpvv-gj5g","MINI-r4wr-2jfg-648v","MINI-x2g9-g5jm-p294","UBUNTU-CVE-2026-19730"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Podman container tool","requires_auth":"low_privilege","summary":"Podman quadlet install --replace fails to truncate files, potentially retaining removed security directives or mounts, leading to unintended container exposure or privilege escalation.","user_interaction":"required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-459","name":"Incomplete Cleanup"}],"description":"The 'podman quadlet install --replace' command opens the existing destination file with O_CREATE|O_WRONLY but omits O_TRUNC. When the initial reflink copy attempt fails (common on non-reflink-capable filesystems including many RHEL default XFS configurations), the fallback in ReflinkOrCopy uses io.Copy which performs a non-truncating write. If the original Quadlet is larger than the new Quadlet, the file is not truncated and content from the original is preserved. The command completes with no warning.\n\nThere 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. 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\nThe vulnerable code paths are in pkg/domain/infra/abi/quadlet.go (lines 338-360, O_CREATE|O_WRONLY without O_TRUNC) and vendor/go.podman.io/storage/pkg/fileutils/reflink_linux.go (lines 12-19, non-truncating io.Copy fallback).","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Podman: podman: quadlet install --replace non-truncating write retains removed host-access directives","id":"CVE-2026-19730","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"misconfiguration","year":"2026"},"n_packages":7,"n_references":6,"next":{"headline":"SSRF in Yordam Informatics's Library Automation System","id":"CVE-2026-19733"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","source":"GO-2026-6588"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v2","purl":"pkg:golang/github.com/containers/podman/v2","source":"GO-2026-6588"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v3","purl":"pkg:golang/github.com/containers/podman/v3","source":"GO-2026-6588"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GO-2026-6588"},{"ecosystem":"Go","fixed":["5.8.6"],"introduced":["5.7.0"],"last_affected":[],"package":"github.com/containers/podman/v5","purl":null,"source":"GHSA-fx76-2j3w-2mx6"},{"ecosystem":"Go","fixed":["5.8.6"],"introduced":["5.7.0"],"last_affected":[],"package":"github.com/containers/podman/v5","purl":"pkg:golang/github.com/containers/podman/v5","source":"GHSA-fx76-2j3w-2mx6"},{"ecosystem":"Go","fixed":["5.8.6"],"introduced":["5.7.0"],"last_affected":[],"package":"github.com/containers/podman/v5","purl":"pkg:golang/github.com/containers/podman/v5","source":"GO-2026-6588"}],"prev":{"headline":"Keycloak-services: keycloak-services: incomplete fix for arbitrary filesystem path probing via keystore parameters","id":"CVE-2026-19729"},"products":["Red Hat Ansible Automation Platform 2","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Hardened Images","Red Hat OpenShift Container Platform 4","Red Hat OpenShift Dev Spaces","Red Hat OpenShift Virtualization 4","Red Hat Quay 3"],"published":"2026-08-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["Red Hat"]},"summary":"Podman quadlet install --replace fails to truncate files, potentially retaining removed security directives or mounts, leading to unintended container exposure or privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-19730/"}