CVE-2026-28295: Gvfs: gvfs ftp backend: information disclosure via untrusted pasv responses

Published Feb 26, 2026
·
Updated

A flaw was found in the FTP GVfs backend. A malicious FTP server can exploit this vulnerability by providing an arbitrary IP address and port in its passive mode (PASV) response. The client unconditionally trusts this information and attempts to connect to the specified endpoint, allowing the malicious server to probe for open ports accessible from the client's network.

Other sources

The FTP GVfs backend in daemon/gvfsftptask.c:868-907 unconditionally trusts the IP address and port returned in PASV responses from FTP servers. When handling passive mode data transfers, the code parses the server's PASV reply and directly constructs a GInetSocketAddress without validating that the advertised IP matches the control connection or restricting private/internal addresses. The client then connects to this arbitrary endpoint via gvfsftpconnectionopendataconnection(). This allows an attacker (the malicious server) to probe the existence of open ports accessible to the client.

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:33 PM
Data Sourced
via MITRE·03:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:24 PM
DescriptionSeverityWeakness
Jun 27, 58142
Event
via FIRST·07:23 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-28295?

CVE-2026-28295 has a moderate severity level due to its potential for information disclosure.

2

How do I fix CVE-2026-28295?

To fix CVE-2026-28295, update the GVfs package to the latest version that addresses this vulnerability.

3

What does CVE-2026-28295 affect?

CVE-2026-28295 affects the FTP backend of the GVfs library.

4

How can CVE-2026-28295 be exploited?

CVE-2026-28295 can be exploited by a malicious FTP server providing untrusted PASV responses, leading to arbitrary IP address and port disclosure.

5

Is my data safe with CVE-2026-28295?

Data may not be safe with CVE-2026-28295 as it poses risks of information disclosure if exploited.

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