CVE-2026-48528
Received Received - Intake

Unauthenticated SQL Injection in Metacat

Vulnerability report for CVE-2026-48528, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-14

Last updated on: 2026-08-14

Assigner: GitHub, Inc.

Description

Metacat is data repository software that helps researchers preserve, share, and discover data. Metacat versions 2.0.0 through 3.4.0 contain an unauthenticated SQL injection vulnerability in the `/cn/v1/object` and `/cn/v2/object` REST API endpoints due to unsanitized user input that can be passed through to the backend SQL database. The `nodeId` parameter can be modified to inject SQL commands, and the results are returned in error messages. Metacat appends the user-supplied data into the sql query without sanitization or parameterization. This allows extraction of arbitrary data from the underlying PostgresQL database, fully exposing protected information to the attacker. This is accomplished by leveraging the error reporting mechanisms in Metacat, where SQL error responses are mirrored back to the caller in the XML error message returned by Metacat. One approach, for example, is to use the PostgreSQL `CAST` function to generate an error with the results of an arbitrary subquery, which is then injected into the XML error message returned by Metacat. Attackers do not need to be authenticated to execute the attack. In addition, arbitrary SQL statements that insert, update, and delete data in the Metacat database can be executed, resulting in full compromise of all data in the database. Full proof of concept attacks have been developed and verified for these vulnerabilities. The impact of this vulnerability is critical for Metacat deployments in the DataONE network where information from the database can be exfiltrated, added, changed, or deleted. This includes management information about the data catalog, access log information about who accessed data, identifying information about individuals including their ORCID identifier and client IP address, access control information about who should be able to access and modify data, and other critical internals of the data system. This sql injection vulnerability was remediated fully in Metacat version 3.4.1. If upgrading to Metacat 3.4.1 isn't immediately possible, most deployments can mitigate the issue by disabling the `/cn` REST endpoints in the webapp deployment. This API is not needed or used by member repositories in the DataONE network, as it is only used by the DataONE Coordinating Node deployments. Consequently, this API can be disabled without reduction of functionality for most deployments. To disable the vulnerable endpoints, simply remove the servlet and servlet-mapping for the `/cn` endpoints in the servlet engine associated with the two servlets, `edu.ucsb.nceas.metacat.restservice.v1.CNRestServlet` and `edu.ucsb.nceas.metacat.restservice.v2.CNRestServlet`. For example, in Tomcat, remove the relevant `servlet-mapping` elements from the application web.xml file in Metacat.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-14
Last Modified
2026-08-14
Generated
2026-08-14
AI Q&A
2026-08-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
nceas metacat From 2.0.0 (inc) to 3.4.0 (inc)
nceas metacat 3.4.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-48528 is a critical unauthenticated SQL injection vulnerability in Metacat versions 2.0.0 through 3.4.0. It affects the /cn/v1/object and /cn/v2/object REST API endpoints due to unsanitized user input in the nodeId parameter. Attackers can inject arbitrary SQL commands into the backend PostgreSQL database without authentication. SQL error messages are reflected in XML responses, allowing data exfiltration. The flaw enables full database compromise, including data insertion, modification, and deletion.

Detection Guidance

To detect this vulnerability, check if Metacat versions 2.0.0 through 3.4.0 are running and if the vulnerable endpoints /cn/v1/object and /cn/v2/object are accessible. Test by sending crafted requests with SQL injection payloads in the nodeId parameter and observe if error messages reflect database content.

Impact Analysis

This vulnerability allows attackers to extract sensitive data such as user information, access logs, ORCID identifiers, and access control details without authentication. It also enables full database compromise, including unauthorized data insertion, modification, and deletion. The impact is critical for Metacat deployments in the DataONE network, exposing protected information and system internals.

Compliance Impact

This vulnerability likely violates compliance requirements under GDPR and HIPAA due to unauthorized access and exposure of sensitive personal data. GDPR mandates protection of personal data, while HIPAA requires safeguarding protected health information. The full database compromise enabled by this flaw could result in unauthorized data access, modification, or deletion, leading to regulatory penalties and legal consequences.

Mitigation Strategies

Upgrade Metacat to version 3.4.1 or later. If upgrading is not possible, disable the vulnerable /cn endpoints by removing their servlet mappings in the web.xml file and restart the web application container.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-48528. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart