CVE-2023-47268 Command injection in n/a

Medium 5.3 Published Updated

Attackers can execute arbitrary code on a host by tricking users into slicing a malicious 3mf project file in PrusaSlicer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-47268?

CVE-2023-47268 is a medium-severity command injection vulnerability in n/a, published on 8 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In libslic3r/GCode/PostProcessor.cpp in Prusa PrusaSlicer through 2.6.1, a crafted 3mf project file can execute arbitrary code on a host where the project is sliced and G-code exported.

Weakness: CWE-77

Which versions are affected by CVE-2023-47268?

It affects 1 product.

Products include Prusa3d Prusaslicer.

How do I fix CVE-2023-47268?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-47268 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2023-47268, GHSA-xqpp-8rwp-6rcr, UBUNTU-CVE-2023-47268.

Is CVE-2023-47268 in your software?

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

Check your SBOMs for free