# CVE-2026-100350: kin-openapi deepObject query decoding repeatedly compiles an invariant regular expression

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T15:37:19.077Z
- Modified: 2026-11-05T23:25:50.621Z
- Also known as: GHSA-h4r5-mxv5-8mjc, GO-2026-6787
- Weaknesses: CWE-400, CWE-770, CWE-1050
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

kin-openapi is a Go project for handling OpenAPI files. From 0.145.0 until 0.146.0, openapi3filter repeatedly calls regexp.MustCompile for the same parameter-name regular expression inside the per-query-key loop in urlValuesDecoder.DecodeObject used to decode a deepObject query parameter. An unauthenticated remote client can send an affected endpoint a request containing many unrelated query keys, causing ValidateRequest to perform work and allocations proportional to the attacker-controlled key count for every deepObject parameter. The expression itself is fixed and this is not regular expression denial of service; the resource consumption comes from loop-invariant recompilation. This issue is fixed in version 0.146.0.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/getkin/kin-openapi/security/advisories/GHSA-h4r5-mxv5-8mjc> (exploit, advisory, web)
- <https://github.com/getkin/kin-openapi/commit/d090e36b2f1c42c898ba2a687a8f6e25f5ca727f> (fix, web)
- <https://github.com/getkin/kin-openapi/releases/tag/v0.146.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-100350> (advisory)
- <https://github.com/getkin/kin-openapi> (package)

## Sources

- CVE List: [CVE-2026-100350](https://www.cve.org/CVERecord?id=CVE-2026-100350), CVE Terms of Use, modified 2026-10-15
- GitHub Advisory Database: [GHSA-h4r5-mxv5-8mjc](https://github.com/advisories/GHSA-h4r5-mxv5-8mjc), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6787](https://pkg.go.dev/vuln/GO-2026-6787), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-100350](https://nvd.nist.gov/vuln/detail/CVE-2026-100350), Public domain, modified 2026-10-15

---

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