CVE-2022-51019akaunting OS Command Injection
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.8)
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- akaunting < 2.1.31
- akaunting 2.1.31
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run akaunting and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Sep 29, 2026Published
- Sep 29, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new akaunting CVEsYou are reading CVE-2022-51019. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/akaunting/akaunting/commit/a1792327347a56ea575240b58673b2ece44230da
- Referencehttps://github.com/akaunting/akaunting/releases/tag/2.1.31
- Referencehttps://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/InstallModule.php#L37-L39
- Referencehttps://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/FinishUpdate.php#L45-L47
- Referencehttps://github.com/akaunting/akaunting
- Referencehttps://www.vulncheck.com/advisories/akaunting-before-2.1.31-os-command-injection-via-app-alias
Data last checked: Nov 25, 2026 00:24 UTC