Open Policy Agent v1.22.4
security!!
Open Policy Agent released v1.22.4, a patch release with 11 changes. The security content is a Go standard library fix (CVE-2026-97054) covering an HTTP/1 server crash in net/http's MaxBytesReader, where a header race can cause a runtime panic. The project notes that its security guidance advises against exposing OPA interfaces to adversarial actors, and that the patch applies to published binaries and Docker images, not to binaries built with a user's own Go toolchain.
What changes for platform teams
Teams running the published OPA binaries or Docker images should pick up v1.22.4 to get the Go runtime fix. Teams that build OPA from source control the Go version themselves and must update their own toolchain.
Changes
- > This is CVE-2026-97054 and Go issuesecurity
- Note that our security guidance includes not running OPA with its interfaces exposed to adversarial actors, like the public internet. This is fixed regardless, if only to avoid too many spurious vulnerability checker reports.security
- > net/http: HTTP/1 server crash due to MaxBytesReader header raceother
- > For HTTP/1 servers, when MaxBytesReader's limit is exceeded,other
- > "Connection: close" header is automatically set without synchronization,other
- > which might race with another header being set explicitly in the serverother
- > handler. As a result, an HTTP/1 server that utilizes MaxBytesReader orother
- > MaxBytesHandler can crash due to runtime panic if its handler reads theother
- > request body concurrently with writing the response header.other
- > Thanks to Jakub Ciolek ( for reporting this issue.other
- Also note that if you build your OPA binaries yourself, this patch release does not apply to you, as you control the version of Go that's used. This patch release affects the published binaries and docker images of OPA.other
Full release notes ↗ · all Open Policy Agent releases
written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules