A percent-encoded request path can make its OpenAPI validator select a public operation while the application router serves a protected handler. In that mismatch, the validator may never call the configured AuthenticationFunc.The VulnCheck CNA rates the flaw CVSS 4.0 9.1 Critical and CVSS 3.1 7.4 High. Exposure requires an application that relies on the affected kin-openapi validation decision as its security boundary. The record does not establish a bypass in every Go API or every kin-openapi deployment.
What it allows
How Does CVE-2026-142245 Bypass Authentication?
The CNA describes a disagreement between route validation and application routing when an encoded path is handled differently. The validator can match a public operation, while the router sends the same request to a protected handler. If security depends on the validator's operation match, AuthenticationFunc is not called for that protected handler.
The record identifies several affected validation paths, including Servers.MatchURL and Validator.Middleware. A separate encoded-path authentication bypass profile concerns another product; assess its exposure and fix separately. Review the local route matching and authorization boundary before treating the CVSS score as proof of exposure.
Use a vulnerability intelligence platform review alongside the dependency inventory. Confirm which applications use kin-openapi to enforce OpenAPI security requirements and whether protected handlers have an independent authorization check.
How Should Teams Interpret the Predecessor Mention?
Brandefense Blackhole recorded 1 dark-chat post mentioning predecessor CVE-2026-100351 from 2026-09-03 to 2026-12-02. The measured unit is a post mentioning that predecessor identifier. This count does not establish exploitation of CVE-2026-142245.
The vulnerability intelligence glossary explains the assessment concept. Apply it to the actual API route and validator configuration, not the package name alone.
Who is affected
Which kin-openapi Versions and Deployments Are Affected?
The CNA lists getkin kin-openapi versions through 0.153.0 as affected, with other versions marked unaffected by default in its record. It does not name a fixed release. Do not treat 0.147.0, which addressed predecessor CVE-2026-100351, as a fix for this new issue.
The practical exposure condition is a Go application that lets kin-openapi's operation validation decide whether a protected route needs authentication. Check whether the downstream router and validator interpret encoded paths consistently. A separate authorization decision inside the protected handler can change the risk assessment.
Timeline
- 2026-12-02
VulnCheck CNA published CVE-2026-142245, describing an incomplete fix for CVE-2026-100351.
What to do
-
Inventory affected applications
Find self-hosted Go APIs using kin-openapi and confirm the resolved library version in each running build. Prioritize versions through 0.153.0 where OpenAPI validation enforces route security requirements.
-
Review the authorization boundary
Compare validator operation matching with the downstream router's path interpretation in a controlled test. Confirm protected handlers enforce authorization even when a validator selects a different operation.
-
Apply interim controls
Keep authorization checks at protected handlers and align path normalization before validation and routing. Validate the application's intended route behavior after any configuration change.
-
Track and verify the eventual fix
Monitor the project's advisory for a fixed kin-openapi version. When published, update the dependency, confirm the resolved version in running builds, and repeat the route authorization test.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-142245 in Brandefense Atlas
The Atlas record of CVE-2026-142245: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does CVE-2026-142245 affect every Go API using kin-openapi?
No. The bypass depends on a mismatch between validation and routing, plus reliance on the validator's operation match to enforce security requirements.
Is kin-openapi 0.147.0 a fix for this CVE?
No fixed version is named for CVE-2026-142245. The CNA describes the prior CVE-2026-100351 fix as incomplete and lists versions through 0.153.0 as affected.
What should a team verify after updating?
Confirm the resolved library version in the running API. Test that protected handlers still require authorization when the validator and router process equivalent path forms.
Sources
- CVE-2026-142245 RecordVulnCheck CNA via CVE Program
- kin-openapi through 0.153.0 Security Requirement BypassVulnCheck
- Encoded Path Separator Can Bypass Authenticationgetkin GitHub Security Advisory
- Known Exploited Vulnerabilities CatalogCISA