cve.bz

CVE-2026-77398 LabelU: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

6.5 medium

Medium (6.5) in opendatalab labelu.

On this page
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 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-77398 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-77398?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-77398?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-77398 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
opendatalab labelU< 1.5.3

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON