# CVE-2026-90774: rustypaste before 0.18.1 Path Traversal via filename header

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-13T10:45:44.589Z
- Modified: 2026-09-24T14:21:55.235Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- orhun rustypaste: before 0.18.1

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/orhun/rustypaste/issues/622> (exploit, issue-tracking)
- <https://github.com/orhun/rustypaste> (product)
- <https://github.com/orhun/rustypaste/blob/v0.18.0/src/paste.rs> (technical-description)
- <https://github.com/orhun/rustypaste/commit/ac05d552596af4a8429d80f30d11f67117ce02c8> (patch)
- <https://www.vulncheck.com/advisories/rustypaste-before-0.18.1-path-traversal-via-filename-header> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-90774](https://www.cve.org/CVERecord?id=CVE-2026-90774), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-90774](https://nvd.nist.gov/vuln/detail/CVE-2026-90774), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-90774 · Whole record: https://cve.day/CVE-2026-90774.json · Rebuilt by cve.day 2026-11-25T22:59:38.196Z
