Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-39986

A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.

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

Source evidence

CVE-2022-39986

core-osv · Original source

Published 1 Aug 2023, 00:00 UTC

A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.

osv:CVE-2022-39986
Complete source record
{
  "id": "405cfa683685d4814221e07862874334549b3b23379483891ce34824e104e5ce",
  "url": "https://osv.dev/vulnerability/CVE-2022-39986",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-39986",
    "summary": "A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.",
    "evidence": "osv:CVE-2022-39986",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-39986",
      "aliases": [
        "CVE-2022-39986",
        "GHSA-7c28-wg7r-pg6f"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/raspap/raspap-webgui",
              "type": "GIT",
              "events": [
                {
                  "introduced": "60d151b9762389ac2597f6e6ad9b4901141e3400"
                },
                {
                  "last_affected": "5a3e464c23f9def0967988903cc1bce03a8843cd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.8.0"
                      },
                      {
                        "last_affected": "2.8.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.8.7",
            "2.8.6",
            "2.8.5",
            "2.8.3",
            "2.8.2",
            "2.8.1",
            "2.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39986.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.745116604Z",
      "provider": "osv",
      "references": [
        "https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php",
        "https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39986.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-39986"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39986.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-39986",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 507304,
  "published_at": "2023-08-01T00:00:00+00:00"
}