Skip to content
Heist/ feed
Unrated

Duplicate Advisory: Knowns Sandbox Escape: Unauthenticated Header Injection Grants AI Agent Unrestricted Access to Host Filesystem

Type: withdrawalSource: OSV1 source record

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-9h2q-r9fh-f98w. This link is maintained to preserve external references. ### Original Description knowns versions before 0.31.0 fail to properly validate the x-opencode-directory request header in the /api/opencode proxy endpoint. Remote attackers can supply arbitrary directory paths to execute file operations outside the project root on the host system.

Announced Group revision 1
Original source ↗

GHSA-w47m-jpv2-qfw5

Primary source · Revision 1 · Withdrawn

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-w47m-jpv2-qfw5

knowns

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "knowns",
      "purl": "pkg:npm/knowns",
      "ecosystem": "npm"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-w47m-jpv2-qfw5/GHSA-w47m-jpv2-qfw5.json",
      "last_known_affected_version_range": "< 0.31.0"
    }
  }
]

Publisher severity

critical

Source reference: /database_specific/severity

Event
#17536 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement