Breaking Changes
- HTTP(S) schema fetching now blocks localhost, loopback, private, link-local, reserved, and other non-public network targets by default. Users who intentionally fetch schemas from trusted internal/private network endpoints must pass
--allow-private-networkor setallow_private_network=True. - HTTP(S) redirects are now followed manually and each redirect target is validated before fetching. Redirects to non-public network targets are blocked unless private network access is explicitly enabled.
Security
- Fixed SSRF protections for HTTP(S) schema fetching via
--urland remote JSON Schema/OpenAPI$refURLs. (GHSA-rfr2-mq9m-x2qx, GHSA-954p-556p-r752) - Remote
$reffetching remains controlled by--allow-remote-refs; non-public remote references additionally require--allow-private-network.
What's Changed
- Update CHANGELOG for 0.60.2 by @dcg-generated-docs[bot] in #3277
- Fix generated files by @koxudaxi in #3279
- Sync generated docs by @dcg-generated-docs[bot] in #3280
Full Changelog: 0.60.2...0.61.0