# CVE-2022-48682: In deletefiles in FDUPES before 2.2.0, a TOCTOU race condition allows arbitrary file deletion via a symlink.

- Severity: Medium 6.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:H/AV:L/A:H/C:N/I:H/PR:L/S:U/UI:R`
- 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.19%, higher than 9% of CVEs (2026-12-02)
- Published: 2024-04-26T00:00:00.000Z
- Modified: 2026-06-17T05:15:54.247Z
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

In deletefiles in FDUPES before 2.2.0, a TOCTOU race condition allows arbitrary file deletion via a symlink.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/adrianlopezroche/fdupes/blob/4b6bcde1b3eb1cebe87cd30814f7d6cf4ee46e95/fdupes.c>
- <https://github.com/adrianlopezroche/fdupes/commit/85680897148f1ac33b55418e00334116e419717f>
- <https://bugzilla.suse.com/show_bug.cgi?id=1200381>
- <https://github.com/adrianlopezroche/fdupes/compare/v2.1.2...v2.2.0>

## Sources

- CVE List: [CVE-2022-48682](https://www.cve.org/CVERecord?id=CVE-2022-48682), CVE Terms of Use, modified 2024-10-27
- NVD: [CVE-2022-48682](https://nvd.nist.gov/vuln/detail/CVE-2022-48682), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48682 · Whole record: https://cve.day/CVE-2022-48682.json · Rebuilt by cve.day 2026-11-25T22:58:19.771Z
