Bug 2443003 (CVE-2026-28296) - CVE-2026-28296 gvfs: FTP GVfs backend: Arbitrary FTP command injection via CRLF sequences in file paths
Summary: CVE-2026-28296 gvfs: FTP GVfs backend: Arbitrary FTP command injection via CR...
Keywords:
Status: NEW
Alias: CVE-2026-28296
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-26 13:40 UTC by OSIDB Bzimport
Modified: 2026-02-26 14:03 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.