v1.0.2
opencode-ai/opencodev1.0.2Sep 13, 2026by wyuc
Upgrading?
AI Summary
A security release addressing critical vulnerabilities in metadata access, DNS rebinding, and classroom management.
Key Highlights
- Fixed metadata address bypass allowing access through URL guards
- Resolved DNS rebinding bypass on proxy endpoints
- Prevented unauthorized classroom overwrites via server-generated IDs
- Enhanced TTS response validation to reject non-audio content
Breaking Changes
- POST /api/classroom no longer honors client-supplied stage.id
- Outbound URL guard now blocks CGNAT addresses by default
New Features
- GLM-5.3 and GLM-5.3-Flash model support
- GenUI and Interactive component rendering
- Render queue preflight and media persistence
- Quiz answer-key resolution
Full Release Notes
A security release. Three advisories are published with this release, and two request paths behave differently — read the notes below before you upgrade. ## Security Three advisories are published with this release. Thank you to the reporters, who found and disclosed them privately. - **Cloud instance-metadata addresses bypassed the outbound URL guard.** The metadata denylist was not applied before an IP literal was accepted, so an Alibaba Cloud metadata address (`100.100.100.200`) could be reached through `/api/proxy-media` and the URL guard. Metadata hostnames and addresses — including mapped and transition encodings — are now checked before the literal and local-network branches, in every environment and regardless of `ALLOW_LOCAL_NETWORKS`. [GHSA-6xff-rgjg-v33f](https://github.com/THU-MAIC/OpenMAIC/security/advisories/GHSA-6xff-rgjg-v33f) — reported by [@lihua666a-cell](https://github.com/lihua666a-cell) - **DNS rebinding bypassed the SSRF guard on `/api/proxy-media`.** The route validated a hostname and then let `fetch()` resolve it again at connect time, so a name whose answer changed between the two lookups could steer the socket to an internal address. The proxy now connects only to the addresses the guard validated, on every redirect hop, through a shared pinned dispatcher. [GHSA-23xq-m3mm-3j49](https://github.com/THU-MAIC/OpenMAIC/security/advisories/GHSA-23xq-m3mm-3j49) — reported by [@ry2811](https://github.com/ry2811) - **`POST /api/classroom` let any caller overwrite an existing classroom.** A caller-chosen id was accepted and renamed over an existing classroom file. Ids are now server-generated and classroom files are created exclusively, with a bounded retry and a 409 on collision. [GHSA-87m4-6c66-pc68](https://github.com/THU-MAIC/OpenMAIC/security/advisories/GHSA-87m4-6c66-pc68) — reported by [@ry2811](https://github.com/ry2811) Also in this release: `POST /api/generate/tts` now inspects a 200 response before storing or billing it, rejecting HTML, JSON and other non-audio bodies and never following a URL embedded in a JSON envelope. ## Before you upgrade - **Calling `POST /api/classroom` directly?** It no longer honours a client-supplied `stage.id`. Read the classroom's `id` from the response. - **Reaching a model server or media over a Tailscale-style overlay (`100.64.0.0/10`)?** The outbound URL guard now blocks CGNAT addresses by default, like private ranges; set `ALLOW_LOCAL_NETWORKS=true` to allow them. IANA reserved, documentation, multicast and broadcast ranges (`240.0.0.0/4`, `198.18.0.0/15`, `192.0.2.0/24`, `2001:db8::/32`, …) are refused regardless of the flag, at both the URL and the connection layer. ## Also in 1.0.2 GenUI and Interactive component referencing in playback, render queue preflight before an export compiles, generated media written through the asset pool under server-backed persistence, GLM-5.3 and GLM-5.3-Flash, and one JSON lifecycle event per render and preview transition on the render service — plus fixes for 300-second LLM timeouts, MTEF v3 formula conversion, portable ZIP retries, quiz answer-key resolution, sharp in standalone builds, and Windows material uploads. See the full [CHANGELOG for 1.0.2](https://github.com/THU-MAIC/OpenMAIC/blob/main/CHANGELOG.md#102---2026-09-14).
Related Repositories
ollama/ollama★ 184,209
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fatedier/frp★ 110,051
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
infiniflow/ragflow★ 92,612
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
gohugoio/hugo★ 90,198
The world’s fastest framework for building websites.
junegunn/fzf★ 83,716
:cherry_blossom: A command-line fuzzy finder