CVE-2025-30474

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

Published Mar 23, 2025 CVSS 3.1 · 5 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-7320 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.
Github GHSA Github GHSA GHSA-3936-3gx6-49c4 Apache Commons VFS Exposure of Sensitive Information to an Unauthorized Actor
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00065}

epss

{'score': 0.00126}

Type Values Removed Values Added
First Time appeared Apache
Apache commons Vfs
CPEs cpe:2.3:a:apache:commons_vfs:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache commons Vfs
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message
Weaknesses CWE-200
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Apr 1, 2025, 6:04 PM
Reserved
Mar 22, 2025, 2:34 PM
Status
Analyzed
Published
Mar 23, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:08 AM