CVE-2026-77398
Sample sorting could inject SQL into the annotation database
OpenDataLab · LabelU data annotation backend
First documented disclosure · Review checkpoint
Summary
An authenticated annotation user could extract database data through a crafted sample-sort expression.
Severity and exploitation evidence
Medium · 6.5/10 · CVSS 3.1. Severity source.
Exploitation not established: The reviewed originals describe the weakness or controlled analysis; malicious exploitation and victim compromise are not established.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
An unanchored Pydantic v2 regex accepts a valid substring, after which the full sort value is interpolated into an ORDER BY SQL clause.
Conditions required
The attacker has an authenticated account and can call the sample-list endpoint; default open registration can let a remote user obtain an account.
Potential impact
Blind boolean SQL injection may expose other database records, including password hashes.
Affected versions and configurations
LabelU before 1.5.3.
Fix and mitigation status
1.5.3.
Practical next steps
Upgrade to 1.5.3 or later and restrict registration and network access while evaluating exposure.
Operating lesson
Use allowlisted ORM columns for sort expressions; matching a substring is not validation of the whole input.
Evidence and limits
CVE publication: 2026-12-03. CVSS 3.1 6.5 is the GitHub_M CNA assessment. The July 13 GHSA and release predate December 3 CVE ingestion. Current CNA/GHSA structured CVSS is 3.1 6.5; older advisory prose claims High 8.2 with different impact assumptions. The displayed score follows the current structured authority assessment.
Sources
- GitHub_M CVE authority record
Primary source ·
- Original security advisory
Primary source ·
- Fixed release
Primary source ·