CVE-2025-4953: Github.com/containers/podman/v5 Podman Creates Temporary File With Vulnerability
HIGHCVE-2025-4953 is a HIGH (CVSS 7.4) podman creates temporary file with vulnerability (CWE-378: Creation of Temporary File With Insecure Permissions) affecting Github.com/containers/podman/v5 libraries in the Go ecosystem. The issue involves podman creates temporary file with insecure permissions. Remediation is available in the latest vendor maintenance releases.
CVE-2025-4953 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-4953
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.
Upgrade github.com/containers/podman/v5 to Latest secure release
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-2025-4953, 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 the patched release), 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-378: Creation of Temporary File With Insecure Permissions, where opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack. 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
CVE-2025-4953 Affected Github.com/containers/podman/v5 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/containers/podman/v5
|
Go |
≤ 5.5.0
|
|
References
Frequently Asked Questions
What is CVE-2025-4953?
Which Github.com/containers/podman/v5 versions are affected?
What version fixes CVE-2025-4953?
Is github.com/containers/podman/v5 affected?
What is the CVSS score of CVE-2025-4953?
What CWE is associated with CVE-2025-4953?
How can I check Go dependencies for CVE-2025-4953?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m68q-4hqr-mc6f",
"modified" : "2026-01-15T12:30:25Z",
"published" : "2025-09-16T15:32:37Z",
"aliases" : [ "CVE-2025-4953" ],
"summary" : "Podman Creates Temporary File with Insecure Permissions",
"details" : "A flaw was found in Podman. In a Containerfile or Podman, data written to RUN --mount=type=bind mounts during the podman build is not discarded. This issue can lead to files created within the container appearing in the temporary build context directory on the host, leaving the created files accessible.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/podman/v5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-4953"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/podman/pull/25173"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/containers/podman"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2367235"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2025-4953"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:0316"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:2703"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:23113"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:22732"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:22724"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:22695"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:22275"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:22265"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:17669"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:16729"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:16724"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:15904"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:8690"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-378" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-16T20:21:02Z",
"nvd_published_at" : "2025-09-16T15:15:45Z"
}
}