CVE-2025-70831 Command injection in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary OS commands via the mediaId parameter in rescan.php, leading to full server compromise.

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

What is CVE-2025-70831?

CVE-2025-70831 is a critical command injection vulnerability in n/a, published on 20 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Remote Code Execution (RCE) vulnerability was found in Smanga 3.2.7 in the /php/path/rescan.php interface. The application fails to properly sanitize user-supplied input in the mediaId parameter before using it in a system shell command. This allows an unauthenticated attacker to inject arbitrary operating system commands, leading to complete server compromise.

Weakness: CWE-78

Which versions are affected by CVE-2025-70831?

It affects 1 product.

Products include Lkw199711 Smanga.

How do I fix CVE-2025-70831?

No fix has been published for CVE-2025-70831 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-2025-70831 being exploited?

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

Sources

Also known as GHSA-pfgm-6983-f589.

Is CVE-2025-70831 in your software?

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

Check your SBOMs for free