CVE-2022-51019 Akaunting before 2.1.31 OS Command Injection via app alias

High 8.7 Published Updated

Authenticated admin users can execute arbitrary OS commands via the alias parameter in module installation, requiring an upgrade to fix.

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

What is CVE-2022-51019?

CVE-2022-51019 is a high-severity command injection vulnerability in akaunting, published on 29 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Akaunting before 2.1.31 contains an OS command injection vulnerability in the module installation and update flow where the alias parameter is passed unvalidated to shell command execution. Authenticated users with admin panel access can inject shell metacharacters into the alias parameter to execute arbitrary commands on the server.

Weakness: CWE-78

Which versions are affected by CVE-2022-51019?

How do I fix CVE-2022-51019?

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

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

Sources

Also known as GHSA-84f7-xff5-hx38.

Is CVE-2022-51019 in your software?

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

Check your SBOMs for free