{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.153.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "671bc8b8c2f862600bc5f5fa73a00a9a3c125dc5"
            }
          ],
          "repo": "https://github.com/getkin/kin-openapi",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-647"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142245.json"
  },
  "details": "kin-openapi through 0.153.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to skip security requirements by sending percent-encoded request paths, due to an incomplete fix for CVE-2026-100351. Attackers can use encoded separators via Servers.MatchURL, requests through Validator.Middleware, or other encoded characters so validation matches a public operation while the router serves a protected handler without calling AuthenticationFunc.",
  "id": "CVE-2026-142245",
  "modified": "2026-12-02T17:46:10.269344839Z",
  "published": "2026-12-02T16:49:56.991Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142245.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/getkin/kin-openapi"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/middleware.go#L119-L138"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/getkin/kin-openapi/blob/v0.153.0/openapi3filter/validation_handler.go#L118-L143"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/getkin/kin-openapi/blob/v0.153.0/routers/legacy/router.go#L110-L123"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142245"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/kin-openapi-through-0.153.0-security-requirement-bypass-via-encoded-request-paths"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "kin-openapi through 0.153.0 Security Requirement Bypass via Encoded Request Paths"
}