CVE-2025-66482 Misskey has a login rate limit bypass via spoofed X-Forwarded-For header

Medium 6.9 Published Updated

Attackers can bypass IP rate limiting by spoofing the X-Forwarded-For header when using an untrusted reverse proxy or no proxy.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-66482?

CVE-2025-66482 is a medium-severity vulnerability in misskey-dev misskey, published on 15 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Misskey is an open source, federated social media platform. Attackers who use an untrusted reverse proxy or not using a reverse proxy at all can bypass IP rate limiting by adding a forged X-Forwarded-For header. Starting with version 2025.9.1, an option (`trustProxy`) has been added in config file to prevent this from happening. However, it is initialized with an insecure default value before version 2025.12.0-alpha.2, making it still vulnerable if the configuration is not set correctly. This is patched in v2025.12.0-alpha.2 by flipping default value of `trustProxy` to `false`. Users of a trusted reverse proxy who are unsure if they manually overode this value should check their config for optimal behavior. Users are running Misskey with a trusted reverse proxy should not be affected by this vulnerability. From v2025.9.1 to v2025.11.1, workaround is available. Set `trustProxy: false` in config file.

Weakness: CWE-307, CWE-1188

Which versions are affected by CVE-2025-66482?

2 open source packages ship an affected version, including misskey-js. It affects 1 product.

PackageAffectedFixed in
misskey-js npmFrom 2025.9.12025.12.0-alpha.2
misskey-js npmFrom 2025.9.12025.12.0-alpha.2

Products include Misskey Misskey.

How do I fix CVE-2025-66482?

Upgrade misskey-js to 2025.12.0-alpha.2 or later.

Is CVE-2025-66482 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66482 exists.

Sources

Also known as GHSA-wwrj-3hvj-prpm.

Is CVE-2025-66482 in your software?

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

Check your SBOMs for free