{"api_version":"1","generated_at":"2026-12-04T01:21:13+00:00","cve":"CVE-2026-77398","urls":{"html":"https://cve.report/CVE-2026-77398","api":"https://cve.report/api/cve/CVE-2026-77398.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-77398","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77398"},"summary":{"title":"LabelU: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-12-04 00:19:19","updated_at":"2026-12-04 00:19:19"},"problem_types":["CWE-89","CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/opendatalab/labelU/security/advisories/GHSA-fr7r-f538-v56h","name":"https://github.com/opendatalab/labelU/security/advisories/GHSA-fr7r-f538-v56h","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/opendatalab/labelU/releases/tag/v1.5.3","name":"https://github.com/opendatalab/labelU/releases/tag/v1.5.3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/opendatalab/labelU/commit/91f578dbe4ef2bf493b096e459e9e2747c52e902","name":"https://github.com/opendatalab/labelU/commit/91f578dbe4ef2bf493b096e459e9e2747c52e902","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-77398","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77398","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"opendatalab","product":"labelU","version":"affected < 1.5.3","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"labelU","vendor":"opendatalab","versions":[{"status":"affected","version":"< 1.5.3"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-03T22:45:23.840Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/opendatalab/labelU/security/advisories/GHSA-fr7r-f538-v56h","tags":["x_refsource_CONFIRM"],"url":"https://github.com/opendatalab/labelU/security/advisories/GHSA-fr7r-f538-v56h"},{"name":"https://github.com/opendatalab/labelU/commit/91f578dbe4ef2bf493b096e459e9e2747c52e902","tags":["x_refsource_MISC"],"url":"https://github.com/opendatalab/labelU/commit/91f578dbe4ef2bf493b096e459e9e2747c52e902"},{"name":"https://github.com/opendatalab/labelU/releases/tag/v1.5.3","tags":["x_refsource_MISC"],"url":"https://github.com/opendatalab/labelU/releases/tag/v1.5.3"}],"source":{"advisory":"GHSA-fr7r-f538-v56h","discovery":"UNKNOWN"},"title":"LabelU: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-77398","datePublished":"2026-12-03T22:45:23.840Z","dateReserved":"2026-08-20T19:55:27.023Z","dateUpdated":"2026-12-03T22:45:23.840Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-04 00:19:19","lastModifiedDate":"2026-12-04 00:19:19","problem_types":["CWE-89","CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"77398","Ordinal":"1","Title":"LabelU: Improper Neutralization of Special Elements used in an S","CVE":"CVE-2026-77398","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"77398","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"LabelU: Improper Neutralization of Special Elements used in an S"}]}}}