Skip to content

Releases

v2.4.9

Choose a tag to compare

@github-actions github-actions released this 24 Nov 01:31
5d6c493

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, PUT and DELETE /libpod/manifests/{name}, /add, /push and /registry/{destination}) and POST /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 with owner_libpod_manifest_write_unscopeable and owner_libpod_volume_rename_unscopeable.

v2.4.8

Choose a tag to compare

@github-actions github-actions released this 21 Nov 13:22
38510dc

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_cidrs to 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-cgroups security 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 explicit writable-cgroups=false still passes.
  • Inline seccomp profiles are now gated. With deny_unconfined_seccomp set, Docker-compat container create refuses a seccomp= value that is a JSON document (seccomp={} disables seccomp on Docker and passed the check), and native libpod create refuses a non-empty seccomp_profile, the inline field Podman 6.2 reads ahead of seccomp_profile_path. With a profile allowlist active the native inline value must be listed exactly. The shipped CIS preset sets deny_unconfined_seccomp and 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 each Networks target with a GET /networks/{target} after ownership, denies on a host-driver result, returns 502 if the lookup fails and leaves unknown networks to the daemon. Setting request_body.service.allow_host_network: true still 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 with o: '{{"bind"}}' and device: /, mounted the host root. A bind source that cannot be normalized is now denied instead of skipped, and a mount with an empty or unknown Type, which SwarmKit treats as a bind, is checked as one. Templates in a volume-type mount's Source keep working.
  • Docker-compat container create now refuses HostConfig.Annotations keys under run.oci. and the io.podman.annotations. keys Podman acts on (cid-file, autoremove, autoremove-image), unless the new request_body.container_create.allow_runtime_annotations is set. The field wasn't modeled, so a create carrying io.podman.annotations.cid-file passed on Podman, and deleting that container removed the named host file. dockerd copies the map into the OCI runtime spec, where crun honors run.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 HostConfig or Resources fields 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 nested HostConfig is 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 plus Cpuset, in any letter case, and nested HostConfig requests 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-level Networks field. 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: image container 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/leave and GET /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 with force=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.owner is set: Docker POST /build, Podman's /libpod/build and /libpod/local/build, and the BuildKit Solve RPC. A build could use another owner's local image as its FROM source 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 without ownership.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, so POST /networks/a/b/connect names the network a/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 on NETWORKS=1 compatibility 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 use links: 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:.*}, so POST /networks/a/b/connect acts on the network a/b, but ownership checked only a and never read the body's Container, which let a tenant connect or disconnect another owner's container and read or delete a foreign a/b network. 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 host and bridge. Service targets reused the container network-mode exemption, which skips default, none, ingress and docker_gwbridge case-insensitively, but Swarm resolves service targets by exact name and Default or None are 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.Shutdown returns. An open streaming request such as GET /events held Shutdown for 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/create naming another owner's network with ignoreIfExists=true is 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}/start request whose body could carry a HostConfig is now refused, whatever the API version prefix, including a slash-bearing container name. Docker 24.x (and 25.x with DOCKER_MIN_API_VERSION at 1.23 or lower) apply a start body below API 1.24 as the container's HostConfig, 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...
Read more

v3.0.0-rc.8

v3.0.0-rc.8 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 16:37
0c3d7d8

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 any rollback=previous as 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 to POST /services/{id}/update, and even there a manual rollback=previous is no longer waved through: the daemon re-applies the stored PreviousSpec, so sockguard inspects the service and runs the same host resolution on the PreviousSpec.TaskTemplate.Networks and PreviousSpec.Networks targets. A target that resolves to the host network is denied with 403, and a failed service or network lookup returns 502. A repeated rollback value on an update, or a manual rollback whose version is not exactly one numeric value, is refused with 400 instead of being treated as an ordinary update. request_body.service.allow_host_network: true skips 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 use links: 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, so POST /networks/a/b/connect names the network a/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 on NETWORKS=1 compatibility 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}/start request whose body could carry a HostConfig is now refused, whatever the API version prefix, including a slash-bearing container name. Docker 24.x (and 25.x with DOCKER_MIN_API_VERSION at 1.23 or lower) apply a start body below API 1.24 as the container's HostConfig, 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 HostConfig or Resources fields 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 nested HostConfig is 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 plus Cpuset, in any letter case, and nested HostConfig requests 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.Annotations keys under run.oci. and the io.podman.annotations. keys Podman acts on, unless the new request_body.container_create.allow_runtime_annotations is set. The field wasn't modeled, so a create carrying io.podman.annotations.cid-file passed 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 as run.oci.seccomp_bpf_data. The io.podman.annotations. refusal is skipped only when the engine probe positively identified Docker, so a Podman upstream and a pinned upstream.flavor keep it. A recreate tool that replays Podman inspect output carrying those keys needs the option.
  • Inline seccomp profiles are now gated. With deny_unconfined_seccomp set, Docker-compat container create refuses a seccomp= value that is a JSON document (seccomp={} disables seccomp on Docker and passed the check), and native libpod create refuses a non-empty seccomp_profile, the inline field Podman 6.2 reads ahead of seccomp_profile_path. With a profile allowlist active the native inline value must be listed exactly. The shipped CIS preset sets deny_unconfined_seccomp and now refuses both.
  • Container create now refuses the writable-cgroups security 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 explicit writable-cgroups=false still 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 with o: '{{"bind"}}' and device: /, mounted the host root. A bind source that cannot be normalized is now denied instead of skipped, and a mount with an empty or unknown Type, which SwarmKit treats as a bind, is checked as one. Templates in a volume-type mount's Source keep 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 each Networks target with a GET /networks/{target} after ownership, denies on a host-driver result, returns 502 if the lookup fails and leaves unknown networks to the daemon. Setting request_body.service.allow_host_network: true still turns the check off.
  • Apply reloaded clients.allowed_cidrs to 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-level Networks field. 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: image container 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/leave and GET /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 with force=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.owner is set: Docker POST /build and the BuildKit Solve RPC. A build could use another owner's local image as its FROM source 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 without ownership.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.Links entry registers /A/x as an alias of the linked container, so POST /containers/A/x/stop, kill, archive or DELETE acted on another owner's container while ownership checked only A. The HostConfig.Links sources 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/cp reaches generic delet...
Read more

v2.4.7

Choose a tag to compare

@github-actions github-actions released this 17 Nov 20:22
1d56c55

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 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Nov 17:15
8d3dd9a

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 .json entries 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/compress 1.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 401 in 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 ultra alias, 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...

Read more

v2.4.6

Choose a tag to compare

@github-actions github-actions released this 06 Nov 13:22
20ebbe9

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/compress from 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 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Nov 02:47
9605177

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/ and autoheal/ each pair the consumer with its bundled preset, and the compose sync test now guards their sockguard.yaml copies against drift.
  • Unknown configuration keys are reported. Config loading only decoded the mutations block strictly, so a typo'd or dead key anywhere else passed sockguard validate silently. sockguard validate now prints a warning per unrecognized key (dotted path plus file) and still exits 0; the new --strict flag exits non-zero instead. sockguard serve logs one warning per key at startup, and hot reload logs the same. The check reads only the YAML file, so SOCKGUARD_* and Tecnativa environment variables never show as unknown, and no config that loads today stops loading. app/configs/multi-listener.yaml dropped three dead clients.profiles[].response.redact_* keys it carried.

