CVE-2022-51019
Akaunting before 2.1.31 OS Command Injection via app alias
akaunting akaunting
CVSS
8.7HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)1.80%Chance of exploitation activity in the next 30 days, higher than 78% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 2.1.31akauntingCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 1
- akauntingaffected: all versions before 2.1.31CVE List
References 6
- github.com/akaunting/akaunting/commit/a1792327347a56ea575240b58673b2ece44230daFixvia CVE List
- github.com/akaunting/akaunting/releases/tag/2.1.31Fixvia CVE List
- vulncheck.com/advisories/akaunting-before-2.1.31-os-command-injection-via-app-aliasAdvisoryvia CVE List
- github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/InstallModule.php#L37-L39Referencevia CVE List
- github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/FinishUpdate.php#L45-L47Referencevia CVE List
- github.com/akaunting/akauntingReferencevia CVE List