Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Local low-privilege access required to read archive; no integrity or availability impact; full database backup yields high confidentiality loss.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Insecure file permissions in ansible-collection-redhat-leapp expose PostgreSQL backup archives to local non-root users on managed RHEL 9 and RHEL 10 nodes. When the leapp_old_postgresql_data remediation option is invoked with elevated privileges, the resulting backup archive is written with world-readable or group-readable permissions (CWE-732), allowing any local non-root user on that managed node to extract the full contents of the archived PostgreSQL data. No public exploit has been identified at time of analysis, and exploitation requires local authenticated access to the managed node.
Technical ContextAI
ansible-collection-redhat-leapp is a Red Hat-maintained Ansible collection that automates in-place OS upgrade remediation tasks on RHEL systems (CPE: cpe:2.3:a:red_hat:red_hat_enterprise_linux_9 and cpe:2.3:a:red_hat:red_hat_enterprise_linux_10). The vulnerability is rooted in CWE-732 (Incorrect Permission Assignment for Critical Resource): the Ansible remediation role creates a PostgreSQL data backup archive without applying restrictive file permissions (e.g., 0600 or 0640), meaning the archive is accessible beyond the intended privileged owner. PostgreSQL data directories routinely contain authentication credentials, application data, and configuration secrets, making this a high-confidentiality-impact disclosure even though the attack vector is local. The flaw is triggered specifically by the leapp_old_postgresql_data option within the remediation playbook.
RemediationAI
The primary remediation is to apply any patch or updated version of ansible-collection-redhat-leapp released by Red Hat in response to this CVE; no exact patched version number was confirmed in the available intelligence, so consult https://access.redhat.com/security/cve/CVE-2026-68563 for the vendor-released fix version. As an immediate workaround, administrators should avoid using the leapp_old_postgresql_data option unless strictly necessary, thereby preventing creation of the insecurely-permissioned archive entirely. If the backup is required, a post-task remediation step can explicitly restrict archive permissions using chmod 600 on the resulting archive file immediately after creation, though this window of exposure between creation and permission change must be accounted for. Additionally, restricting local shell access on managed nodes to only trusted accounts limits the practical exploitability of the flaw without requiring application changes.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
Same technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51315
GHSA-5qhg-ffgw-hh79