Changed

  • response.redact_network_topology redacts addresses, not opaque IDs. It no longer rewrites HostConfig.NetworkMode, NetworkSettings.Networks[*].NetworkID and EndpointID, top-level NetworkSettings.EndpointID and SandboxID, service Endpoint.VirtualIPs[].NetworkID, task ServiceID, NodeID, Status.ContainerStatus.ContainerID and NetworksAttachments[].Network.ID, or Info.Swarm.NodeID. Clients use these as join keys (Traefik's Swarm provider matches VirtualIPs[].NetworkID and inspects task.NodeID, Homepage's Swarm mode matches task.ServiceID, Portainer disconnects by NetworkID, Traefik's Docker provider branches on NetworkMode), and they hid nothing the network name in the Networks map didn't already show. Clients that can't list networks, such as the Homepage preset reading /tasks and /services, now see opaque network, service, node and container IDs; names were already visible to them. IP and MAC addresses, SandboxKey, Status.Addr and NodeAddr are still redacted. If you relied on the old behavior to hide these IDs, they are visible now. Also, response.redact_mount_paths stops emptying HostConfig.MaskedPaths and HostConfig.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 keeps HostConfig.Mounts[].Source only for volume, tmpfs, image and cluster mounts, 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.yml workflow, the committed star-history*.svg pair, the star-chart contract test and the "dispatch starchart" step in RELEASING.md are 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, IPv6Gateway and MacAddress to the literal <redacted>, which typed Go Docker clients can't decode, so Diun failed with ParseAddr("<redacted>"): unable to parse IP. app/configs/diun.yaml now sets response.redact_network_topology: false.

Security

  • Native container create gates two more SpecGenerator fields. POST /libpod/containers/create forwarded a non-empty unified map, raw cgroup v2 control values Podman writes into the container's cgroup, and env_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 unless request_body.libpod_container_create.allow_unified_cgroup_settings or allow_env_host is on (SOCKGUARD_REQUEST_BODY_LIBPOD_CONTAINER_CREATE_ALLOW_UNIFIED_CGROUP_SETTINGS and ..._ALLOW_ENV_HOST). This is a default-deny change for a client that sets either, such as podman run --cgroup-conf or --env-host. A non-empty pod (which joins the pod's infra namespaces) is now denied while restrict_namespace_sharing is on, the same switch that governs container:<ref> joins; it passes with that off, as before. r_limits stays ungated like the Docker-compat Ulimits, and when owner isolation is enabled pod and dependencyContainers are also owner-checked.

v2.4.5

Choose a tag to compare

@github-actions github-actions released this 03 Nov 18:30
c986b8f

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, +00 and +0:0 were not treated as root. dockerd and Podman parse a numeric user with strconv.Atoi, which accepts a sign, but the filter used ParseUint, which does not. A container create, libpod create or exec create with "User":"+0" therefore got past require_non_root_user and request_body.exec.allow_root_user: false and 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

Choose a tag to compare

@github-actions github-actions released this 03 Nov 01:22
bd02321

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/compat test module and a Client 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 real moby/moby/api and docker/docker v28 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 var SOCKGUARD_UPSTREAM_RESPONSE_HEADER_TIMEOUT; reload-immutable because it is bound into the upstream transport at startup.
  • Startup warning for create plus redaction. serve and validate now warn when the effective rules (default or any client profile) allow POST /containers/create or POST /libpod/containers/create while response.redact_container_env, response.redact_mount_paths or response.redact_network_topology is 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 when clients.default_profile is set, since they are never reached. The drydock, watchtower, portwing and portainer presets stay silent.

