All vulnerabilities

Servers and applications

GHSA-3883-fr8h-xrqg

ArangoDB AQL Injection in S3 Listing and Recursive Deletion

Severity
Critical 9.9
Published
12 Sept 2026
Last changed
12 Sept 2026
Added to UpHeron
22 Oct 2026
Weakness
NoSQL injection (CWE-943)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

The ArangoDB filer backend builds AQL queries by concatenating S3-controlled values such as prefix, marker, and filer paths directly into the query text. An authenticated S3 user with permission to list one bucket can inject an AQL subquery that modifies metadata in another bucket's ArangoDB collection, bypassing S3 bucket authorization. The same vulnerability also allows bucket-wide metadata deletion and query-delay denial of service.

In weed/filer/arangodb/arangodb_store.go, ListDirectoryPrefixedEntries inserts startFileName and prefix directly into AQL:

The resulting query is executed with only dirPath supplied as a bind variable:

The prefix value is inside the second argument of starts_with, but it is not escaped. A value such as:

produces an AQL expression equivalent to:

ArangoDB executes the injected subquery before the S3 listing completes. The subquery is not subject to S3 authorization because it runs with the filer’s configured ArangoDB credentials.

From seaweedfs/seaweedfs's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
SeaweedFSServers and applications · github:seaweedfs/seaweedfs
  • From 3.00 up to 4.42

About SeaweedFS

Fast distributed storage system for blobs, objects, files, and data lake, for billions of files. Blob store has O(1) disk seek, cloud tiering

From Wikidata, CC0 1.0.
Docker Hub pulls
42,221,853Docker Hub, 15 Nov 2026
GitHub stars
36,070GitHub, 15 Nov 2026
Forks
3,114GitHub, 15 Nov 2026
Latest release
4.53GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
Apache Software License 2.0Wikidata
Written in
GoWikidata
First released
21 Apr 2015Wikidata
First published on GitHub
14 Jul 2014GitHub

References