Akaunting before 2.1.31 OS Command Injection via app alias
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2022-51019
PublishedAkaunting 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2022-51019 · CVE overview and exploitation status
cve-program · CVE-2022-51019
- https://github.com/akaunting/akaunting/commit/a1792327347a56ea575240b58673b2ece44230da
- https://github.com/akaunting/akaunting/releases/tag/2.1.31
- https://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/InstallModule.php#L37-L39
- https://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/FinishUpdate.php#L45-L47
- https://github.com/akaunting/akaunting
- https://www.vulncheck.com/advisories/akaunting-before-2.1.31-os-command-injection-via-app-alias
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.