CVE-2026-90774: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in orhun rustypaste
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.
AI Analysis
Technical Summary
The vulnerability in rustypaste prior to version 0.18.1 arises because the destination path is validated before the optional custom filename HTTP header is applied. This sequence allows attackers to include path traversal sequences in the filename header, effectively bypassing directory-escape checks and writing files outside the configured upload directory to arbitrary filesystem locations.
Potential Impact
An attacker can write files to arbitrary locations on the filesystem outside the intended upload directory. This could lead to unauthorized file creation or modification, potentially enabling further compromise of the system or disruption of service.
Mitigation Recommendations
A fix is available in rustypaste version 0.18.1. Users should upgrade to version 0.18.1 or later to remediate this vulnerability.
CVE-2026-90774: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in orhun rustypaste
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.
CVSS v4.0
Score 8.7high
Affected software
orhun
rustypaste
pkg:cargo/github/orhun/rustypasteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in rustypaste prior to version 0.18.1 arises because the destination path is validated before the optional custom filename HTTP header is applied. This sequence allows attackers to include path traversal sequences in the filename header, effectively bypassing directory-escape checks and writing files outside the configured upload directory to arbitrary filesystem locations.
Potential Impact
An attacker can write files to arbitrary locations on the filesystem outside the intended upload directory. This could lead to unauthorized file creation or modification, potentially enabling further compromise of the system or disruption of service.
Mitigation Recommendations
A fix is available in rustypaste version 0.18.1. Users should upgrade to version 0.18.1 or later to remediate this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-13T10:14:58.756Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa682ac55bf5e2cf583e191
Added to database: 09/13/2026, 11:02:04 UTC
Last enriched: 09/13/2026, 11:16:39 UTC
Last updated: 09/14/2026, 03:07:29 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.