CVE
GHSA-9q39-f8w9-75wm
Label Studio's Data Manager parses inline task-list queries (the query GET parameter, a POST body filter list or legacy saved views) with the pydantic PrepareParams model, whose Filter.filter and ordering fields accept any string as a column name. The apply_filters() and apply_ordering() functions pass that name straight into Q(**{column: value}) and F(column), so an authenticated project member can use Django double-underscore relation traversal (for example project__created_by__auth_token__key) with a regex operator or an ordering column to turn the result set into a boolean oracle. This allows character-by-character extraction of other users' API tokens, password hashes and storage credentials. The double-underscore check added for CVE-2023-47117 runs only when a saved View is serialized, not on this path, because PrepareParams has no column validation.
Package Versions Affected
Package Version
patch Availability
No items found.
Automatically patch vulnerabilities without upgrading
Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request
CVSS Version
Severity
Base Score
CVSS Version
Score Vector

C
H
U
-

C
H
U
-

C
H
U
9.6
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Related Resources
No items found.
References
https://github.com/advisories/GHSA-9q39-f8w9-75wm, https://github.com/HumanSignal/label-studio/security/advisories/GHSA-9q39-f8w9-75wm, https://github.com/HumanSignal/label-studio/commit/29d2c17ac0ffcefb19d14d8c3896a8009b9c5aca, https://github.com/HumanSignal/label-studio/commit/7e2f696403da6802b82171abd299fd39c5ef2b37