Teams SDK import leaks dotenv into gateway processes
Cluster 62935 · gateway. Data as of
Nothing open on GitHub. Fix merged in #76438 on 1 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #76438. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where importing the Microsoft Teams SDK at import time loads .env files as a side effect, polluting environment variables across gateway processes and breaking secret isolation. Two fix attempts address suppressing this behavior without clearing existing environment state.
Open issues0
Open PRs0
Fixes on record
-
#76438 fix(teams): suppress SDK import-time dotenv leak (salvage #62947)
files:
plugins/platforms/teams/adapter.py,tests/gateway/test_teams.py,tests/gateway/test_teams_dotenv_isolation.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#62947 fix(teams): suppress SDK import-time dotenv without clearing environ · merged via another change →
eec6d3e,a98c8ee,#76438
Closed issues · 1
- Closed#62935[Bug]: microsoft-teams-apps import side effect loads foreign .env into every gateway process — breaks profile secret isolation
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- gateway
- Merged PRs
- #76438
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 1 Aug 2026