CVE-2025-30474

published 23 Mar 2025 · updated 1 Apr 2025

Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message

5.0MediumCVSS 5.0EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.10.0.

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS. The FtpFileObject class can throw an exception when a file is not found, revealing the original URI in its message, which may include a password. The fix is to mask the password in the exception message This issue affects Apache Commons VFS: before 2.10.0. Users are recommended to upgrade to version 2.10.0, which fixes the issue.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation<2.10.02.10.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-30474 severity on Zeptric[![CVE-2025-30474](https://zeptric.io/badge/cve/CVE-2025-30474.svg)](https://zeptric.io/cve/CVE-2025-30474)