Description
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.
Published: 2026-07-30
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in ansible‑collection‑redhat‑leapp. When a remediation task runs with elevated privileges and the leapp_old_postgresql_data option is selected, the module creates a PostgreSQL data backup archive. The archive and the directory it resides in are left with permissions that allow any local non‑root user to read them. This exposes sensitive PostgreSQL data and results in a confidentiality breach, as attackers can recover the backup in full. The weakness is identified as CWE‑732: Incorrect Permission Assignment for Critical Resource.

Affected Systems

Affected systems are Red Hat Enterprise Linux 9 and Red Hat Enterprise Linux 10 managed through the ansible‑collection‑redhat‑leapp role. The flaw is triggered only when the leapp_old_postgresql_data option is used during a remediation task that executes with elevated privileges.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score is < 1%, indicating very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is local; a non‑root user on a managed node can read the archive after the task completes unless corrective permissions are applied. Inference: exploitation requires local access to the node or the ability to run the offending Ansible task.

Generated by OpenCVE AI on August 4, 2026 at 11:37 UTC.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Configure ansible playbooks or manually set the backup directory (e.g., /var/backups/leapp) to be owned by root with 0700 permissions, and ensure the backup archive itself is 0600.
  • If the task must be used as‑is, restrict local‑user access on the affected systems and delete or re‑permission the generated backup archive immediately after it is created.
  • Always warn or review for potential reloads and restarts to avoid unintended exposure of the backup.

Generated by OpenCVE AI on August 4, 2026 at 11:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat ansible Collection
Vendors & Products Redhat ansible Collection

Fri, 31 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 30 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Ansible-collection-redhat-leapp: ansible-collection-redhat-leapp: information disclosure of postgresql data via insecure backup permissions
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-732
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Redhat Ansible Collection Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-31T19:21:38.256Z

Reserved: 2026-07-30T20:29:28.829Z

Link: CVE-2026-68563

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-30T22:16:56.353

Modified: 2026-08-03T16:39:02.593

Link: CVE-2026-68563

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-30T20:46:20Z

Links: CVE-2026-68563 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T10:22:23Z

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource