# CVE-2024-12088: Rsync: --safe-links option bypass leads to path traversal

Status: published. Published: 2025-01-14. Updated: 2026-11-05.

A flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.

## Remediation

- workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. (source: CNA: redhat)

## Affected products and versions

-  /  (rsync): ≥ 0; ≤ 3.3.0 (affected, semver). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 10 (rsync): ≥ 0:3.4.1-2.el10; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (rsync): ≥ 0:3.1.3-21.el8_10; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (rsync): ≥ 0:3.2.5-3.el9; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Discovery 1.14 (discovery/discovery-ui-rhel9): ≥ 1.14.2-1748467619; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (rsync): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (rsync): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift/ose-rhel-coreos-9): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 6.5 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: 4.65% as of 2026-11-04; percentile 91.75%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-22

## Exploit evidence

- exploit: https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj (ADP: CISA-ADP)

## References

- https://access.redhat.com/errata/RHBA-2025:6470 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2025:2600 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2025:7050 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2025:8385 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2024-12088 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2330676 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://kb.cert.org/vuls/id/952657 (CNA: redhat)

- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj (ADP: CISA-ADP; exploit)

- https://security.netapp.com/advisory/ntap-20250131-0002/ (ADP: CVE)

- https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html (ADP: CVE)

- https://www.kb.cert.org/vuls/id/952657 (ADP: CVE)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2024-12088; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-12088; retrieved 2026-11-05; source updated Not reported

Revision: 31a886076cc3513834ec5ad807171536409a56656afc8fc1cd758d5ce50053b3

Canonical: https://y2.dev/cve/CVE-2024-12088

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.