Skip to content

An editorial team and a community building with AI

← All articles

News · OpenHands (software-agent-sdk) · 2 min read

Event date: · Published:

OpenHands patches bug that silently disabled coding agent's safety confirmation mode

A vulnerability in OpenHands' software-agent-sdk, patched on November 29, 2026, let a corrupted settings file silently disable confirmation_mode, the human-approval gate before risky agent actions.

OpenHands, the open source autonomous coding agent formerly known as OpenDevin, had a vulnerability in its software-agent-sdk disclosed on November 29, 2026, when the CVE-2026-138167 record was published on the National Vulnerability Database. The flaw let a corrupted or unreadable settings file silently turn off the agent's safety confirmation mode, the guardrail meant to require human approval before the agent runs risky tool actions.

What changed

  • CVE-2026-138167 was published on November 29, 2026 on the National Vulnerability Database, classified under CWE-285 (Improper Authorization) and CWE-863 (Incorrect Authorization).
  • The flaw affects OpenHands software-agent-sdk versions 1.64.0 through 1.64.1.
  • Its CVSS 3.1 base score is 5.3 (medium) and its CVSS 4.0 score is 1.9 (low).
  • The attack vector is local, with low complexity, low privileges required and no user interaction needed.
  • The root cause sits in FileSettingsStore.load() inside openhands/agent_server/persistence/store.py: a corrupted or unreadable settings.json makes the loader fail open to default settings with confirmation_mode set to false.
  • The fix was merged through pull request #6435 in the software-agent-sdk repository.

Why it matters for AI builders

Developers who rely on confirmation_mode to keep a human in the loop before OpenHands executes risky commands could have had that gate disabled without any visible warning, simply because a settings file was damaged. The episode is a reminder that approval guardrails in agentic coding tools need to fail closed, not open: when configuration cannot be trusted, the safe default is to block risky actions rather than quietly run them.

Tracking the fix

The problem was first reported in issue #6370 on the software-agent-sdk repository, which described how FileSettingsStore.load() failed open on a corrupted settings.json. Teams running affected versions should update and verify that confirmation_mode is enforced as expected.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

OpenHands patches bug that silently disabled coding agent's safety confirmation mode | vibecoding.inc