---
id: CVE-2026-68563
title: >-
  Ansible-collection-redhat-leapp: ansible-collection-redhat-leapp: information
  disclosure of postgresql data via insecure backup permissions
summary: >-
  A flaw was found in ansible-collection-redhat-leapp. When a remediation task
  is executed with elevated privileges and the `leapp_old_postgresql_data`
  option is selected, a PostgreSQL data backup archive is created with insecure
  permissio…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-732
vendor: Red Hat
product: ansible-collection-redhat-leapp
affected:
  - ansible-collection-redhat-leapp (all versions)
  - ansible-collection-redhat-leapp (all versions)
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-31T19:21:19.340767Z'
published: '2026-07-30'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T22:07:29.458Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-68563'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:91490'
    label: 'RHSA-2026:91490'
  - url: 'https://access.redhat.com/errata/RHSA-2026:91491'
    label: 'RHSA-2026:91491'
  - url: 'https://access.redhat.com/security/cve/CVE-2026-68563'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2465419'
    label: RHBZ#2465419
tags:
  - cve.org
epss: 0.00107
epssPercentile: 0.01127
ingestedAt: '2026-11-03T09:40:52.161Z'
---

## Overview

A flaw was found in ansible-collection-redhat-leapp. When a remediation task is executed with elevated privileges and the `leapp_old_postgresql_data` option is selected, a PostgreSQL data backup archive is created with insecure permissions. This allows a local non-root user on the managed node to read sensitive archived PostgreSQL data, leading to information disclosure.

## Affected

- `ansible-collection-redhat-leapp (all versions)`
- `ansible-collection-redhat-leapp (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

To mitigate this issue, ensure that the directory used for PostgreSQL data backups and the resulting archive have restrictive permissions. Administrators should configure their Ansible playbooks or manually adjust permissions to ensure the backup directory (e.g., `/var/backups/leapp`) is owned by root with `0700` permissions, and the backup archive itself has `0600` permissions. This prevents unauthorized local users from accessing sensitive PostgreSQL data. If the current task must be used as-is, restrict local-user access on affected systems and remove or re-permission the generated backup archive immediately after it is created. Always warn if there is a potential for reload and restarts.
