# CVE-2026-100351: kin-openapi: ValidationHandler security-requirement bypass via encoded-path operation confusion

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T15:52:30.041Z
- Modified: 2026-11-05T23:25:57.334Z
- Also known as: GHSA-23vg-4cjm-66q5, GO-2026-6769
- Weaknesses: CWE-289, CWE-436
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

kin-openapi is a Go project for handling OpenAPI files. From 0.144.0 until 0.147.0, openapi3filter.ValidationHandler validates an operation selected from decoded URL.Path while a downstream gorilla/mux router configured with UseEncodedPath can dispatch a different operation selected from URL.RawPath. When a public exact route and a protected parameterized route use the same method and overlap after decoding, an unauthenticated remote request containing an encoded path separator can be validated as public and then dispatched to the protected handler without invoking the configured AuthenticationFunc. The reachable path parameter is constrained to an encoded representation that decodes to the public literal route, and proxies that canonicalize the URI before forwarding prevent this specific mismatch. This issue is fixed in version 0.147.0.

(As written by CVE List.)

## Affected

- getkin kin-openapi: >= 0.144.0, < 0.147.0
- github.com/getkin/kin-openapi (Go): from 0.144.0 before 0.147.0

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/getkin/kin-openapi/security/advisories/GHSA-23vg-4cjm-66q5> (exploit, advisory, web)
- <https://github.com/getkin/kin-openapi/commit/eda80e2676e9f577ceed2dd80e64f16083edb041> (fix, web)
- <https://github.com/getkin/kin-openapi/releases/tag/v0.147.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-100351> (advisory)
- <https://github.com/getkin/kin-openapi> (package)

## Sources

- CVE List: [CVE-2026-100351](https://www.cve.org/CVERecord?id=CVE-2026-100351), CVE Terms of Use, modified 2026-10-15
- GitHub Advisory Database: [GHSA-23vg-4cjm-66q5](https://github.com/advisories/GHSA-23vg-4cjm-66q5), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6769](https://pkg.go.dev/vuln/GO-2026-6769), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-100351](https://nvd.nist.gov/vuln/detail/CVE-2026-100351), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-100351 · Whole record: https://cve.day/CVE-2026-100351.json · Rebuilt by cve.day 2026-11-25T22:59:44.892Z
