What happened
CVE-2026-138167 is an incorrect-authorization flaw (CWE-285/CWE-863) in FileSettingsStore.load in openhands/agent_server/persistence/store.py of OpenHands software-agent-sdk, affecting up to 1.64.1. Attack requires local access; the exploit is public.
Why it matters
OpenHands is a widely-used autonomous software-engineering agent. Its agent_server file-settings store authorizes a local unprivileged user incorrectly, so a local actor could read or alter persisted agent settings used by the server, potentially steering the agent's behavior or leaking stored configuration.
Attack vector
Local access misauthorized by FileSettingsStore.load lets a local attacker read/modify persisted agent settings.
Affected systems
OpenHands software-agent-sdk <= 1.64.1 (agent_server)
Mitigation
Upgrade the software-agent-sdk to a patched build; apply the fix in issue #6370 / PR #6435.