Description
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.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-89 — CWE-89: Improper Neutralization of Special Elements used in an SQL Command
Affected products
| Vendor | Product | Versions |
|---|---|---|
| opendatalab | labelU | < 1.5.3 [affected] |
References
- https://github.com/opendatalab/labelU/security/advisories/GHSA-fr7r-f538-v56h (x_refsource_CONFIRM)
- https://github.com/opendatalab/labelU/commit/91f578dbe4ef2bf493b096e459e9e2747c52e902 (x_refsource_MISC)
- https://github.com/opendatalab/labelU/releases/tag/v1.5.3 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 04 Dec 2026 08:01 UTC.