CVE-2026-93450GO Openapi Swag uncontrolled recursion
CVSS score
8.7
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
1.10%
1.10% chance of exploitation in the next 30 days, higher than 66.6% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running go-openapi Swag and compare its version with the affected versions.
Update to a fixed version
- Update Swag to 0.27.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| go-openapi Swag | < 0.27.1 |
Weakness
- CWE-674 uncontrolled recursion
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-93450 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-93450?
CVE-2026-93450 has a CVSS 4.0 base score of 8.7 (high).
Which versions are affected?
GO Openapi Swag (< 0.27.1)
Is there a patch for CVE-2026-93450?
The official record links to vendor advisories or patches; see “What to do” above.
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-recursion-in-ordered-json-marshal-and-unmarshal
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.