CVE-2026-90774
rustypaste before 0.18.1 validates the destination path before …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/orhun/rustypaste
- github.com/orhun/rustypaste/blob/v0.18.0/src/paste.rs
- github.com/orhun/rustypaste/commit/ac05d552596af4a8429d80f30d11f67117ce02c8
- github.com/orhun/rustypaste/issues/622
- www.vulncheck.com/advisories/rustypaste-before-0.18.1-path-traversal-via-filename-header
- nvd.nist.gov/vuln/detail/CVE-2026-90774
- cve.org/CVERecord?id=CVE-2026-90774
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.