HackerFeeds
All CVEs

CVE-2026-77398: LabelU SQL Injection

MEDIUM6.5

Published 2026-12-04 · Updated 2026-12-04 · Source security-advisories@github.com

Not known to be exploited · medium severity — update LabelU to 1.5.3 or later on your normal schedule.

What to do

  1. Update LabelU to version 1.5.3 or later. Versions before 1.5.3 are affected.
  2. Until it is patched, restrict network access to LabelU and review which accounts can log in to it.
  3. Put WAF rules in front of the affected parameters, and make sure the application's database account holds only the privileges it needs.

Affected and fixed versions

ProductAffectedFixed in
LabelU< 1.5.31.5.3

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality is rated high.

CVSS 3.1 metrics for CVE-2026-77398
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredLowThe attacker needs an ordinary low-privileged account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityNoneNo effect on availability.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weakness: SQL Injection

Attacker-controlled input changes the structure of a database query, which can expose, modify or delete data and sometimes leads to code execution on the database host.

Classified as CWE-89.

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.

Advisory text as published in the NVD record.

View on NVD