Skip to content

Commit 8f1971e

Browse files
EItanyaclaude
andauthored
fix: bump dependency minimums to address active CVEs (#1526)
## Summary - **PyJWT**: `>=2.8.0` → `>=2.12.0` — fixes CVE-2026-32597 (accepts unknown `crit` header extensions) - **pyOpenSSL**: `25.3.0` → `>=26.0.0` — fixes CVE-2026-27459 - **pyasn1**: `0.6.2` → `>=0.6.3` — fixes CVE-2026-30922 - **google.golang.org/grpc**: `v1.79.2` → `v1.79.3` — fixes CVE-2026-33186 (authorization bypass via missing leading slash in :path) - **kagent-tools** helm dep: `0.1.1` → `0.1.2` ## CVE Details | Package | CVE | Severity | Fixed In | |---------|-----|----------|----------| | google.golang.org/grpc | CVE-2026-33186 | CRITICAL | 1.79.3 | | PyJWT | CVE-2026-32597 | HIGH | 2.12.0 | | pyOpenSSL | CVE-2026-27459 | HIGH | 26.0.0 | | pyasn1 | CVE-2026-30922 | HIGH | 0.6.3 | ## Test plan - [ ] `uv sync` in Python workspace resolves without conflicts - [ ] `make -C python test` passes - [ ] `go mod tidy` succeeds with no diff - [ ] Trivy scan passes in CI 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3035192 commit 8f1971e

7 files changed

Lines changed: 43 additions & 74 deletions

File tree

go/go.mod

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ require (
5858
trpc.group/trpc-go/trpc-a2a-go v0.2.5
5959
)
6060

61+
require (
62+
github.com/testcontainers/testcontainers-go v0.41.0
63+
github.com/testcontainers/testcontainers-go/modules/postgres v0.41.0
64+
)
65+
6166
require (
6267
cel.dev/expr v0.25.1 // indirect
6368
cloud.google.com/go v0.123.0 // indirect
@@ -121,7 +126,6 @@ require (
121126
github.com/go-openapi/swag v0.23.0 // indirect
122127
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
123128
github.com/goccy/go-json v0.10.3 // indirect
124-
github.com/gogo/protobuf v1.3.2 // indirect
125129
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
126130
github.com/google/btree v1.1.3 // indirect
127131
github.com/google/cel-go v0.26.0 // indirect
@@ -193,8 +197,6 @@ require (
193197
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
194198
github.com/spf13/cast v1.10.0 // indirect
195199
github.com/subosito/gotenv v1.6.0 // indirect
196-
github.com/testcontainers/testcontainers-go v0.41.0 // indirect
197-
github.com/testcontainers/testcontainers-go/modules/postgres v0.41.0 // indirect
198200
github.com/tidwall/gjson v1.18.0 // indirect
199201
github.com/tidwall/match v1.2.0 // indirect
200202
github.com/tidwall/pretty v1.2.1 // indirect
@@ -239,7 +241,7 @@ require (
239241
google.golang.org/api v0.252.0 // indirect
240242
google.golang.org/genproto/googleapis/api v0.0.0-20260226221140-a57be14db171 // indirect
241243
google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171 // indirect
242-
google.golang.org/grpc v1.79.2 // indirect
244+
google.golang.org/grpc v1.79.3 // indirect
243245
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
244246
gopkg.in/inf.v0 v0.9.1 // indirect
245247
k8s.io/apiextensions-apiserver v0.35.0 // indirect

go/go.sum

Lines changed: 12 additions & 56 deletions
Large diffs are not rendered by default.

helm/kagent/Chart-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
repository: oci://ghcr.io/kagent-dev/kmcp/helm
1010
condition: kmcp.enabled
1111
- name: kagent-tools
12-
version: 0.1.1
12+
version: 0.1.2
1313
repository: oci://ghcr.io/kagent-dev/tools/helm
1414
condition: kagent-tools.enabled
1515
- name: grafana-mcp

python/packages/agentsts-adk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"typing-extensions>=4.8.0",
1818
"aiofiles>=24.1.0",
1919
"anyio>=4.9.0",
20-
"PyJWT>=2.8.0",
20+
"PyJWT>=2.12.0",
2121
]
2222

2323
[tool.uv.sources]

python/packages/agentsts-core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"pydantic>=2.5.0",
1313
"typing-extensions>=4.8.0",
1414
"cryptography>=41.0.0", # For JWT handling
15-
"PyJWT>=2.8.0", # For JWT token parsing
15+
"PyJWT>=2.12.0", # For JWT token parsing
1616
]
1717

1818
[project.optional-dependencies]

python/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ dev = [
1313
constraint-dependencies = [
1414
"cryptography>=46.0.5",
1515
"jaraco-context>=6.1.0",
16+
"pyasn1>=0.6.3",
17+
"pyopenssl>=26.0.0",
1618
"wheel>=0.46.2",
1719
]
1820

python/uv.lock

Lines changed: 20 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)