Original description
rustypaste before 0.18.1 validates the destination path before applying the optional custom filename HTTP header, allowing attackers to bypass directory-escape checks. Attackers can supply path traversal sequences in the filename header to write files outside the configured upload directory to arbitrary locations.
Affected software
- rustypaste < 0.18.1 Fixed in: 0.18.1 repository or package match
Details
- Published
- 2026-09-13
- Last modified
- 2026-09-24
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 1.36% (percentile 72)
References
- cve.org/CVE-2026-90774
- nvd.nist.gov/vuln/detail/CVE-2026-90774
- github.com/orhun/rustypaste/issues/622
- github.com/orhun/rustypaste
- github.com/orhun/rustypaste/blob/v0.18.0/src/paste.rs
- github.com/orhun/rustypaste/commit/ac05d552596af4a8429d80f30d11f67117ce02c8
- www.vulncheck.com/advisories/rustypaste-before-0.18.1-path-traversal-via-filename-header
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.