Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 66%

CVE-2026-48528: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in NCEAS metacat

0
Critical
VulnerabilityCVE-2026-48528cvecve-2026-48528cwe-89cwe-287
Published: 08/14/2026 (08/14/2026, 17:56:35 UTC)
Source: CVE Database V5
Vendor/Project: NCEAS
Product: metacat

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 v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
nceas/metacat
pkg:github/nceas/metacat
Affected versions
<3.4.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/22/2026, 13:20:51 UTC

Technical Analysis

Metacat versions 2.0.0 through 3.4.0 have an unauthenticated SQL injection vulnerability in the /cn/v1/object and /cn/v2/object REST API endpoints. The nodeId parameter is not sanitized or parameterized before being appended to SQL queries, allowing attackers to inject arbitrary SQL commands. Exploitation can lead to extraction of protected data and execution of insert, update, or delete statements on the PostgreSQL backend. Error messages returned by Metacat reveal SQL error details, facilitating data exfiltration. The vulnerability is critical for deployments in the DataONE network, exposing sensitive catalog, access, and identity information. The issue is fully fixed in Metacat 3.4.1. Temporary mitigation involves disabling the vulnerable /cn endpoints by removing the associated servlets and servlet mappings in the web application configuration.

Potential Impact

The vulnerability allows unauthenticated attackers to execute arbitrary SQL commands on the Metacat PostgreSQL database. This results in full compromise of all data stored in the database, including sensitive management, access log, identity, and access control information. Attackers can exfiltrate, add, modify, or delete data, severely impacting confidentiality, integrity, and availability of the system. The critical CVSS score of 9.8 reflects the high severity and ease of exploitation without authentication.

Mitigation Recommendations

A full fix is available in Metacat version 3.4.1. Deployments should upgrade to this version to remediate the vulnerability. If immediate upgrade is not possible, the vendor recommends disabling the vulnerable /cn REST API endpoints by removing the servlet and servlet-mapping entries for edu.ucsb.nceas.metacat.restservice.v1.CNRestServlet and edu.ucsb.nceas.metacat.restservice.v2.CNRestServlet from the web application configuration (e.g., web.xml in Tomcat). This temporary mitigation does not reduce functionality for most deployments as these endpoints are primarily used by DataONE Coordinating Node deployments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-21T16:18:10.619Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7f5a78bf8831d53982104f

Added to database: 08/14/2026, 18:12:08 UTC

Last enriched: 08/22/2026, 13:20:51 UTC

Last updated: 09/06/2026, 22:52:11 UTC

Views: 56

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses