Skip to main content
Menu
Advisories

S3 prefix isolation may allow access to objects outside the configured scope

GHSA-7M35-G3XW-QC7GPublished Updated GitHub

Description

Impact

langchain-mongodb-deepagents-vfs version 0.1.0 contains an access-control flaw in its S3 storage backend. Deployments that use S3 prefixes to isolate tenants or storage scopes may be affected.

An authenticated user who can perform filesystem operations may be able to read or modify objects outside their assigned prefix. Exploitation requires multiple scopes to share an S3 bucket and to rely on the affected prefix enforcement for isolation.

This advisory concerns the open-source package. Whether any deployed application or customer data was affected has not been determined.

Patches

Upgrade langchain-mongodb-deepagents-vfs to 0.1.1. That release includes the S3 prefix isolation fix.

Workarounds

Until a patched release is available, ensure every configured s3_prefix ends with /.

Deployments that do not use S3 prefixes as an isolation boundary are not affected by this issue.

Affected versions

References

GitHub · langchain-ai/langchain-mongodb