Repository navigation
Releases
v2.4.9
v2.4.9
[2.4.9] - 2026-11-23
v2.4.9 fixes an owner-isolation gap on Podman's manifest list and volume rename routes. It carries v2.4.8.
Fixed
- Owner isolation now refuses the libpod manifest list writes (
POST /libpod/manifests/create,POST,PUTandDELETE /libpod/manifests/{name},/add,/pushand/registry/{destination}) andPOST /libpod/volumes/{name}/rename(Podman 6.2). They had no owner check, so a tenant could change or delete another owner's manifest list, or rename its volume onto any name. Reachable only on a Podman upstream with rules admitting the routes and, for manifests, the body-blind acknowledgment. They fail withowner_libpod_manifest_write_unscopeableandowner_libpod_volume_rename_unscopeable.
v2.4.8
v2.4.8
[2.4.8] - 2026-11-19
v2.4.8 backports security fixes and a Buildx fix to the v2.4 line. It carries v2.4.7.
Security
- Apply reloaded
clients.allowed_cidrsto the dedicated admin listener. It kept the startup allowlist, so a reload that removed a source left it admitted to the admin endpoints. The admin chain is now rebuilt from the same validated config on every successful reload, and a rejected reload changes neither chain. - Container create now refuses the
writable-cgroupssecurity option (Docker 28 and newer), bare or set to any true value. Before this the option passed every create gate, including on the shipped Drydock preset, and left the container's cgroup mount writable. An explicitwritable-cgroups=falsestill passes. - Inline seccomp profiles are now gated. With
deny_unconfined_seccompset, Docker-compat container create refuses aseccomp=value that is a JSON document (seccomp={}disables seccomp on Docker and passed the check), and native libpod create refuses a non-emptyseccomp_profile, the inline field Podman 6.2 reads ahead ofseccomp_profile_path. With a profile allowlist active the native inline value must be listed exactly. The shipped CIS preset setsdeny_unconfined_seccompand now refuses both. - A transient write error no longer silences file-backed access and audit logs for the rest of the process. The sticky buffered writer is replaced by a bounded pending buffer that retries unwritten bytes without duplicating them, audit events are encoded fresh per record so a failed write cannot poison later ones, records actually lost are counted, and sink failures print a rate-limited diagnostic to stderr.
- Service create and update now deny the host network when the target is its network ID, an ID prefix or any name that resolves to a host-driver network, not only the literal name
host. Sockguard resolves eachNetworkstarget with aGET /networks/{target}after ownership, denies on a host-driver result, returns502if the lookup fails and leaves unknown networks to the daemon. Settingrequest_body.service.allow_host_network: truestill turns the check off. - Service create and update now deny Go template expressions (
{{) in a bind mount source and in any key or value of a mount's volume driver options. SwarmKit expands them after Sockguard inspects the request, so/srv/data/{{".."}}/{{".."}}against an allowlist of/srv/data, or a local volume witho: '{{"bind"}}'anddevice: /, mounted the host root. A bind source that cannot be normalized is now denied instead of skipped, and a mount with an empty or unknownType, which SwarmKit treats as a bind, is checked as one. Templates in a volume-type mount'sSourcekeep working. - Docker-compat container create now refuses
HostConfig.Annotationskeys underrun.oci.and theio.podman.annotations.keys Podman acts on (cid-file,autoremove,autoremove-image), unless the newrequest_body.container_create.allow_runtime_annotationsis set. The field wasn't modeled, so a create carryingio.podman.annotations.cid-filepassed on Podman, and deleting that container removed the named host file. dockerd copies the map into the OCI runtime spec, where crun honorsrun.oci.*keys, so the refusal applies on every upstream. This was reachable on the shipped Drydock preset. A recreate tool that replays inspect output carrying those keys needs the option. - Shutdown now waits for hijacked exec and attach handlers to return, within the shared shutdown deadline, before closing the audit and log sinks, so a long session's only audit event is no longer lost. Shutdown signals the hijack relay directly so it closes both legs even when the session is quiet, and a drain that hits the deadline is logged with the number of handlers still running.
- Container create now refuses a body that carries
HostConfigorResourcesfields at its top level. Docker 24.x through 26.x decode the body with an embedded host config and use those top-level fields when the nestedHostConfigis absent or null, so{"Image":"x","Privileged":true,"Binds":["/:/host"]}skipped every create check, including on the shipped Drydock preset. The refusal covers Moby 26.1.5's whole field inventory plusCpuset, in any letter case, and nestedHostConfigrequests are unchanged. Docker 27 and newer, and Podman, never read the shape, so no minimum engine version is needed for this fix. - Owner isolation now authorizes networks named in a service's
TaskTemplate.Networks, not only the top-levelNetworksfield. Docker prefers the task template list, so a tenant could attach a service to another owner's overlay network through it. - Owner isolation now authorizes the source of a
Type: imagecontainer mount (Docker API 1.48+) against the caller's images, so a tenant can't read another owner's image filesystem through its own container. Podman and any upstream not identified as Docker refuse image mounts under ownership. - Owner isolation now covers
POST /swarm/leaveandGET /swarm/unlockkey. They used to skip the swarm ownership check, so a Portainer-style/swarm/**allow rule let a non-owner take a manager out of the swarm withforce=1. POST /volumes/create(and Podman's/libpod/volumes/create) naming an existing volume another owner holds is now refused, and a created volume's response is released only when it carries the caller's owner label. The daemon answers such a create with the stored volume's labels, driver and options, which can include mount credentials. Native Podman volume create responses also get the mountpoint redaction.- Builds are now refused while
ownership.owneris set: DockerPOST /build, Podman's/libpod/buildand/libpod/local/build, and the BuildKitSolveRPC. A build could use another owner's local image as itsFROMsource with pull off, and the owner stamp then labeled the copy as the caller's. This is a fail-closed stopgap until build sources are authorized. A deployment that builds through an owner-scoped proxy needs a separate instance withoutownership.owner. No shipped preset enables ownership, so no preset changes. - Docker network connect and disconnect are now matched on the whole network identifier before the action. Docker registers them as
/networks/{id:.*}/connect, soPOST /networks/a/b/connectnames the networka/b, and the matcher that stopped at the first slash skipped the endpoint-config gates (static IP, MAC, links, driver options) and the force-disconnect gate for it. This was reachable on the shipped Portainer preset and onNETWORKS=1compatibility rules, and the catalog rows now carry the slash-bearing identifier shape. Ownership's network path parsing is a separate fix. - Container create now refuses a non-empty
HostConfig.Links. The field was never decoded, so a caller could link its own container to another owner's and make dockerd register/<yours>/<alias>as a name for the victim, which stop, kill, archive and delete requests then resolved to the victim while ownership checked only the caller's container. This was reachable on the shipped Portainer preset. There is no opt-in. Compose files that uselinks:must switch to a user-defined network. Ownership's handling of slash-bearing names is a separate fix. - Owner isolation now refuses a SwarmKit template (
{{) in a service volume mount source or network target. SwarmKit expands it after the literal text was checked, so{{"victim-vol"}}could name another owner's volume. - Owner isolation now authorizes the whole network name on Docker network routes. dockerd registers them as
/networks/{id:.*}, soPOST /networks/a/b/connectacts on the networka/b, but ownership checked onlyaand never read the body'sContainer, which let a tenant connect or disconnect another owner's container and read or delete a foreigna/bnetwork. Connect and disconnect now strip only the final action, and DELETE and GET take the whole remainder. Podman's native single-segment routes are unchanged. - Owner isolation now looks up every service network target except the exact names
hostandbridge. Service targets reused the container network-mode exemption, which skipsdefault,none,ingressanddocker_gwbridgecase-insensitively, but Swarm resolves service targets by exact name andDefaultorNoneare creatable overlays, so a tenant could attach a service to another owner's overlay with one of those names. - Shutdown now signals hijacked exec and attach sessions as soon as it starts, instead of after
Server.Shutdownreturns. An open streaming request such asGET /eventsheldShutdownfor the whole grace period, so the sessions got no time to unwind and their audit records were lost. A handler's slot in the shutdown join is also reserved before the underlying hijack and rolled back if the hijack fails, so a session can no longer slip past the join in between. POST /libpod/networks/createnaming another owner's network withignoreIfExists=trueis now refused. Podman answers such a create with the existing network and a 200, and Sockguard only stamped the owner label, so a tenant could read a foreign network's labels and topology by naming it. The name is now checked against an existing network (another owner's or an unlabeled one is denied), the response is released only when the returned network carries the caller's owner label, and the response goes through network topology redaction when that is enabled.- A
POST /containers/{name}/startrequest whose body could carry aHostConfigis now refused, whatever the API version prefix, including a slash-bearing container name. Docker 24.x (and 25.x withDOCKER_MIN_API_VERSIONat 1.23 or lower) apply a start body below API 1.24 as the container'sHostConfig, so a harmless create followed by a privileged start body bypassed every create check, including on the shipped Drydock preset. An empty start and a fixed-leng...
v3.0.0-rc.8
v3.0.0-rc.8
[3.0.0-rc.8] - 2026-11-19
Security
- The service host-network guard no longer skips
POST /services/create?rollback=previous. The guard treated anyrollback=previousas a manual rollback and returned before reading the body, but Docker's create ignores that parameter and reads the body, so a create naming the host network by ID bypassed the check. The skip now applies only toPOST /services/{id}/update, and even there a manualrollback=previousis no longer waved through: the daemon re-applies the storedPreviousSpec, so sockguard inspects the service and runs the same host resolution on thePreviousSpec.TaskTemplate.NetworksandPreviousSpec.Networkstargets. A target that resolves to the host network is denied with403, and a failed service or network lookup returns502. A repeatedrollbackvalue on an update, or a manual rollback whoseversionis not exactly one numeric value, is refused with400instead of being treated as an ordinary update.request_body.service.allow_host_network: trueskips it. - Container create now refuses a non-empty
HostConfig.Links. The field was never decoded, so a caller could link its own container to another owner's and make dockerd register/<yours>/<alias>as a name for the victim, which stop, kill, archive and delete requests then resolved to the victim while ownership checked only the caller's container. This was reachable on the shipped Portainer preset. There is no opt-in. Compose files that uselinks:must switch to a user-defined network. Ownership's handling of slash-bearing names is a separate fix. - Docker network connect and disconnect are now matched on the whole network identifier before the action. Docker registers them as
/networks/{id:.*}/connect, soPOST /networks/a/b/connectnames the networka/b, and the matcher that stopped at the first slash skipped the endpoint-config gates (static IP, MAC, links, driver options) and the force-disconnect gate for it. This was reachable on the shipped Portainer preset and onNETWORKS=1compatibility rules, and the catalog rows now carry the slash-bearing identifier shape. Ownership's network path parsing is a separate fix. - A
POST /containers/{name}/startrequest whose body could carry aHostConfigis now refused, whatever the API version prefix, including a slash-bearing container name. Docker 24.x (and 25.x withDOCKER_MIN_API_VERSIONat 1.23 or lower) apply a start body below API 1.24 as the container'sHostConfig, so a harmless create followed by a privileged start body bypassed every create check, including on the shipped Drydock preset. An empty start and a fixed-length body of seven bytes or fewer (such as the{}Portainer sends) still pass, matching what current Docker accepts. Chunked and longer bodies are refused, with no opt-out. - Container create now refuses a body that carries
HostConfigorResourcesfields at its top level. Docker 24.x through 26.x decode the body with an embedded host config and use those top-level fields when the nestedHostConfigis absent or null, so{"Image":"x","Privileged":true,"Binds":["/:/host"]}skipped every create check, including on the shipped Drydock preset. The refusal covers Moby 26.1.5's whole field inventory plusCpuset, in any letter case, and nestedHostConfigrequests are unchanged. Docker 27 and newer, and Podman, never read the shape, so no minimum engine version is needed for this fix. - Docker-compat container create now refuses
HostConfig.Annotationskeys underrun.oci.and theio.podman.annotations.keys Podman acts on, unless the newrequest_body.container_create.allow_runtime_annotationsis set. The field wasn't modeled, so a create carryingio.podman.annotations.cid-filepassed on Podman, and deleting that container removed the named host file. This was reachable on the shipped Drydock preset.run.oci.keys are refused on every upstream, Docker included, because dockerd copies the field into the OCI runtime spec and crun honors keys such asrun.oci.seccomp_bpf_data. Theio.podman.annotations.refusal is skipped only when the engine probe positively identified Docker, so a Podman upstream and a pinnedupstream.flavorkeep it. A recreate tool that replays Podman inspect output carrying those keys needs the option. - Inline seccomp profiles are now gated. With
deny_unconfined_seccompset, Docker-compat container create refuses aseccomp=value that is a JSON document (seccomp={}disables seccomp on Docker and passed the check), and native libpod create refuses a non-emptyseccomp_profile, the inline field Podman 6.2 reads ahead ofseccomp_profile_path. With a profile allowlist active the native inline value must be listed exactly. The shipped CIS preset setsdeny_unconfined_seccompand now refuses both. - Container create now refuses the
writable-cgroupssecurity option (Docker 28 and newer), bare or set to any true value. Before this the option passed every create gate, including on the shipped Drydock preset, and left the container's cgroup mount writable. An explicitwritable-cgroups=falsestill passes. - Service create and update now deny Go template expressions (
{{) in a bind mount source and in any key or value of a mount's volume driver options. SwarmKit expands them after Sockguard inspects the request, so/srv/data/{{".."}}/{{".."}}against an allowlist of/srv/data, or a local volume witho: '{{"bind"}}'anddevice: /, mounted the host root. A bind source that cannot be normalized is now denied instead of skipped, and a mount with an empty or unknownType, which SwarmKit treats as a bind, is checked as one. Templates in a volume-type mount'sSourcekeep working. - Service create and update now deny the host network when the target is its network ID, an ID prefix or any name that resolves to a host-driver network, not only the literal name
host. Sockguard resolves eachNetworkstarget with aGET /networks/{target}after ownership, denies on a host-driver result, returns502if the lookup fails and leaves unknown networks to the daemon. Settingrequest_body.service.allow_host_network: truestill turns the check off. - Apply reloaded
clients.allowed_cidrsto the dedicated admin listener. It kept the startup allowlist, so a reload that removed a source left it admitted to the admin endpoints. The admin chain is now rebuilt from the same validated config on every successful reload, and a rejected reload changes neither chain. - Update the static website and docs build to Next.js 16.4.5 for GHSA-vc7v-qv4w-wrv8 and GHSA-mfr8-8qww-v76h. These cache advisories require a running Next.js server; both sites use static export. Record the unpatched picomatch advisory CVE-2026-112366 as a package-lock-only Qlty exception: glob patterns come from the trusted repository build, and npm packages are absent from the shipped Go binary and container.
- Scope the unpatched picomatch advisory GHSA-fc5q-39xc-vjpf out of the Grype dependency scan with a package-lock-only ignore, matching the Qlty exception: glob patterns come from the trusted repository build, and npm packages are absent from the shipped Go binary and container.
- Update the linked OpenTelemetry API, metric, trace and log modules to 1.47.0 for GHSA-q7gw-24fr-5p69 / CVE-2026-128085, an attribute value length limit bypass involving valid replacement characters. Trace is linked through Sigstore; the advisory's affected tracing path has not been demonstrated in Sockguard.
- Owner isolation now authorizes networks named in a service's
TaskTemplate.Networks, not only the top-levelNetworksfield. Docker prefers the task template list, so a tenant could attach a service to another owner's overlay network through it. - Owner isolation now authorizes the source of a
Type: imagecontainer mount (Docker API 1.48+) against the caller's images, so a tenant can't read another owner's image filesystem through its own container. Podman and any upstream not identified as Docker refuse image mounts under ownership. - Owner isolation now covers
POST /swarm/leaveandGET /swarm/unlockkey. They used to skip the swarm ownership check, so a Portainer-style/swarm/**allow rule let a non-owner take a manager out of the swarm withforce=1. POST /volumes/create(and Podman's/libpod/volumes/create) naming an existing volume another owner holds is now refused, and a created volume's response is released only when it carries the caller's owner label. The daemon answers such a create with the stored volume's labels, driver and options, which can include mount credentials. Native Podman volume create responses also get the mountpoint redaction.- Builds are now refused while
ownership.owneris set: DockerPOST /buildand the BuildKitSolveRPC. A build could use another owner's local image as itsFROMsource with pull off, and the owner stamp then labeled the copy as the caller's. This is a fail-closed stopgap until build sources are authorized (Podman builds were already refused). A deployment that builds through an owner-scoped proxy needs a separate instance withoutownership.owner. No shipped preset enables ownership, so no preset changes. - Owner isolation now authorizes the whole container name on Docker container routes. dockerd accepts slash-bearing names, and a legacy
HostConfig.Linksentry registers/A/xas an alias of the linked container, soPOST /containers/A/x/stop,kill,archiveorDELETEacted on another owner's container while ownership checked onlyA. TheHostConfig.Linkssources are now authorized too, and the exec, attach, update, archive and inspect-redaction matchers read the same full name. Docker registers checkpoint deletion as/containers/{name}/checkpoints/{checkpoint}with a single-segment name, so only that shape is treated as a checkpoint delete on{name};DELETE /containers/A/x/checkpoints/cpreaches generic delet...
v2.4.7
v2.4.7
[2.4.7] - 2026-11-14
v2.4.7 updates OpenTelemetry and the Go toolchain for security fixes. It carries v2.4.6.
Security
-
Update the static website and docs build to Next.js 16.4.5 for GHSA-vc7v-qv4w-wrv8 and GHSA-mfr8-8qww-v76h. These cache advisories require a running Next.js server; both sites use static export. Record the unpatched picomatch advisory CVE-2026-112366 as a package-lock-only Qlty exception: glob patterns come from the trusted repository build, and npm packages are absent from the shipped Go binary and container.
-
Update the linked OpenTelemetry API, metric, trace and log modules to 1.47.0 for GHSA-q7gw-24fr-5p69 / CVE-2026-128085, an attribute value length limit bypass involving valid replacement characters. Trace is linked through Sigstore; the advisory's affected tracing path has not been demonstrated in Sockguard.
-
Build with Go 1.27.4 for GO-2026-6859 / CVE-2026-97054, a net/http header race that can crash an HTTP/1 server when a request exceeds a body limit while response headers are written concurrently. Update the pinned builder image and all module toolchain directives together.
v3.0.0-rc.7
v3.0.0-rc.7
[3.0.0-rc.7] - 2026-11-13
Combines the reviewed v3 compatibility changes and hardening work into one
v3.0 candidate. This includes the v2.4.5 and v2.4.6 security fixes, Go 1.27.4,
owner-scoped Podman build refusals, image-history redaction and the completed
regression, fuzz and mutation work. Candidate-only behavior changes require a
fresh 14-day bake from this candidate's publication, plus exact-source soak,
TLS/security and published-image conformance. The previous November 17 floor
for rc.6 does not cover this source. Stable channels remain on v2.4.6.
Security
-
Refuse owner-scoped Podman builds through Docker-compatible, native and daemon-host routes in every rollout mode. Base-image archive imports can replace another owner's image names even with
pullpolicy=never. Docker builds and Podman builds without owner isolation retain their existing checks. -
Build with Go 1.27.4, including the digest-pinned container builder, for GO-2026-6859 / CVE-2026-97054, an HTTP/1 header race in the standard library.
-
Refresh age-eligible Docker login and daemon setup actions, CodeQL and Cosign pins for the next release.
-
Pin Grype to v0.121.0 in all scanner calls so its release installer fails on archive checksum mismatches instead of continuing with the action's older default.
-
Recognize space, tab and newline separators after counted build-argument history prefixes.
-
Redact complete build-argument-prefixed image history entries when environment redaction is enabled, preventing shell-looking argument values from exposing secrets through a guessed command boundary. Ordinary RUN history remains visible.
-
Disable both sudo and container access in six local scanner/check jobs that need neither. Document and test the pinned shared offline scanner's existing read-only runner-access exception.
-
Refuse byte-identical repeated JSON control keys before ownership callbacks in every rollout mode, using the original bounded body instead of the collapsed map. Preserve decoder-divergent key diagnostics and their rollout behavior.
-
Compare all published chart file paths and contents with the locally built package before signing an adopted version. Require the expected package in both release and rehearsal verification.
-
Fail closed on OCI nodes carrying both index and manifest config shapes, and keep
.jsonentries under OCI blob paths subject to unreferenced-blob validation. -
Redact verbose-network task host-IP metadata and host namespace paths in container network modes when network-topology redaction is enabled.
-
Keep registry signature discovery inside the dial guard when proxy environment variables are set, and reject shared, reserved, documentation, translated non-public IPv4 and local-use NAT64 addresses, including zoned IPv6 spellings, unless the operator explicitly lists the destination.
-
Require canonical names for owner-scoped Podman network deletion through either API family and matching config IDs for image-volume references, preventing delayed references from following recreated networks or mutable manifest lists.
-
Update the application and Docker client compatibility modules to
github.com/klauspost/compress1.20.2 for GO-2026-6865 / CVE-2026-116591, a panic on malformed zstd frames.
Fixed
-
Correct the Watchtower preset note to distinguish clearing environment values from redacting sensitive bind sources.
-
Check workflow-name block scalars with trailing whitespace and CRLF headers.
-
Probe the fresh shared socket from a UID/GID 65532 consumer using a digest-pinned image. Preserve the fuzz matrix's parallelism cap without stale cross-repository job totals.
-
Cover service host-network refusal and its explicit opt-in for both network locations on create and update requests.
-
Correct preset redaction comments, image-load ownership wording, tiny-cap priority ordering, refusal-code guidance and Podman secret-list visibility scope. List concrete native image-trust environment variables, preserve curl failures in the admin validation example, and document the harness sudo prerequisite.
-
Run the chart release CLI gate through symlinked or space-containing paths instead of silently skipping validation.
-
Correct the raw-stream response deadline, first TLS-removal candidate, current-stable tag source, numeric-UID security scope, allowed quoted heredocs and Podman empty-option tmpfs documentation. Warn that the unchanged published rc.6 predates the v2.4.5 and v2.4.6 security fixes.
-
Share one elapsed-time deadline across inventory list/inspect checks and cap access-log retry sleeps at the remaining window.
-
Require an authentication-error log message for the wrong-secret probe instead of accepting
401in unrelated timestamps, ports or byte counts. -
Record dependent lifecycle and exec assertions as skipped after sentinel creation fails, preserving the original failure without duplicating it.
-
Reuse the prepared digest-pinned BusyBox image for the conformance socket ownership probe, distinguishing probe setup errors from incorrect ownership.
-
Enforce the no-emoji commit subject rule through the same validator locally and in CI, with executable regressions for fork promotion exemptions.
-
Detect conflict markers in CR-only text, compare every fuzzer in the
ultraalias, and drain negative-auth probe logs before returning a match, and cap store polling requests at the remaining deadline. -
Cover service signature discovery with an unlisted private registry even when all registry scopes are allowed, verifying that the address guard prevents any request.
-
Limit replay-client redaction warnings to assigned profiles, explain that disabling redaction affects every readable client scope, and warn before a validated configuration reload swaps handlers.
-
Report unknown YAML keys with null or empty-map values during validation and reload diagnostics, including
validate --strict, while preserving known empty values and dotted or case-insensitive keys. -
Scope container signature discovery to the registries named by exact image allowlists, and pass Swarm service image and registry scopes into its signature dial guard.
-
Reject non-JSON whitespace around native Podman network inspect responses instead of stripping it before label decoding, and retain the original minimized fuzz input as a corpus regression.
Changed
-
Include the remaining chart and CodeQL runner pins in the Harden Runner v2.22.3 refresh.
-
Refresh direct Harden Runner action pins to age-eligible v2.22.3, retaining the existing runner-access and egress policies.
-
Refresh the docs compiler's indirect magic-string dependency to 1.4.5 after the 14-day release-age window, satisfying the unchanged lockfile-dedupe gate.
-
Ensure bridge, resolver and limiter test fixtures release their resources when assertions fail, and make concurrency admission regressions fail promptly.
-
Meet the mutation target with the November 6 measurement: 97.9821% test efficacy across all 43 packages at the source tree merged as
7dbc523f, above the unchanged 97.8% target, with timeouts separate from kills. -
Avoid a false test failure when an injected session-start failure cancels a mock-daemon control request.
-
Cover graceful tunnel disconnects, policy-specific image-mount and ordered overlay denials, and pull checks for stored short names and reported image IDs.
-
Verify compiled route-search closures retain their start states and candidate enumeration spends the shared work budget.
-
Explicitly opt the isolated conformance identity agent into HTTP enrollment on its private test network for Portwing 1.2 compatibility.
-
Cover minimum-rune boundaries in the conservative route-language model and verify logged Podman volume-filter capabilities.
-
Verify deployment checks preserve the command cancellation context while probing a healthy fixture.
-
Verify the runtime concurrency limiter applies engine-specific streaming behavior to container top requests.
-
Verify readiness probes publish metrics and cgroup retries update the live runtime callback.
-
Exercise frontend, inspect and pull subprocess cleanup when an exited command leaves inherited output pipes open.
-
Verify empty ordinary attach responses stay hop-terminated and strip connection-scoped headers.
-
Verify frontend runner upgrades retain the configured authority and choose HTTP or HTTPS default ports before a canceled dial.
-
Test route witnesses with exactly enough shared state, transition and instruction-work budgets, plus one unit below and above.
-
Test prompt runner cancellation after a session-server failure and process-error reporting after a successful frontend Return.
-
Verify owner labels are stamped on image configuration forwarded by frontend gateway Return calls.
-
Cover engine-specific reserved network names and distinct resource kinds that share an identifier during container creation.
-
Test frontend scratch-result validation, independent sibling build completion and gateway denial-budget behavior.
-
Verify route reachability for long container names outside the preferred witness characters.
-
Cover exact inspect-response byte limits for canonical Podman network deletion and image-volume ID checks.
-
Cover digest-only pulls of bare repository names through Docker and Podman-compatible ownership post-checks.
-
Verify secret replacement distinguishes an unrelated ID-prefix inspect result from an exact foreign-owned secret.
-
Cover FileSync EOF at the exact retained-frame overhead cap before inspected data is released.
-
Cover frontend gateway build-reference and file-path length boundaries.
-
Cover default and explicit driver selection in inline tmpfs privilege checks.
-
Cover reported-image-ID and pre-pull snapshot count limits, including duplicate and empty reported IDs.
-
Verify create-policy validation reports the correct list entry for invalid commands, entrypoints and environment values.
-
Cover mal...
v2.4.6
v2.4.6
[2.4.6] - 2026-11-06
v2.4.6 updates the compression dependency to fix a panic on malformed zstd frames. It carries v2.4.5.
Security
- Update
github.com/klauspost/compressfrom 1.19.2 to 1.20.2 in the application and Docker client compatibility modules to fix GO-2026-6865 / CVE-2026-116591, a panic when decoding malformed zstd frames.
v3.0.0-rc.6
v3.0.0-rc.6
[3.0.0-rc.6] - 2026-11-03
This candidate carries v2.4.4 (the client compatibility sweep and libpod create hardening). It narrows response.redact_network_topology to addresses, so opaque IDs pass through and a mount Source is kept only for named mount types, with MaskedPaths and ReadonlyPaths untouched. It adds libpod gates for unified, env_host and pod, reports unknown config keys, and adds compose examples for Homepage, Homarr, Diun and Autoheal. The Helm chart will publish as a signed OCI artifact from v3.0.0, and the hand-rolled star chart is removed. These are candidate-only behavior changes, so the 14-day bake window restarts: GA is no earlier than 2026-11-17. Fresh exact-source soak, TLS/security and published-image conformance are required before GA.
Added
- Helm chart published as a signed OCI artifact. From v3.0.0, a stable tag cut from the default branch pushes the chart to
oci://ghcr.io/codeswhat/charts/sockguard, with its image reference pinned to the release's multi-arch digest, signed keyless like the image, and verified by the QA-6 published-artifact job. Release candidates and maintenance patches publish no chart. - Compose examples for Homepage, Homarr, Diun and Autoheal.
examples/compose/homepage/,homarr/,diun/andautoheal/each pair the consumer with its bundled preset, and the compose sync test now guards theirsockguard.yamlcopies against drift. - Unknown configuration keys are reported. Config loading only decoded the
mutationsblock strictly, so a typo'd or dead key anywhere else passedsockguard validatesilently.sockguard validatenow prints a warning per unrecognized key (dotted path plus file) and still exits 0; the new--strictflag exits non-zero instead.sockguard servelogs one warning per key at startup, and hot reload logs the same. The check reads only the YAML file, soSOCKGUARD_*and Tecnativa environment variables never show as unknown, and no config that loads today stops loading.app/configs/multi-listener.yamldropped three deadclients.profiles[].response.redact_*keys it carried.
Changed
response.redact_network_topologyredacts addresses, not opaque IDs. It no longer rewritesHostConfig.NetworkMode,NetworkSettings.Networks[*].NetworkIDandEndpointID, top-levelNetworkSettings.EndpointIDandSandboxID, serviceEndpoint.VirtualIPs[].NetworkID, taskServiceID,NodeID,Status.ContainerStatus.ContainerIDandNetworksAttachments[].Network.ID, orInfo.Swarm.NodeID. Clients use these as join keys (Traefik's Swarm provider matchesVirtualIPs[].NetworkIDand inspectstask.NodeID, Homepage's Swarm mode matchestask.ServiceID, Portainer disconnects byNetworkID, Traefik's Docker provider branches onNetworkMode), and they hid nothing the network name in theNetworksmap didn't already show. Clients that can't list networks, such as the Homepage preset reading/tasksand/services, now see opaque network, service, node and container IDs; names were already visible to them. IP and MAC addresses,SandboxKey,Status.AddrandNodeAddrare still redacted. If you relied on the old behavior to hide these IDs, they are visible now. Also,response.redact_mount_pathsstops emptyingHostConfig.MaskedPathsandHostConfig.ReadonlyPaths(they aren't mount paths, and an empty array replayed into create disables masking, because the daemon applies its defaults only when the field is absent), and keepsHostConfig.Mounts[].Sourceonly forvolume,tmpfs,imageandclustermounts, whose source is a name;bind,npipe, a missing type and unknown types stay redacted. The Homepage preset no longer needs a Swarm override.- The hand-rolled star chart is gone. The README and website already embed Star History, so the dispatch-only
starchart.ymlworkflow, the committedstar-history*.svgpair, the star-chart contract test and the "dispatch starchart" step inRELEASING.mdare removed. Nothing in the release cut read the chart.
Fixed
- The Diun preset no longer breaks Diun's container list. The default network-topology redaction rewrites
NetworkSettings.Networks[*].IPAddress,Gateway,GlobalIPv6Address,IPv6GatewayandMacAddressto the literal<redacted>, which typed Go Docker clients can't decode, so Diun failed withParseAddr("<redacted>"): unable to parse IP.app/configs/diun.yamlnow setsresponse.redact_network_topology: false.
Security
- Native container create gates two more SpecGenerator fields.
POST /libpod/containers/createforwarded a non-emptyunifiedmap, raw cgroup v2 control values Podman writes into the container's cgroup, andenv_host: true, which copies the Podman daemon's environment into the container (it was only refused while an environment allow or deny list was set). Both are now denied unlessrequest_body.libpod_container_create.allow_unified_cgroup_settingsorallow_env_hostis on (SOCKGUARD_REQUEST_BODY_LIBPOD_CONTAINER_CREATE_ALLOW_UNIFIED_CGROUP_SETTINGSand..._ALLOW_ENV_HOST). This is a default-deny change for a client that sets either, such aspodman run --cgroup-confor--env-host. A non-emptypod(which joins the pod's infra namespaces) is now denied whilerestrict_namespace_sharingis on, the same switch that governscontainer:<ref>joins; it passes with that off, as before.r_limitsstays ungated like the Docker-compatUlimits, and when owner isolation is enabledpodanddependencyContainersare also owner-checked.
v2.4.5
v2.4.5
[2.4.5] - 2026-11-03
v2.4.5 is a security release. A numeric user with a sign prefix such as +0 was not treated as root, so request_body.exec.allow_root_user: false and require_non_root_user could be bypassed to run as UID 0 on Docker and Podman. It carries v2.4.4.
Security
- Signed numeric user IDs such as
+0,-0,+00and+0:0were not treated as root. dockerd and Podman parse a numeric user withstrconv.Atoi, which accepts a sign, but the filter usedParseUint, which does not. A container create, libpod create or exec create with"User":"+0"therefore got pastrequire_non_root_userandrequest_body.exec.allow_root_user: falseand ran as UID 0. The filter now parses the user the way the engines do. A value that overflows is a user name to the engines too, so it is still looked up by name and never wraps to 0.
v2.4.4
v2.4.4
[2.4.4] - 2026-11-03
v2.4.4 fixes typed Docker clients such as Traefik and Diun breaking on redaction placeholders, Portainer Recreate under its preset, visibility image_patterns on inspect, watchtower and portwing preset rule gaps, and upstream timeouts on slow stop and prune calls and 429 bodies without a message. It closes libpod create bypasses (host_device_list, resource_limits.devices, volumes_from and others) and libpod inspect CreateCommand and Secrets leaks, and adds a real-Docker-types compat CI job. It carries v2.4.3.
Added
- Add the
app/compattest module and aClient Compat (real Docker types)CI job. It runs the response filter over daemon-shaped fixtures for every redacted endpoint under every redaction-flag combination, plus the visibility and ownership list filters, and decodes the output into the realmoby/moby/apianddocker/dockerv28 types. A placeholder written into a non-string wire field now fails CI instead of a user's client. The module is separate from the proxy, so neither library enters the binary's dependencies. upstream.response_header_timeout(default"30s","off"disables). The wait for the daemon's response headers was hard-coded at 30s with no way to change it. The default keeps today's behavior. Env varSOCKGUARD_UPSTREAM_RESPONSE_HEADER_TIMEOUT; reload-immutable because it is bound into the upstream transport at startup.- Startup warning for create plus redaction.
serveandvalidatenow warn when the effective rules (default or any client profile) allowPOST /containers/createorPOST /libpod/containers/createwhileresponse.redact_container_env,response.redact_mount_pathsorresponse.redact_network_topologyis on. The warning is emitted once, names the enabled keys and the first allowing scope plus a count of others, and notes that only clients that replay inspect output into create (Portainer Recreate/Duplicate, drydock and watchtower updates) lose data. Top-level rules are skipped whenclients.default_profileis set, since they are never reached. The drydock, watchtower, portwing and portainer presets stay silent.
Fixed
- Stop
response.redact_network_topologyfrom breaking typed Docker clients. IP and MAC address fields (IPAddress,Gateway,IPv6Gateway,GlobalIPv6Address,LinkLocalIPv6Address,MacAddresson container list, inspect and/system/dfNetworkSettingsand eachNetworksentry, plus serviceVirtualIPs[].Addr) now come back as""instead of"<redacted>". Current moby API types decode them asnetip.Addr,netip.PrefixandHardwareAddr, so clients like Traefik and Diun failed with errors likeParseAddr("<redacted>"). Plain string identifiers (EndpointID,NetworkID,SandboxID,SandboxKey,Bridge,NetworkMode) and node/swarmAddrstrings still read<redacted>. The Traefik preset (app/configs/traefik.yamlandexamples/compose/traefik/sockguard.yaml) now setsresponse.redact_network_topology: false, because Traefik routes to container IPs and cannot work with blanked addresses. The same fix covers byte fields:CertIssuerSubjectandCertIssuerPublicKeyin node, swarm and/infoTLSInfo, andSpec.Dataon configs and secrets, are[]byte(base64) in moby/api and docker/docker, so the"<redacted>"placeholder made every Go client fail to decode/nodes,/nodes/{id},/swarmand/infoon swarm managers. They now come back as"", which is valid empty base64.TrustRootstays a string and still reads<redacted>. - Stop cutting slow container stop/restart, prune and
/system/dfcalls at the upstream timeouts.docker stop -t 90got a 504 at 60s fromrequest_timeout, and anything past 30s got a 502 from the header deadline, because the daemon sends no headers until the stop finishes. All of them skip the header timeout. Prune stays fully exempt (dockerd serializes it). Container and pod stop/restart (Docker and libpod) get a request deadline ofmax(request_timeout, grace + 30s), with grace taken fromt(or libpodtimeout), 10s by default and clamped to 1h, so?t=2147483647can't hold a request open forever.GET /system/dfskips only the header timeout and keepsrequest_timeout. Because those paths no longer trip the header deadline, a wedged daemon is detected by the health probe (which demotes the endpoint in a failover set) instead of by the request. Ordinary requests keep both deadlines. - Add the Docker error-contract
messagefield to rate-limit, concurrency and priority-floor 429 bodies, and sendRetry-Afteron the concurrency and priority 429s too. The bodies carried onlyreason, so docker-py raisedKeyError: 'message'and the moby client reported "provided no error-message" instead of the throttle reason. Existing fields are unchanged. - Portainer preset no longer redacts inspect output.
portainer.yaml(and the compose example copy) now setsresponse.redact_mount_paths,redact_container_envandredact_network_topologytofalse, like the drydock and watchtower presets. Portainer Recreate replays inspect output into container create, and with the default redactions the network disconnect 404ed on a redacted network ID, leaving the container stopped and renamed, while env and binds would have been lost. The preset now shows those fields (env values including secrets, host bind paths, network IDs) in inspect output; it already setsinsecure_allow_read_exfiltration, and operators who don't use Recreate or Duplicate can turn the redactions back on. - Match visibility
image_patternson the image name for container inspect,/logs,/topand/stats. Inspect reports the image ID (sha256:...) in the top-levelImagefield while the list reports the name, so a container visible in the list returned 404 on every single-container read. Sockguard now matchesConfig.Image(Docker and Podman compat) orImageName(libpod) and falls back toImageonly when both are empty. A body with no usable reference stays hidden. - Let
containrrr/watchtowerv1.7.1 update a container through thewatchtower.yamlpreset. It stops withPOST /containers/{id}/killand force-disconnects the default network after create, and both were denied. The preset now allows kill and disconnect (withallow_disconnect_force), carries a commentedGET /system/dfrule for nicholas-fedor's disk thresholds, and its header names both forks. - Allow
POST /networks/*/connectinportwing.yamlandportwing-with-exec.yaml(and the matching tri-tool and portwing compose examples), asdrydock.yamlalready does, so drydock behind Portwing can re-attach a recreated container's extra networks. The endpoint-config policy stays at the default, which admits Aliases only. - Add a commented, opt-in
request_body.container_create.allow_host_cgroupns: trueline to the Watchtower, Drydock and Portwing presets and their compose examples. Cgroup v1 hosts such as Synology replayCgroupnsMode: "host"on recreate, which create denies by default. Enabling it widens create to the host cgroup namespace. - Document in
homepage.yamland the presets page that Homepage's Swarm mode needsresponse.redact_network_topology: false. The default is unchanged.
Security
- Podman container inspect no longer returns
Config.CreateCommandorConfig.Secrets.GET /libpod/containers/{id}/jsonpublished the fullpodman runcommand line, repeating every-evalue and-vhost path the other redactions remove, and the secrets mounted into the container. Both are now cleared to[]:CreateCommandunderredact_container_envorredact_mount_paths,Secretsunderredact_sensitive_data, all on by default. Docker bodies have neither key and pass through unchanged. POST /libpod/containers/createnow gates the libpod spellings of fields the Docker create refuses.volumes_from,cgroup_parent,groupsandhostaddare denied unconditionally, asVolumesFrom, a customCgroupParent,GroupAddandExtraHostsalready were on/containers/create.oci_runtimeis checked against the newrequest_body.libpod_container_create.allowed_runtimes,device_cgroup_ruleagainstallow_device_cgroup_rules/allowed_device_cgroup_rules,gpusagainstallow_device_requestsandunmaskagainstdeny_unconfined_system_paths, all under the same names, defaults and denial reasons as the compat create. Podman users who relied on--volumes-from,--cgroup-parent,--group-addor--add-hostthrough an allowed libpod create will now be denied, matching Docker.oci_runtime,device_cgroup_ruleandgpusare also denied until their option is set.POST /libpod/containers/createno longer letshost_device_listandresource_limits.devicesskip the device policy. When a container joins a pod with an infra container anddevicesis empty, Podman useshost_device_listas the device list, so{"pod":"p","devices":[],"host_device_list":[{"path":"/dev/sda"}]}bypassed the device allowlist. Everyhost_device_listpath now goes through the sameallowed_devices/allow_all_devicescheck asdevices, and anydevices_fromvalue is denied.resource_limits.devicesoverwrites the container's device cgroup rules and could granta *:* rwm; eachallow: trueentry now followsallow_device_cgroup_rules/allowed_device_cgroup_rules, andallow: falseentries pass.GET /libpod/pods/{id}/jsonalso clearsCreateCommandto[]underredact_container_envorredact_mount_paths.
v3.0.0-rc.5
v3.0.0-rc.5
[3.0.0-rc.5] - 2026-11-02
This candidate adds only fixes already released in v2.4.3 plus getsockguard.com site changes to rc.4. There are no new v3 proxy or TLS changes. The GA floor of 2026-10-31 16:08:58 UTC stands, and a fresh exact-source soak, TLS/security and published-image conformance are required on rc.5 before GA.
Changed
- Website rebuilt. The getsockguard.com landing page is rebuilt with a refreshed compare matrix, a GitHub star-history chart, and the Go Reference footer link pointing at the
/v3module. Playwright browser checks now run the site on Chromium, Firefox and WebKit in CI. - Docs layout widened. The docs site layout is now 1600px wide, the docs header drops the Compare link, and search and the theme toggle moved into the sidebar.
Fixed
- Carry v2.4.3's FlushError fix. The hijack tracker's response writer now implements
FlushError, sohttp.ResponseController.Flushreports a failed underlying flush instead of returning nil. The same v2.4.3 release also stops completed hijacked sessions from accumulating in the listener.