The Wire · Showcase
HITL APPROVAL GATES STOP SILENTLY FAILING OPEN, AIOHTTP FIXES REDIRECT LEAKS ACROSS LANGCHAIN STACK
By RepoJournal · Filed · About AI Agents
LangChain plugged a critical security hole in human-in-the-loop middleware where invalid configurations silently disabled approval gates, while simultaneously patching a cascade of aiohttp vulnerabilities that leak headers across origin boundaries.
The HumanInTheLoopMiddleware now raises ValueError immediately if allowed_decisions config is missing, empty, or misspelled [1], stopping approval gates from silently defaulting to open. This was a silent failure mode that could allow unauthorized tool execution in production agents. In parallel, LangChain bumped aiohttp from 3.14.1 to 3.14.3 across the core library [2], the XAI partners module [3], the HuggingFace integration [4], and the Fireworks integration [5], fixing a client bug where only the first Authorization, Cookie, and Proxy-Authorization headers were dropped on cross-origin redirects. That fix matters: agents making authenticated requests through proxies or redirect chains were leaking credentials. OpenHands shipped MCP credential preservation during Canvas mutations [6] and tightened CI enforcement requiring frontend screenshot/video evidence and human sign-off [7]. Cline added lazy session persistence and initiation mode to the SDK [9], while fixing connector instance claiming before socket connect [8]. LLama Index fixed FalkorDB's schema, vector ranking, and Cypher injection vulnerabilities in property graph retrieval [10], corrected Weaviate metadata for pre-existing collections [11], and opened Memory to any AsyncDBChatStore instead of just SQLAlchemy [12].
One email a day. Unsubscribe in one click.
Keep up with AI Agents in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Upgrade to the latest LangChain with aiohttp 3.14.3 before next deploy if using authenticated proxy or redirect chains langchain-ai/langchain [immediate]
- → Review HumanInTheLoopMiddleware configs for empty or misspelled allowed_decisions to catch misconfigurations now langchain-ai/langchain [plan]
- → Test FalkorDB property graph stores against real containers if using TextToCypherRetriever or VectorContextRetriever run-llama/llama_index [plan]
References
- [1] fix(langchain): stop HITL approval gates from silently failing open ↗ langchain-ai/langchain
- [2] chore: bump aiohttp from 3.14.1 to 3.14.3 in /libs/langchain ↗ langchain-ai/langchain
- [3] chore: bump aiohttp from 3.14.1 to 3.14.3 in /libs/partners/xai ↗ langchain-ai/langchain
- [4] chore: bump aiohttp from 3.14.1 to 3.14.3 in /libs/partners/huggingface ↗ langchain-ai/langchain
- [5] chore: bump aiohttp from 3.14.1 to 3.14.3 in /libs/partners/fireworks ↗ langchain-ai/langchain
- [6] fix: preserve MCP credentials during Canvas mutations ↗ OpenHands/OpenHands
- [7] ci: require frontend screenshot/video and checked human-tested box ↗ OpenHands/OpenHands
- [8] fix(cli): claim connector instance before socket connect ↗ cline/cline
- [9] feat(sdk): add session initiation mode and lazy session persistence ↗ cline/cline
- [10] fix(falkordb): correct schema, vector ranking, filters and batching in property graph store ↗ run-llama/llama_index
- [11] fix(weaviate): return real properties as node metadata for pre-existing collections ↗ run-llama/llama_index
- [12] feat(core): allow Memory to accept any AsyncDBChatStore ↗ run-llama/llama_index