# CVE-2026-100348: kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS)

- 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.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-10-15T15:31:19.904Z
- Modified: 2026-11-05T23:26:06.783Z
- Also known as: GHSA-mh7x-f8wq-4jhx, GO-2026-6789
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

kin-openapi is a Go project for handling OpenAPI files. Prior to 0.145.0, openapi3.Loader can dereference a nil SchemaRef.Value while resolving a self-referential additionalProperties JSON Reference such as a schema that points to its own additionalProperties member. Loading an attacker-controlled OpenAPI document through LoadFromData, LoadFromFile, or LoadFromURI reaches resolveComponent before document validation and can panic the loading process. Resolved additionalProperties schemas and ordinary recursive schemas do not take the vulnerable nil-value path. This issue is fixed in version 0.145.0.

(As written by CVE List.)

## Affected

- getkin kin-openapi: < 0.145.0
- github.com/getkin/kin-openapi (Go): before 0.145.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-mh7x-f8wq-4jhx> (advisory, web)
- <https://github.com/getkin/kin-openapi/commit/88aa64c7cbd03ecadbb419c473bdcaa8b0124c6b> (fix, web)
- <https://github.com/getkin/kin-openapi/releases/tag/v0.145.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-100348> (advisory)
- <https://github.com/getkin/kin-openapi> (package)

## Sources

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

---

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