Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Commons VFS | before 2.10.0 | 2.10.0 | Patch available | CNA |
| — | org.apache.commons:commons-vfs2 (Maven) | before 2.10.0 | 2.10.0 | Patch available | GHSA-3936-3gx6-49c4 |
- Apache Commons VFS VendorApache Affected before 2.10.0 Fixed in 2.10.0 Patch available CNA
- org.apache.commons:commons-vfs2 (Maven) Vendor— Affected before 2.10.0 Fixed in 2.10.0 Patch available GHSA-3936-3gx6-49c4
Remediation
- Fix · CNA Apache Commons VFS (Apache Software Foundation) Fixed in 2.10.0
- Fix · GHSA-3936-3gx6-49c4 org.apache.commons:commons-vfs2 (Maven) Fixed in 2.10.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Commons VFS 2.10.0
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2025-20373 Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENTPriority MEDIUM 42
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-30474
- 2026-10-03 Alias added: GHSA-3936-3gx6-49c4
References
More Apache Commons Vfs vulnerabilities
- TI-2025-20373 Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT CVSS 3.1HIGH 7.5
Sources
- CVE-2025-30474 · CVE Program
- CVE-2025-30474 · NVD
- FIRST EPSS
- GHSA-3936-3gx6-49c4 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-30474 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences