# CVE-2025-24888: Path traversal in SecureDrop Client API.download\_reply()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.70% (percentile 78, 2026-11-26)
- **CWE:** CWE-22
- **Published:** 2025-02-13T17:32:38.766Z
- **Modified:** 2026-06-17T08:59:47.383Z

## Who should check

- Anyone running freedomofpress securedrop-client \< 0.14.1

## Description

The SecureDrop Client is a desktop application for journalists to communicate with sources and work with submissions on the SecureDrop Workstation. Prior to version 0.14.1, a malicious SecureDrop Server could obtain code execution on the SecureDrop Client virtual machine (\`sd-app\`). SecureDrop Server itself has multiple layers of built-in hardening, and is a dedicated physical machine exposed on the internet only via Tor hidden services for the Source and Journalist interfaces, and optionally via remote SSH access over another Tor hidden service. A newsroom's SecureDrop Workstation communicates only with its own dedicated SecureDrop Server.

The SecureDrop Client runs in a dedicated Qubes virtual machine, named \`sd-app\`, as part of the SecureDrop Workstation. The private OpenPGP key used to decrypt submissions and replies is stored in a separate virtual machine and never accessed directly. The vulnerability lies in the code responsible for downloading replies. The filename of the reply is obtained from the \`Content-Disposition\` HTTP header and used to write the encrypted reply on disk. Note that filenames are generated and sanitized server-side, and files are downloaded in an encrypted format, so a remote attacker who has not achieved server compromise, such as one posing as a source, could not craft the HTTP response necessary for this attack.

While the filename is later checked to guard against path traversal before being moved into the Client’s data storage directory, the file has already been written to a potentially arbitrary location. In this case, \`safe\_move()\` would detect the path traversal and fail, leaving the original downloaded file in the attacker-chosen directory. Code execution can be gained by writing an autostart file in \`/home/user/.config/autostart/\`.

Version 0.14.1 fixes the issue. As of time of publication, there is no known evidence of exploitation in the wild. This attack requires a previously compromised SecureDrop Server.

## Affected and fixed versions

- freedomofpress securedrop-client: \< 0.14.1 (cvelist)

## Mitigation

- Upgrade securedrop-client to 0.14.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-24888. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-24888.md
Affected: freedomofpress securedrop-client < 0.14.1
Fixed in: freedomofpress securedrop-client 0.14.1

Steps:
1. Search this machine and project for freedomofpress securedrop-client: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-24888 being exploited?

There is no confirmed exploitation: CVE-2025-24888 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.70% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-24888?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-24888?

freedomofpress securedrop-client \< 0.14.1.

### Is there a fix for CVE-2025-24888?

Yes. Fixed in freedomofpress securedrop-client 0.14.1. Upgrade securedrop-client to 0.14.1 or later.

### How do I check if I'm affected by CVE-2025-24888?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/freedomofpress/securedrop-client/security/advisories/GHSA-6c3p-chq6-q3j2>
- patch: <https://github.com/freedomofpress/securedrop-client/commit/120bac14649db0bcf5f24f2eb82731c76843b1ba>
- other: <https://github.com/freedomofpress/securedrop-client/blob/0.14.0/client/securedrop_client/utils.py#L79>
- other: <https://github.com/freedomofpress/securedrop-client/blob/main/client/securedrop_client/api_jobs/downloads.py#L164>
- other: <https://github.com/freedomofpress/securedrop-client/blob/release/0.14.0/client/securedrop_client/sdk/__init__.py#L956-L957>
- other: <https://www.qubes-os.org/doc/split-gpg>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-24888>

HTML: <https://flawdb.com/CVE-2025-24888> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-24888>
