CVE-2026-90774
Received Received - Intake

Path Traversal in rustypaste via Filename Header

Vulnerability report for CVE-2026-90774, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-13

Last updated on: 2026-09-13

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-13
Last Modified
2026-09-13
Generated
2026-09-13
AI Q&A
2026-09-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
rustypaste rustypaste to 0.18.1 (exc)
orhun rustypaste to 0.18.1 (exc)
orhun rustypaste From 0.18.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a path traversal vulnerability in rustypaste versions before 0.18.1. The application fails to properly validate the destination path when using a custom filename HTTP header. Attackers can include path traversal sequences like '../' in the filename header to write files outside the intended upload directory to arbitrary locations on the server.

Detection Guidance

To detect this vulnerability, check if you are running rustypaste versions before 0.18.1. Use commands like 'rustypaste --version' or inspect package managers for installed versions. Monitor logs for failed file upload attempts or path traversal patterns in filenames.

Impact Analysis

An attacker could overwrite critical system files such as SSH keys, cron jobs, or application configurations. This could lead to full server compromise, unauthorized data access, or disruption of services. The impact severity is high, especially for unauthenticated users or those with upload tokens.

Compliance Impact

This vulnerability could lead to unauthorized file access or modification, violating data integrity and confidentiality requirements in GDPR and HIPAA. It may result in data breaches, unauthorized disclosure of sensitive information, and failure to maintain secure processing environments.

Mitigation Strategies

Upgrade rustypaste to version 0.18.1 or later immediately. Review and restrict file upload permissions. Implement strict input validation for filenames. Monitor for suspicious file writes outside the upload directory.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-90774. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart