Information disclosure in Apache Commons Vfs
CVE-2025-30474
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.
Vulnerability class: Information Disclosure
EPSS: 0.008 (52.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L.
Affected products
Weakness classification (CWE)
References
- security@apache.org (related, Patch, Issue Tracking)
- security@apache.org (vendor-advisory, Mailing List, Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-30474?
- CVE-2025-30474 is a medium-severity vulnerability in Apache Commons Vfs, classified under Information Disclosure. CVSS score: 5.0/10. Published 2025-03-23.
- How severe is CVE-2025-30474?
- Medium severity. CVSS v3 base score is 5.0 out of 10.