{"id":"CVE-2026-90774","summary":"rustypaste before 0.18.1 Path Traversal via filename header","details":"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.","modified":"2026-09-16T03:30:35.291558645Z","published":"2026-09-13T10:45:44.589Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90774.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90774.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90774"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/rustypaste-before-0.18.1-path-traversal-via-filename-header"},{"type":"REPORT","url":"https://github.com/orhun/rustypaste/issues/622"},{"type":"FIX","url":"https://github.com/orhun/rustypaste/commit/ac05d552596af4a8429d80f30d11f67117ce02c8"},{"type":"PACKAGE","url":"https://github.com/orhun/rustypaste"},{"type":"ARTICLE","url":"https://github.com/orhun/rustypaste/blob/v0.18.0/src/paste.rs"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/orhun/rustypaste","events":[{"introduced":"0"},{"fixed":"71d0b5d001fb2ec041d95ca75b4eff18293e9f10"},{"fixed":"ac05d552596af4a8429d80f30d11f67117ce02c8"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.18.1"}],"source":["DESCRIPTION","REFERENCES"]}}],"versions":["v0.18.0","v0.17.0","v0.16.1","v0.16.0","v0.15.1","v0.15.0","v0.14.4","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.0","v0.12.1","v0.12.0","v0.11.1","v0.11.0","v0.10.1","v0.10.0","v0.9.1","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.1","v0.7.0","v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.0","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.0","v0.1.3","v0.1.2","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90774.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}