Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Bug Report
Version: OpenClaw 2026.6.1 (2e08f0f) — regression from 2026.5.22 (a374c3a)
Environment
- OS: WSL2 (Linux 6.6.87.2-microsoft-standard-WSL2, x64)
- Node.js: v22.22.0
- Platform: Microsoft Teams channel (msteams)
Description
message tool with action=member-info fails with "fetch failed" error in 2026.6.1. This prevents the bot from resolving user emails/profiles via Microsoft Graph API.
The same call works correctly in 2026.5.22 after downgrade.
Steps to Reproduce
- Configure msteams channel with Graph API access
- Call
messagetool:action=member-info,channel=msteams,userId=<aadObjectId> - Observe error:
"fetch failed"
Root Cause Analysis
- IPv6 is non-functional in this WSL2 environment (
curl -6returns HTTP 000 for graph.microsoft.com) - IPv4 works fine (
curl -4returns HTTP 200) - The
fetchWithSsrFGuard→createPinnedDispatcher→dedupeAndPreferIpv4path pins DNS addresses - Despite preferring IPv4, the undici dispatcher connection fails with
"fetch failed"(raw TCP error) - Node.js native
fetch()andcurlboth succeed to graph.microsoft.com — only the SSRF-guarded fetch path fails - The Bot Framework connector (different HTTP path, not through SSRF guard) works fine — Teams messages are received/sent normally
- MSAL token acquisition also works (Graph tokens are obtained successfully)
- The failure is specifically in the
fetchGraphJsoncall after token acquisition
Workaround
Downgrade to 2026.5.22:
npm install -g openclaw@2026.5.22Additional Context
undiciversion in both 2026.5.22 and 2026.6.1: 8.3.0- The SSRF guard / pinned dispatcher code exists in both versions, but something in 2026.6.1 causes the connection to fail
- Changelog for 2026.6.1 mentions: "Channels: cap ... Microsoft Teams ... request/retry timers" and "Provider and plugin requests now bound more timers, retries, OAuth/device-code lifetimes, media downloads, local service probes, and generated-content polling paths" — these changes may be related
Reacted by clawsweeper
Reacted by Fernando Díaz Luque
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Jun 8, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 21, 2026, 3:43 PM ET / 19:43 UTC.
Summary
Keep open: current main and v2026.6.9 still route Teams
member-infothrough the guarded Microsoft Graph fetch path, and the WSL2/Undici mitigation is not live-proven for this Graph regression. Any repair crosses the SSRF/DNS-pinning boundary, so this remains maintainer/security live-repro work.Reproducibility: no. for the exact live failure: this read-only review did not run a WSL2 gateway with real Teams Graph credentials. Source inspection does confirm the reported
member-infoaction still flows through Graph token resolution andfetchWithSsrFGuard.Ways to help us reproduce this
Next step
The remaining blocker is maintainer-owned live WSL2 Teams Graph reproduction plus security judgment around the guarded-fetch boundary, not a safe autonomous repair lane.
Security
Needs attention: The issue is security-sensitive because the observable failure and likely repair path touch SSRF guarded fetch, DNS pinning, and Undici dispatcher policy.
Review details
Best possible solution:
Reproduce the current Teams
member-infoGraph call on WSL2 with redacted transport logs, then make the narrowest guarded-fetch or Teams Graph repair that preserves SSRF DNS pinning and Microsoft Graph auth behavior.Do we have a high-confidence way to reproduce the issue?
No for the exact live failure: this read-only review did not run a WSL2 gateway with real Teams Graph credentials. Source inspection does confirm the reported
member-infoaction still flows through Graph token resolution andfetchWithSsrFGuard.Is this the best way to solve the issue?
Unclear: current main has IPv4 preference and WSL2 Undici family-policy mitigation, but that is not live proof for this Graph call. The best fix must preserve the guarded-fetch security boundary rather than bypass it.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
member-infocall with real Teams credentials was run against current main or v2026.6.9, so the exact reported runtime failure is not high-confidence reproduced.fetchWithSsrFGuard, DNS pinning, hostname/IP validation, or the dispatcher policy could weaken OpenClaw's SSRF boundary.Codex review notes: model internal, reasoning high; reviewed against 6daf9307e0b9.
Label changes
Label justifications:
P1: The report describes a release regression that blocks a real Microsoft Teams Graph member/profile lookup workflow on WSL2.impact:security: The failing path is inside the SSRF guarded fetch and DNS-pinning boundary.impact:auth-provider: The failure occurs after Teams Graph token acquisition and prevents Graph-backed member identity resolution.Evidence reviewed
Security concerns:
extensions/msteams/src/graph.ts:98The failing Teams Graph request currently runs through
fetchWithSsrFGuard; a fix must not bypass DNS pinning or hostname/IP validation without an approved replacement boundary and live proof.Confidence: 0.86
Acceptance criteria:
messagetool call withaction=member-infoagainst Microsoft Graph using redacted credentials/logs.node scripts/run-vitest.mjs extensions/msteams/src/graph-members.test.ts extensions/msteams/src/channel.actions.test.ts src/infra/net/ssrf.dispatcher.test.ts src/infra/net/fetch-guard.ssrf.test.ts.What I checked:
member-info, then dispatches togetMemberInfoMSTeams({ cfg, userId }). (extensions/msteams/src/channel.ts:410, 6daf9307e0b9)getMemberInfoMSTeamsresolves a Graph token and fetches/users/{id}throughfetchGraphJson, matching the reporter's post-token failure path. (extensions/msteams/src/graph-members.ts:36, 6daf9307e0b9)requestGraphwraps Microsoft Graph requests withfetchWithSsrFGuardand audit contextmsteams.graph; there is no Teams-specific WSL2 bypass or recovery path here. (extensions/msteams/src/graph.ts:98, 6daf9307e0b9)src/infra/net/fetch-guard.ts:557, 6daf9307e0b9)src/infra/net/ssrf.ts:523, 6daf9307e0b9)Likely related people:
member-infoaction andgraph-members.ts. (role: feature introducer; confidence: high; commits: 4e67e7c02cd8; files:extensions/msteams/src/channel.ts,extensions/msteams/src/graph-members.ts)src/infra/net/fetch-guard.ts,src/infra/net/ssrf.ts,src/infra/net/undici-runtime.ts)src/infra/net/fetch-guard.ts,src/infra/net/ssrf.ts,src/infra/net/ssrf.dispatcher.test.ts)src/infra/net/undici-global-dispatcher.ts,src/infra/net/undici-family-policy.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.openclaw-barnacle commentedon Jul 6, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
openclaw-barnacle commentedon Jul 14, 2026
Closing due to inactivity.
If this is still an issue, please retry on the latest OpenClaw release and share updated details.
If you are absolutely sure it still happens on the latest release, open a new issue with fresh steps to reproduce.