CVE Catalog

CVE-2026-90774

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

32th percentile - higher than 32% of all known CVEs

Summary

In rustypaste before 0.18.1, the destination path is validated before the optional custom filename HTTP header is applied, 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.

Risk Assessment

The ability to write files to arbitrary filesystem locations can lead to overwriting critical files, injecting malicious content, or escalating to remote code execution. The risk affects any rustypaste instance with custom filename support enabled.

Recommendation

Upgrade rustypaste to version 0.18.1 or later. If upgrading is not possible, disable the custom filename header support or restrict the process's write permissions to a dedicated directory.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS