CVE-2026-93450
go-openapi/swag jsonutils before 0.27.1 contains a stack overflow …
go-openapi/swag jsonutils before 0.27.1 contains a stack overflow vulnerability in ordered JSON parsing and serialization due to unbounded recursion with no depth limit. Remote unauthenticated attackers can submit deeply nested JSON documents to services accepting OpenAPI specifications, causing fatal stack overflow that terminates the process and all in-flight requests.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/go-openapi/swag
- github.com/go-openapi/swag/blob/v0.27.0/jsonutils/adapters/stdlib/json/adapter.go#L68
- github.com/go-openapi/swag/blob/v0.27.0/jsonutils/adapters/stdlib/json/ordered_map.go#L214
- github.com/go-openapi/swag/commit/0c24346ced59a25811e8694a915e7131d25ccb0e
- github.com/go-openapi/swag/security/advisories/GHSA-xh24-9qpg-8w28
- www.vulncheck.com/advisories/go-openapi-swag-jsonutils-before-0.27.1-uncontrolled-recursio
- nvd.nist.gov/vuln/detail/CVE-2026-93450
- cve.org/CVERecord?id=CVE-2026-93450
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.