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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.80%, higher than 79% of CVEs (2026-12-01)
- Published: 2026-09-29T16:04:16.077Z
- Modified: 2026-11-10T12:10:00.177Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- akaunting akaunting: before 2.1.31

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/akaunting/akaunting/commit/a1792327347a56ea575240b58673b2ece44230da> (patch)
- <https://github.com/akaunting/akaunting/releases/tag/2.1.31> (release-notes)
- <https://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/InstallModule.php#L37-L39> (technical-description)
- <https://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/FinishUpdate.php#L45-L47> (technical-description)
- <https://github.com/akaunting/akaunting> (product)
- <https://www.vulncheck.com/advisories/akaunting-before-2.1.31-os-command-injection-via-app-alias> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-51019](https://www.cve.org/CVERecord?id=CVE-2022-51019), CVE Terms of Use, modified 2026-09-29
- NVD: [CVE-2022-51019](https://nvd.nist.gov/vuln/detail/CVE-2022-51019), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-51019 · Whole record: https://cve.day/CVE-2022-51019.json · Rebuilt by cve.day 2026-11-25T22:58:21.456Z
