RCE in Akaunting
CVE-2022-51019
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/akaunting/akaunting/commit/a1792327347a56ea575240b58673b2ece44230da (patch)
- github.com/akaunting/akaunting/releases/tag/2.1.31 (release-notes)
- github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/InstallModule.php (technical-description)
- github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/FinishUpdate.php (technical-description)
- github.com/akaunting/akaunting (product)
- www.vulncheck.com/advisories/akaunting-before-2.1.31-os-command-injection-via-a… (third-party-advisory)
Frequently asked questions
- What is CVE-2022-51019?
- CVE-2022-51019 is a high-severity vulnerability in Akaunting, classified under OS Command Injection. CVSS score: 8.8/10. Published 2026-09-29.
- How severe is CVE-2022-51019?
- High severity. CVSS v3 base score is 8.8 out of 10.