CVE-2021-47746 NodeBB Plugin Emoji 3.2.1 - Arbitrary File Write

High 8.6 Published Updated

Administrative users can exploit directory traversal in the emoji upload API to write arbitrary files to system locations, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47746?

CVE-2021-47746 is a high-severity path traversal vulnerability in NodeBB Plugin Emoji, published on 21 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

NodeBB Plugin Emoji 3.2.1 contains an arbitrary file write vulnerability that allows administrative users to write files to arbitrary system locations through the emoji upload API. Attackers with admin access can craft file upload requests with directory traversal to overwrite system files by manipulating the file path parameter.

Weakness: CWE-73

Which versions are affected by CVE-2021-47746?

How do I fix CVE-2021-47746?

No fix has been published for CVE-2021-47746 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-47746 being exploited?

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

Sources

Also known as GHSA-g674-4q3h-w499.

Is CVE-2021-47746 in your software?

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

Check your SBOMs for free