Skip to content
Heist/ feed
Back to feed
High

Akaunting before 2.1.31 OS Command Injection via app alias

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-51019
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:35 UTC · Revision 1

Source evidence

Akaunting before 2.1.31 OS Command Injection via app alias

core-osv · Original source

Published 29 Sept 2026, 16:04 UTC

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.

osv:CVE-2022-51019
Complete source record
{
  "id": "4ca31ff1eaf822b6cb97e28d5b43c02bd96b95f0b656b170b38afc40929f9cb8",
  "url": "https://osv.dev/vulnerability/CVE-2022-51019",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Akaunting before 2.1.31 OS Command Injection via app alias",
    "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.",
    "evidence": "osv:CVE-2022-51019",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-51019",
      "aliases": [
        "CVE-2022-51019"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/akaunting/akaunting",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0a1ccab5a9e10719f3b01dac98dadc815e1f90e5"
                },
                {
                  "fixed": "a1792327347a56ea575240b58673b2ece44230da"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.1.31"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a1792327347a56ea575240b58673b2ece44230da"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0a1ccab5a9e10719f3b01dac98dadc815e1f90e5"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.1.31"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.1.30",
            "2.1.29",
            "2.1.28",
            "2.1.27",
            "2.1.26",
            "2.1.24",
            "2.1.23",
            "2.1.22",
            "2.1.21",
            "2.1.20",
            "2.1.19",
            "2.1.18",
            "2.1.17",
            "2.1.16",
            "2.1.15",
            "2.1.14",
            "2.1.13",
            "2.1.12",
            "2.1.11",
            "2.1.10",
            "2.1.9",
            "2.1.8",
            "2.1.7",
            "2.1.6",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.0.26",
            "2.0.25",
            "2.0.24",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.5",
            "2.0.4",
            "2.0.3",
            "2.0.2",
            "2.0.0",
            "1.3.17",
            "1.3.16",
            "1.3.15",
            "1.3.14",
            "1.3.13",
            "1.3.12",
            "1.3.11",
            "1.3.10",
            "1.3.8",
            "1.3.7",
            "1.3.6",
            "1.3.5",
            "1.3.4",
            "1.2.16",
            "1.3.3",
            "1.3.2",
            "1.3.1",
            "1.3.0",
            "1.2.14",
            "1.2.13",
            "1.2.12",
            "1.2.11",
            "1.2.9",
            "1.2.8",
            "1.2.7",
            "1.2.6",
            "1.2.5",
            "1.2.4",
            "1.2.3",
            "1.2.1",
            "1.2.0",
            "1.1.15",
            "1.1.14",
            "1.1.13",
            "1.1.12",
            "1.1.11",
            "1.1.10",
            "1.1.9",
            "1.1.8",
            "1.1.7",
            "1.1.6",
            "1.1.5",
            "1.1.4",
            "1.1.3",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.12",
            "1.0.10",
            "1.0.9",
            "1.0.8",
            "1.0.7",
            "1.0.6",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-51019.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.639474805Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51019.json",
        "https://github.com/akaunting/akaunting/releases/tag/2.1.31",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-51019",
        "https://www.vulncheck.com/advisories/akaunting-before-2.1.31-os-command-injection-via-app-alias",
        "https://github.com/akaunting/akaunting/commit/a1792327347a56ea575240b58673b2ece44230da",
        "https://github.com/akaunting/akaunting",
        "https://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/FinishUpdate.php#L45-L47",
        "https://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/InstallModule.php#L37-L39"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51019.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-51019",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504692,
  "published_at": "2026-09-29T16:04:16.077+00:00"
}