Fixed

  • Stop response.redact_network_topology from breaking typed Docker clients. IP and MAC address fields (IPAddress, Gateway, IPv6Gateway, GlobalIPv6Address, LinkLocalIPv6Address, MacAddress on container list, inspect and /system/df NetworkSettings and each Networks entry, plus service VirtualIPs[].Addr) now come back as "" instead of "<redacted>". Current moby API types decode them as netip.Addr, netip.Prefix and HardwareAddr, so clients like Traefik and Diun failed with errors like ParseAddr("<redacted>"). Plain string identifiers (EndpointID, NetworkID, SandboxID, SandboxKey, Bridge, NetworkMode) and node/swarm Addr strings still read <redacted>. The Traefik preset (app/configs/traefik.yaml and examples/compose/traefik/sockguard.yaml) now sets response.redact_network_topology: false, because Traefik routes to container IPs and cannot work with blanked addresses. The same fix covers byte fields: CertIssuerSubject and CertIssuerPublicKey in node, swarm and /info TLSInfo, and Spec.Data on 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}, /swarm and /info on swarm managers. They now come back as "", which is valid empty base64. TrustRoot stays a string and still reads <redacted>.
  • Stop cutting slow container stop/restart, prune and /system/df calls at the upstream timeouts. docker stop -t 90 got a 504 at 60s from request_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 of max(request_timeout, grace + 30s), with grace taken from t (or libpod timeout), 10s by default and clamped to 1h, so ?t=2147483647 can't hold a request open forever. GET /system/df skips only the header timeout and keeps request_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 message field to rate-limit, concurrency and priority-floor 429 bodies, and send Retry-After on the concurrency and priority 429s too. The bodies carried only reason, so docker-py raised KeyError: '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 sets response.redact_mount_paths, redact_container_env and redact_network_topology to false, 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 sets insecure_allow_read_exfiltration, and operators who don't use Recreate or Duplicate can turn the redactions back on.
  • Match visibility image_patterns on the image name for container inspect, /logs, /top and /stats. Inspect reports the image ID (sha256:...) in the top-level Image field while the list reports the name, so a container visible in the list returned 404 on every single-container read. Sockguard now matches Config.Image (Docker and Podman compat) or ImageName (libpod) and falls back to Image only when both are empty. A body with no usable reference stays hidden.
  • Let containrrr/watchtower v1.7.1 update a container through the watchtower.yaml preset. It stops with POST /containers/{id}/kill and force-disconnects the default network after create, and both were denied. The preset now allows kill and disconnect (with allow_disconnect_force), carries a commented GET /system/df rule for nicholas-fedor's disk thresholds, and its header names both forks.
  • Allow POST /networks/*/connect in portwing.yaml and portwing-with-exec.yaml (and the matching tri-tool and portwing compose examples), as drydock.yaml already 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: true line to the Watchtower, Drydock and Portwing presets and their compose examples. Cgroup v1 hosts such as Synology replay CgroupnsMode: "host" on recreate, which create denies by default. Enabling it widens create to the host cgroup namespace.
  • Document in homepage.yaml and the presets page that Homepage's Swarm mode needs response.redact_network_topology: false. The default is unchanged.

Security

  • Podman container inspect no longer returns Config.CreateCommand or Config.Secrets. GET /libpod/containers/{id}/json published the full podman run command line, repeating every -e value and -v host path the other redactions remove, and the secrets mounted into the container. Both are now cleared to []: CreateCommand under redact_container_env or redact_mount_paths, Secrets under redact_sensitive_data, all on by default. Docker bodies have neither key and pass through unchanged.
  • POST /libpod/containers/create now gates the libpod spellings of fields the Docker create refuses. volumes_from, cgroup_parent, groups and hostadd are denied unconditionally, as VolumesFrom, a custom CgroupParent, GroupAdd and ExtraHosts already were on /containers/create. oci_runtime is checked against the new request_body.libpod_container_create.allowed_runtimes, device_cgroup_rule against allow_device_cgroup_rules/allowed_device_cgroup_rules, gpus against allow_device_requests and unmask against deny_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-add or --add-host through an allowed libpod create will now be denied, matching Docker. oci_runtime, device_cgroup_rule and gpus are also denied until their option is set.
  • POST /libpod/containers/create no longer lets host_device_list and resource_limits.devices skip the device policy. When a container joins a pod with an infra container and devices is empty, Podman uses host_device_list as the device list, so {"pod":"p","devices":[],"host_device_list":[{"path":"/dev/sda"}]} bypassed the device allowlist. Every host_device_list path now goes through the same allowed_devices/allow_all_devices check as devices, and any devices_from value is denied. resource_limits.devices overwrites the container's device cgroup rules and could grant a *:* rwm; each allow: true entry now follows allow_device_cgroup_rules/allowed_device_cgroup_rules, and allow: false entries pass. GET /libpod/pods/{id}/json also clears CreateCommand to [] under redact_container_env or redact_mount_paths.

v3.0.0-rc.5

v3.0.0-rc.5 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 19:30
aa9ec0a

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 /v3 module. 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, so http.ResponseController.Flush reports a failed underlying flush instead of returning nil. The same v2.4.3 release also stops completed hijacked sessions from accumulating in the listener.