CVE-2026-28296: Gvfs: ftp gvfs backend: arbitrary ftp command injection via crlf sequences in file paths

Published Feb 26, 2026
·
Updated

A flaw was found in the FTP GVfs backend. A remote attacker could exploit this input validation vulnerability by supplying specially crafted file paths containing carriage return and line feed (CRLF) sequences. These unsanitized sequences allow the attacker to terminate intended FTP commands and inject arbitrary FTP commands, potentially leading to arbitrary code execution or other severe impacts.

Other sources

The FTP GVfs backend fails to sanitize CRLF sequences in user supplied file paths before constructing FTP protocol commands. When gvfsftpfilenewfromgvfs() creates a file object in daemon/gvfsftpfile.c:77-87, it copies the path without validation. This unsanitized path flows through gvfsftpfilegetftppath() into command format strings like "RETR %s" at daemon/gvfsbackendftp.c:883. In daemon/gvfsftptask.c:661, gstringappendvprintf() includes the malicious path directly into the command buffer, allowing embedded \r\n sequences to terminate the intended command and inject arbitrary FTP commands.

Red Hat

Affected Software

1 affected component
gvfs

Event History

Feb 26, 2026
Data Sourced
via Red Hat·01:40 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:10 PM
Data Sourced
via MITRE·03:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:24 PM
DescriptionSeverityWeakness
Jun 28, 58142
Event
via FIRST·05:06 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-28296?

CVE-2026-28296 is considered a critical severity vulnerability due to its potential for arbitrary command injection.

2

How do I fix CVE-2026-28296?

To mitigate CVE-2026-28296, ensure that your gvfs package is updated to the latest version where the vulnerability has been addressed.

3

What types of attacks can CVE-2026-28296 facilitate?

CVE-2026-28296 can facilitate remote command injection attacks through crafted file paths containing CRLF sequences.

4

Who is affected by CVE-2026-28296?

Users and systems utilizing the GVfs FTP backend are affected by CVE-2026-28296.

5

What input validation issue is present in CVE-2026-28296?

CVE-2026-28296 exposes a flaw in input validation, permitting specially crafted file paths with CRLF sequences.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203