CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in mate-desktop atril (CVE-2026-46529)
Atril Document Viewer is the default document reader of the MATE desktop environment for Linux. A single-click remote code execution vulnerability in versions prior to 1.26.3 and 1.28.4 allows an attacker to achieve arbitrary code execution as the user by tricking them into clicking a link inside a malicious PDF document. The PDF can be packaged as a polyglot file that is simultaneously a valid PDF and a valid ELF shared library, making the attack a single-file, single-click, configuration-independent RCE on stock atril installations. The root cause is `shell/ev-application.c:ev_spawn`, which builds a command line from attacker-controlled PDF link-destination fields without applying `g_shell_quote`. The cmdline is then handed to `g_app_info_create_from_commandline`, which shell-parses it back into argv — splitting any embedded `--gtk-module=PATH` into a separate argv element. GTK then `dlopen()`s the path during init, running any `__attribute__((constructor))` it finds. Versions 1.26.3 and 1.28.4 contain a patch for the issue. This is the same defect class as CVE-2023-51698 (CBT `--checkpoint-action` injection in `comics-document.c`, fixed in 1.6.2) but in a different code path (`shell/ev-application.c`) that the original patch did not touch.
AI Analysis
Technical Summary
CVE-2026-46529 is a command injection vulnerability in Atril Document Viewer, part of the MATE desktop environment for Linux. The flaw arises from improper neutralization of special elements in PDF link-destination fields, which can be exploited to execute arbitrary code with the privileges of the user running Atril. The vulnerability allows single-click remote code execution via malicious PDF links. Affected versions include all versions prior to 1.26.3 and versions from 1.27.0 up to but not including 1.28.4. Red Hat has released security advisories and patches to address this issue in their distributions.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected system with the privileges of the user running Atril. This can lead to compromise of the user's environment and potentially further system access depending on user privileges. The vulnerability requires user interaction (single-click) to trigger the exploit. The CVSS 4.0 base score is 8.4, indicating high severity with local attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Red Hat has issued official security advisories and updates that address this vulnerability. Users should apply the provided patches from Red Hat to remediate the issue. Specifically, updating Atril to versions 1.26.3 or later, or to versions 1.28.4 or later, will mitigate the vulnerability. Patch status is confirmed by Red Hat advisories. No additional mitigation steps are indicated beyond applying the official updates.
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in mate-desktop atril (CVE-2026-46529)
Description
Atril Document Viewer is the default document reader of the MATE desktop environment for Linux. A single-click remote code execution vulnerability in versions prior to 1.26.3 and 1.28.4 allows an attacker to achieve arbitrary code execution as the user by tricking them into clicking a link inside a malicious PDF document. The PDF can be packaged as a polyglot file that is simultaneously a valid PDF and a valid ELF shared library, making the attack a single-file, single-click, configuration-independent RCE on stock atril installations. The root cause is `shell/ev-application.c:ev_spawn`, which builds a command line from attacker-controlled PDF link-destination fields without applying `g_shell_quote`. The cmdline is then handed to `g_app_info_create_from_commandline`, which shell-parses it back into argv — splitting any embedded `--gtk-module=PATH` into a separate argv element. GTK then `dlopen()`s the path during init, running any `__attribute__((constructor))` it finds. Versions 1.26.3 and 1.28.4 contain a patch for the issue. This is the same defect class as CVE-2023-51698 (CBT `--checkpoint-action` injection in `comics-document.c`, fixed in 1.6.2) but in a different code path (`shell/ev-application.c`) that the original patch did not touch.
CVSS v4.0
Score 8.4high
Affected software
pkg:github/mate-desktop/atrilRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-46529 is a command injection vulnerability in Atril Document Viewer, part of the MATE desktop environment for Linux. The flaw arises from improper neutralization of special elements in PDF link-destination fields, which can be exploited to execute arbitrary code with the privileges of the user running Atril. The vulnerability allows single-click remote code execution via malicious PDF links. Affected versions include all versions prior to 1.26.3 and versions from 1.27.0 up to but not including 1.28.4. Red Hat has released security advisories and patches to address this issue in their distributions.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected system with the privileges of the user running Atril. This can lead to compromise of the user's environment and potentially further system access depending on user privileges. The vulnerability requires user interaction (single-click) to trigger the exploit. The CVSS 4.0 base score is 8.4, indicating high severity with local attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Red Hat has issued official security advisories and updates that address this vulnerability. Users should apply the provided patches from Red Hat to remediate the issue. Specifically, updating Atril to versions 1.26.3 or later, or to versions 1.28.4 or later, will mitigate the vulnerability. Patch status is confirmed by Red Hat advisories. No additional mitigation steps are indicated beyond applying the official updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- SUSE Product Security Team
- Advisory Id
- SUSE-SU-2026:2288-1
- Cve Count
- 1
- Additional Cves
- []
- Cvss Version
- null
Threat ID: 6a248d85e29bf47b50d68906
Added to database: 06/06/2026, 21:13:41 UTC
Last enriched: 07/29/2026, 21:06:11 UTC
Last updated: 07/31/2026, 19:33:28 UTC
Views: 191
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.