Atril and Xreader: Path traversal and arbitrary file write (CVE-2023-52076)
A public exploit exists for CVE-2023-52076, a path traversal and arbitrary file write vulnerability in Atril and Xreader document viewers that enables remote code execution via malicious EPUB files.
CVE search metadata
CVE search record: CVE-2023-52076. Severity: high. CVSS: 8.5. EPSS: 1.08%. KEV: no. Product: Atril (< 1.26.2), Xreader (< 1.26.2). Brief: Atril and Xreader: Path traversal and arbitrary file write (CVE-2023-52076). Brief link: https://feed.craftedsignal.io/briefs/2026-10-cve-2023-52076-atrill-rce/
Triage facts
Revision 1- Applicability
- Atril (< 1.26.2), Xreader (< 1.26.2)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Oct 25, 03:41 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- B2Likely
CVE-2023-52076 is a critical path traversal and arbitrary file write vulnerability affecting MATE Desktop's Atril and Cinnamon's Xreader document viewers (versions < 1.26.2). The vulnerability allows an attacker to craft a malicious EPUB file using zip-slip techniques to write files outside the extraction directory. A publicly available proof-of-concept (PoC) tool demonstrates how to leverage this flaw to inject SSH keys into 'authorized_keys' or place malicious '.desktop' files in user autostart directories, resulting in remote command execution.
Attack Chain
- Attacker generates a malicious EPUB document using the CVE-2023-52076 PoC script.
- Attacker selects an exploitation mode: SSH key injection or autostart persistence.
- Attacker delivers the document to the target through social engineering or public file hosting (e.g., anonymous FTP).
- Victim opens the document using a vulnerable version of Atril or Xreader.
- The application extracts the EPUB contents; the path traversal vulnerability triggers.
- The payload writes the malicious file (SSH key or autostart entry) into the targeted path on the victim's filesystem.
- In SSH mode, the attacker uses the injected key to establish unauthorized access.
- In autostart mode, the malicious entry executes the attacker-defined command upon the victim's next login or session start.
Recommendation
- Update Atril and Xreader to version 1.26.2 or later immediately on all Linux systems.
- Audit '.config/autostart/' directories for unauthorized or suspicious '.desktop' files.
- Audit '~/.ssh/authorized_keys' files for unexpected SSH public keys.
- Deploy file integrity monitoring (FIM) or audit logging on critical user configuration directories (e.g., ~/.ssh, ~/.config/autostart).
Immediate actions
Patch Atril and Xreader to 1.26.2 on all endpoints.
Threat Hunt
Hunt for unauthorized file creation in ~/.ssh/authorized_keys or ~/.config/autostart/.
Data: File system audit logs (e.g., Linux auditd)
Mitigations
Upgrade to version 1.26.2 or later.
CVE-2023-52076