CVE-2026-77398 — Technical Security Advisory & CVSS Profile
LabelU is a data annotation platform designed for handling multimodal data. Prior to version 1.5.3, the sort value was interpolated verbatim into an ORDER BY clause via a raw SQLAlchemy text() f-string in crud_sample.list_by. A route-level regex guard was intended to restrict the value to a fixed set of column:direction pairs, but Pydantic v2 applies the pattern with an unanchored re.search, so any value merely containing a valid pair (e.g. updated_at:asc,) passed validation and reached the raw SQL. Because labelU allows open self-registration, any remote attacker can obtain the authenticated role required to reach this endpoint. The flaw permits blind boolean-based extraction of arbitrary data (e.g. other users' bcrypt password hashes). This issue has been patched in version 1.5.3.
Technical Metadata
| Identifier | CVE-2026-77398 |
|---|---|
| Base Severity / Score | MEDIUM (6.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Weakness Classification | CWE-89 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/opendatalab/labelU/commit/91f578dbe4ef2bf493b096e459e9e2747c52e902
- https://github.com/opendatalab/labelU/releases/tag/v1.5.3
- https://github.com/opendatalab/labelU/security/advisories/GHSA-fr7r-f538-v56h