HighGHSA-4mqq-99j3-3hmv28 Sep · 25 days ago
Source ↗

AI SDK Harness session resume can expose host credentials to sandboxed code.

Does it affect you?

Not read yet

Conditions are read within the hour after an advisory comes in.

Summary A vulnerability in AI SDK Harness credential brokering can expose host credentials to sandboxed code when an existing session is resumed with a newly introduced credential environment variable. Credential brokering normally supplies non-secret placeholders to the sandbox and substitutes real credentials outside the sandbox boundary for approved outbound requests. Affected adapters reuse the credential-placeholder map saved with the previous session without ensuring that it covers the current authentication environment. As a result, newly introduced credentials can be passed into the sa

Timeline

28 Sep
25 daysfrom publication to Patchwire
  1. Published by GitHub advisory28 Sep
  2. Seen by Patchwire23 Oct
  3. Fix released28 Sep
@ai-sdk/harness-opencode1.0.135
@ai-sdk/harness-claude-code1.0.137
@ai-sdk/harness-codex1.0.135
@ai-sdk/harness-deepagents1.0.133
@ai-sdk/harness1.0.133
@ai-sdk/harness-acp1.0.71

Versions of @ai-sdk/harness-opencode

1.x
safe 1.0.135
AffectedSafe

Versions of @ai-sdk/harness-claude-code

1.x
safe 1.0.137
AffectedSafe

Versions of @ai-sdk/harness-codex

1.x
safe 1.0.135
AffectedSafe

Versions of @ai-sdk/harness-deepagents

1.x
safe 1.0.133
AffectedSafe

Versions of @ai-sdk/harness

1.x
safe 1.0.133
AffectedSafe

Versions of @ai-sdk/harness-acp

1.x
safe 1.0.71
AffectedSafe