CVE-2026-90774 Details
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.
A path traversal vulnerability has been identified in Rustypaste versions prior to 0.18.1. The issue arises because the application validates the destination path before applying the optional custom filename HTTP header. This oversight allows attackers to bypass directory-escape checks by supplying path traversal sequences in the filename header. As a result, they can write files outside the configured upload directory to arbitrary locations on the filesystem.
Users can update to Rustypaste version 0.18.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 13, 2026CISA-ADP
Assessed Sep 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/orhun/rustypaste/issues/622 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/orhun/rustypaste | [email protected] | ProductVendor |
| https://github.com/orhun/rustypaste/blob/v0.18.0/src/paste.rs | [email protected] | Source CodeVendor |
| https://github.com/orhun/rustypaste/commit/ac05d552596af4a8429d80f30d11f67117ce02c8 | [email protected] | Source CodeVendor |
| https://github.com/orhun/rustypaste/issues/622 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/rustypaste-before-0.18.1-path-traversal-via-filename-header | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rustypaste | >= 0, < 0.18.1 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | CISA-ADP |
| Sep 13, 2026 | New CVE Received | [email protected] |
Volerion