CVE-2026-27822 Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover

Critical 9.1 Published Updated

Stored XSS in RustFS Console allows attackers to steal admin credentials and take over accounts via malicious PDF previews.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-27822?

CVE-2026-27822 is a critical cross-site scripting vulnerability in rustfs, published on 25 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

RustFS is a distributed object storage system built in Rust. Prior to version 1.0.0-alpha.83, a Stored Cross-Site Scripting (XSS) vulnerability in the RustFS Console allows an attacker to execute arbitrary JavaScript in the context of the management console. By bypassing the PDF preview logic, an attacker can steal administrator credentials from `localStorage`, leading to full account takeover and system compromise. Version 1.0.0-alpha.83 fixes the issue.

Weakness: CWE-79

Which versions are affected by CVE-2026-27822?

2 open source packages ship an affected version, including rustfs. It affects 1 product.

PackageAffectedFixed in
rustfs crates.ioAll versions1.0.0-alpha.83
rustfs crates.ioAll versions1.0.0-alpha.83

Products include Rustfs Rustfs.

How do I fix CVE-2026-27822?

Upgrade rustfs to 1.0.0-alpha.83 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-27822 being exploited?

There is no known exploitation of CVE-2026-27822 in the wild and no public exploit code.

Sources

Also known as GHSA-v9fg-3cr2-277j.

Is CVE-2026-27822 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free