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

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.

Published: 2025-03-23 Last update: 2025-07-14 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-30474 is rated Low Risk (30/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.11%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-30474

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-01 0.16% 0.11% -0.05%
2 2025-10-17 0.06% 0.16% +0.10%
3 2025-04-24 0.06%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-30474

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.6 3.4 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2025-30474

GitHub Security Advisory for CVE-2025-30474

GHSA-3936-3gx6-49c4 · Severity: medium · Ecosystem: maven — Apache Commons VFS Exposure of Sensitive Information to an Unauthorized Actor

OS Trackers for CVE-2025-30474

vendor priority summary link
debian not yet assigned CVE-2025-30474 not yet assigned priority: Debian including 1 source packages (commons-vfs), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-30474
suse high https://www.suse.com/security/cve/CVE-2025-30474/
ubuntu medium CVE-2025-30474 medium priority: Ubuntu including 1 source packages (commons-vfs), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): needs-triage 7, ignored 2. https://ubuntu.com/security/CVE-2025-30474

Affected software / configurations for CVE-2025-30474

Vendor Product Version Raw CPE
apache commons_vfs < 2.10.0 cpe:2.3:a:apache:commons_vfs:*:*:*:*:*:*:*:*

References for CVE-2025-30474

cvelogic Threat Intelligence