{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.670"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "0c449e341746d8c445c8c7db223eac1f41755943"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "8fb194e5fbc30a6664545d48940d03759ace9bf2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0c449e341746d8c445c8c7db223eac1f41755943"
            },
            {
              "fixed": "8fb194e5fbc30a6664545d48940d03759ace9bf2"
            }
          ],
          "repo": "https://github.com/webmin/webmin",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-93"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126781.json"
  },
  "details": "Webmin through 2.670 contains a users file injection vulnerability in acl/cert_issue.cgi that allows authenticated Webmin users to inject lines by supplying unvalidated certificate DN fields containing newlines. Attackers can end a DN field with a backslash and newline to add a second root entry with a known password hash, gaining Webmin root access after miniserv restarts.",
  "id": "CVE-2026-126781",
  "modified": "2026-11-14T02:31:08.884486915Z",
  "published": "2026-11-11T18:41:11.509Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126781.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126781"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/webmin-through-2.670-users-file-injection-via-acl-cert-issue-cgi"
    },
    {
      "type": "FIX",
      "url": "https://github.com/webmin/webmin/commit/0c449e341746d8c445c8c7db223eac1f41755943"
    },
    {
      "type": "FIX",
      "url": "https://github.com/webmin/webmin/commit/8fb194e5fbc30a6664545d48940d03759ace9bf2"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/webmin/webmin"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/webmin/webmin/blob/2.670/acl/cert_issue.cgi#L22-L52"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Webmin through 2.670 Users File Injection via acl/cert_issue.cgi"
}