CVE-2026-90774

high

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.

References

https://www.vulncheck.com/advisories/rustypaste-before-0.18.1-path-traversal-via-filename-header

https://github.com/orhun/rustypaste/issues/622

https://github.com/orhun/rustypaste/commit/ac05d552596af4a8429d80f30d11f67117ce02c8

https://github.com/orhun/rustypaste/blob/v0.18.0/src/paste.rs

https://github.com/orhun/rustypaste

Details

Source: Mitre, NVD

Published: 2026-09-13

Updated: 2026-09-13

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Severity: High

CVSS v4

Base Score: 8.7

Vector: 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

Severity: High