9.8critical
Metacat has an unauthenticated SQL injection vulnerability
- Severity
- 9.8critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Metacat is data repository software that helps researchers preserve, share, and discover data. Versions 2.0.0 and and above contain an unauthenticated SQL injection in the /harvesterRegistration endpoint. HarvesterRegistration.dbInsert() builds an INSERT against HARVEST_SITE_SCHEDULE via string concatenation, using a quoteString() helper that performs raw single-quote wrapping without escaping. Three request parameters reach the sink: unit, contactEmail, and documentListURL. The servlet does not verify a real LDAP identity. Allowing the vulnerable insert to proceed. Since the PostgreSQL backend permits stacked queries via Statement.executeUpdate(), this vulnerability allows full read/write/execute access in the Metacat database context. The vulnerability was remediated in Metacat 3.0.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NCEAS metacat | >= 2.0.0, < 3.0.0 | CVE List |
Classification
What each source says
CVE List
Metacat is data repository software that helps researchers preserve, share, and discover data. Versions 2.0.0 and and above contain an unauthenticated SQL injection in the /harvesterRegistration endpoint. HarvesterRegistration.dbInsert() builds an INSERT against HARVEST_SITE_SCHEDULE via string concatenation, using a quoteString() helper that performs raw single-quote wrapping without escaping. Three request parameters reach the sink: unit, contactEmail, and documentListURL. The servlet does not verify a real LDAP identity. Allowing the vulnerable insert to proceed. Since the PostgreSQL backend permits stacked queries via Statement.executeUpdate(), this vulnerability allows full read/write/execute access in the Metacat database context. The vulnerability was remediated in Metacat 3.0.0.
NVD (es)
Metacat es un software de repositorio de datos que ayuda a los investigadores a preservar, compartir y descubrir datos. Las versiones 2.0.0 y superiores contienen una inyección SQL no autenticada en el endpoint /harvesterRegistration. HarvesterRegistration.dbInsert() construye una sentencia INSERT contra HARVEST_SITE_SCHEDULE mediante concatenación de cadenas, utilizando una función auxiliar quoteString() que realiza un encapsulamiento de comillas simples sin escape. Tres parámetros de solicitud llegan al sumidero: unit, contactEmail y documentListURL. El servlet no verifica una identidad LDAP real. Permitiendo que la inserción vulnerable proceda. Dado que el backend de PostgreSQL permite consultas apiladas a través de Statement.executeUpdate(), esta vulnerabilidad permite acceso completo de lectura/escritura/ejecución en el contexto de la base de datos de Metacat. La vulnerabilidad fue remediada en Metacat 3.0.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-48114 changed 2026-06-15 | CVE Terms of Use |
| NVD | CVE-2026-48114 changed 2026-10-25 | Public domain |