---
id: CVE-2022-1227
aliases:
  - GHSA-66vw-v2x9-hw75
  - GO-2022-0558
title: Podman publishes a malicious image to public registries
summary: Podman publishes a malicious image to public registries
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: containers
product: github.com/containers/podman/v3
ecosystem: go
affected:
  - github.com/containers/podman/v3 < 3.4
  - github.com/containers/psgo < 1.7.2
patched:
  - github.com/containers/podman/v3 3.4
  - github.com/containers/psgo 1.7.2
published: '2022-04-30'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:28.603872908Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-66vw-v2x9-hw75'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-1227'
  - url: 'https://github.com/containers/podman/issues/10941'
  - url: 'https://github.com/containers/podman/pull/13862'
  - url: >-
      https://github.com/containers/podman/pull/13862/commits/79a3e149c10f74db4cebff624287385c90179d09
  - url: 'https://github.com/containers/psgo/pull/92'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2070368'
  - url: 'https://github.com/containers/podman'
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ
  - url: 'https://pkg.go.dev/vuln/GO-2022-0558'
  - url: 'https://security.netapp.com/advisory/ntap-20240628-0001'
tags:
  - osv
  - go
  - exploit-available
epss: 0.04205
epssPercentile: 0.90583
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/LouisLiuNova/CVE-2022-1227_Exploit'
  checkedAt: '2026-09-25T08:20:40.223Z'
exploitAvailable: true
ingestedAt: '2026-09-12T03:13:01.757Z'
---

## Overview

Podman is a tool for managing OCI containers and pods. A privilege escalation flaw was found in Podman. This flaw allows an attacker to publish a malicious image to a public registry. Once this image is downloaded by a potential victim, the vulnerability is triggered after a user runs the 'podman top' command. This action gives the attacker access to the host filesystem, leading to information disclosure or denial of service.

## Affected packages

- `github.com/containers/podman/v3 < 3.4`
- `github.com/containers/psgo < 1.7.2`

## Remediation

Upgrade to a patched release:

- `github.com/containers/podman/v3 3.4`
- `github.com/containers/psgo 1.7.2`
