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

- Severity: Medium 5.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Published: 2025-03-23T14:15:51.339Z
- Modified: 2026-06-17T09:08:49.147Z
- Also known as: GHSA-3936-3gx6-49c4
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.commons:commons-vfs2: before 2.10.0
- org.apache.commons:commons-vfs2 (Maven): before 2.10.0
- apache commons_vfs: before 2.10.0

## Every score

- CISA-ADP: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://issues.apache.org/jira/browse/VFS-169> (issue-tracking, patch, related, web)
- <https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2025/03/23/2> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30474> (advisory)
- <https://github.com/apache/commons-vfs> (package)

## Sources

- CVE List: [CVE-2025-30474](https://www.cve.org/CVERecord?id=CVE-2025-30474), CVE Terms of Use, modified 2025-04-01
- GitHub Advisory Database: [GHSA-3936-3gx6-49c4](https://github.com/advisories/GHSA-3936-3gx6-49c4), CC-BY-4.0, modified 2025-03-25
- NVD: [CVE-2025-30474](https://nvd.nist.gov/vuln/detail/CVE-2025-30474), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30474 · Whole record: https://cve.day/CVE-2025-30474.json · Rebuilt by cve.day 2026-11-25T22:58:55.437Z
