CVE-2026-90774
rustypaste before 0.18.1 Path Traversal via filename header
- State
- Published
- Severity
- 8.7 High
- Published
- Sep 13, 2026
- Updated
- Sep 24, 2026
- Reserved
- Sep 13, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
rustypasteorhun |
|
References
- GitHub Issue #622issue-tracking
- https://github.com/orhun/rustypasteproduct
- https://github.com/orhun/rustypaste/blob/v0.18.0/src/paste.rstechnical-description
- https://github.com/orhun/rustypaste/commit/ac05d552596af4a8429d80f30d11f67117ce02c8patch
- VulnCheck Advisory: rustypaste before 0.18.1 Path Traversal via filename headerthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.