{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0.0-beta.1"
                  },
                  {
                    "fixed": "5.2.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "9a4c5dc3835b52c12616a73ab60635e96e23ad7a"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v5.2.2",
                "range": [
                  {
                    "fixed": "9a4c5dc3835b52c12616a73ab60635e96e23ad7a"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "5.2.2"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "1162ad1c25f223f652270ba657d841ca7ab6aa37"
            },
            {
              "fixed": "9a4c5dc3835b52c12616a73ab60635e96e23ad7a"
            }
          ],
          "repo": "https://github.com/ramonsilva20/mapos",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-269"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125382.json"
  },
  "details": "Map-OS 5.0.0 to before 5.2.2 contains a privilege escalation vulnerability in the REST users API that allows non-administrator operators holding the cUsuario permission to bypass permission-delegation and super-administrator protections. Attackers can send POST, PUT, or DELETE requests to /api/v1/usuarios to assign the Administrador group, reset the super administrator password, or delete higher-privileged users.",
  "id": "CVE-2026-125382",
  "modified": "2026-11-15T02:30:58.768298636Z",
  "published": "2026-11-09T23:27:50.340Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125382.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/RamonSilva20/mapos/releases/tag/v5.2.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125382"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/map-os-5.0.0-to-before-5.2.2-privilege-escalation-via-api-v1-usuarios"
    },
    {
      "type": "FIX",
      "url": "https://github.com/RamonSilva20/mapos/commit/9a4c5dc3835b52c12616a73ab60635e96e23ad7a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/RamonSilva20/mapos/pull/3043"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/RamonSilva20/mapos"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/RamonSilva20/mapos/blob/v5.2.1/application/helpers/api_helper.php#L51-L125"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Map-OS 5.0.0 to before 5.2.2 Privilege Escalation via /api/v1/usuarios"
}